Linux Learning Note 10_ Basic command Review 6 (Mv,history,lang)

Source: Internet
Author: User

------------------------------------------------------------------------
2017.08.11

MV//Move commands, or rename folders
When moving a folder, if the destination path exists, move to the inside of the destination path
If the destination path does not exist, move the folder to the set address and rename

Example: There is a B C three folder under the current path
MV a b//move A to B
MV A A//rename A to a, the folder under the current path is: a b C


------------------------------------------------------------------------
2017.08.14

1. Historical records

History//View historical command execution record (executed)
HISTORY-C//Clear All history
history-d [NUM]//Clears the nth line of history


2. Modify the system language

echo $LANG//view current system language

Lang=zh_cn. UTF-8//Modify the system language to Chinese (Simplified), temporarily in effect (in memory)
Lang=en_us. UTF-8//Modify the system language to English (United States), temporarily in effect (in memory)

Vim/etc/locale.conf//centos7 Modify the system language configuration file for permanent entry
vim/etc/sysconfig/i18n//CENTOS6


This article is from the "Venetian It Notes" blog, so be sure to keep this source http://tripe.blog.51cto.com/2248780/1956090

Linux Learning Note 10_ Basic command Review 6 (Mv,history,lang)

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.