Several useful Linuxcommand-general Linux technology-Linux programming and kernel information. The following is a detailed description. Remove unnecessary carriage returns
Sed's/^ M // 'test. sh> back. sh. Note that ^ M is obtained by pressing ctrl_v ctrl-m.
Change the redhat System Language/Character Set
Modify the/etc/sysconfig/i18n file, as shown in figure
LANG = "en_US", xwindow will display the English interface,
LANG = "zh_CN.GB18030", xwindow displays the Chinese interface.
Another method
Cp/etc/sysconfig/i18n $ HOME/. i18n
Vi $ HOME/. i18n file, such
LANG = "en_US", xwindow will display the English interface,
LANG = "zh_CN.GB18030", xwindow displays the Chinese interface.
In this way, the user interface language can be changed without affecting other users.
Search for files with a permission bit of S
Find.-type f \ (-perm-04000-o-perm-02000 \)-exec ls-lg {}\;
Reclaim the pop-up Disc
Eject? T
Find or delete a process that is using a file
Fuser filename
Fuser-k filename
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.