LINUX, git, wget Common command Summary

Source: Internet
Author: User

---------------------------------------------------------------------------------------------

Introduction to GIT Application HTTPS://BACKLOG.COM/GIT-TUTORIAL/CN

Submission Process
git status
Git pull
git add files
git commit-m "description"
git push

Download
git clone address

-------------------------------------------------------------------------------------------
Pycharm operation
Ctral+r Replace Shift+f6 Rename


-------------------------------------------------------------------------------------------
Linux operations
Du-sh directory or file (view directory or file size)
VI Edit: Q Exit VI Edit
Date-d 20180101 +%j

# View the number of files in the current directory (not including files in subdirectories)

Ls-l|grep "^-" | Wc-l

# View the number of files in the current directory (including files in subdirectories) Note: R, which represents subdirectories

Ls-lr|grep "^-" | Wc-l

# View the number of folder directories in the current directory (without directories in subdirectories), with the above manager, if you need to view subdirectories, plus R

Ls-l|grep "^d" | Wc-l

# Query the number of all files under the directory with the specified prefix name under the current path
# For example: Count all the files in the directory starting with "20161124"

LS-LR 20161124*/|grep "^-" | Wc-l


-------------------------------------------------------------------------------------------

Wget-c https://data2.gosat.nies.go.jp/wgetdata/GU/FTSL1B/2018/05/FTSL1B_20180530_210210.tar.gz--cut-dirs=3-- http-user= User name--http-password= password

LINUX, git, wget Common command Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.