Linux study notes [1] -- simple commands

Source: Internet
Author: User
Linux study notes [1] & mdash; simple command 1. add the environment variable you want to modify in the/etc/profile file to take effect permanently. 2. what is the shell obtained by the user by default? $ Cat/etc/passwd3, bash command memory function, you can press the up or down key to switch to use... linux study notes [1] -- simple command 1. add the environment variable you want to modify in the/etc/profile file to take effect permanently. 2. what is the shell obtained by the user by default? $ Cat/etc/passwd 3. bash command memory function. you can press the up/down key to switch to the used command/where is the usage history of this command ?~ /. Bash_history 4. set the alias of the command: $ alias lm = 'ls-AL'. lm is the command we set. it will be executed like the command on the right. 5. Shell Script. You can execute some input commands several times in a row. Just like a batch file in windows.

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.