Common Linux commands and. BASHRC

Source: Internet
Author: User

SSH [email protected]

Bashrc

Modify the global/ETC/BASHRC first, and then consider the modifications. BASHRC

Alias Ll= ' Ls-alf '

Alias rm= ' Rm-i '

Alias cp= ' Cp-i '

Alias mv= ' Mv-i '

Alias list= ' svn st-q '

Alias svnmeld= "SVN diff--diff-cmd=meld"

(Some versions have some options not) export grep_options= "--exclude=*.svn-base--exclude=*.log--exclude=cscope.*--exclude=tags--exclude=* ~--exclude=*.tmp--EXCLUDE-DIR=*.SVN "

source. BASHRC

One: LS

-a--all:do not ignore entries starting with.

-A,--almost-all:do not list implied. and..

-l:use a long listing format.

-F,--classify:append indicator (one of */=>@|) to entries. When a subdirectory is listed, add/after the executable file, add *.

II: RM

-i:prompt before every removal. Prompt for confirmation before each deletion.

Three: CP

-I,--interactive:prompt before overwrite. Prompt for confirmation before copy overwrite.

Four: MV

-I.,--interactive:prompt before overwrite. Prompt for confirmation before moving the overlay.

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.