This is the rookie must be 96 kinds of Linux operating skills of the next chapter, if you do not understand the content of the next article, you can click on the "rookie must have 96 Linux operating skills (on)" link to view!
51. display file Type
Using command file lets you know whether a file is an elf-formatted executable, a shell script file, or whatever format. File filehttp://www.aliyun.com/zixun/aggregation/11696.html ">name
52. Extract. tar.gz files
The xxxx.tar.gz file uses tar with ZXVF parameters and can be unpacked at once. Tar zxvf xxxx.tar.gz
53. Run the program in the background
You can add the "&" symbol behind the program to allow the program to run in the background. For example: you want to update the file path database with UpdateDB, without affecting your other work. You can: UpdateDB &
54. Force Exit X
Sometimes in X because of the program error mouse keyboard does not work, this time do not worry, because in Linux is almost not like in the win 95 in the vicious panic, you only have to press the Ctrl+alt+backspace key at the same time can return to the character interface.
55. Compress executable Files
You can use Gzexe to compress executable files, and the compressed executable can still be executed directly. Use this method to achieve the goal of saving disk space (if you really need it). Gzexe gawk
56. Processing file names contain special characters
If there is a file named-file, if you want to delete it, type Rm-file will show invalid option, originally because the first character of the filename is "-", Linux to the file name as an option, can add--solve this problem, such as RM--- File. If it is a special character, you can add one before the special character, or enclose the entire file name in double quotes.
57. Quick access to catalogue
Type cd ~ To enter the user's home directory, type CD-to enter the previous entry directory. What do you do when you want to delete all of the. File or dir at the beginning? wrong-> RM/tmp/.* correct-> RM/tmp/\.*
58. Modify the NIC MAC address
Ifconfig eth0 Down ifconfig eth0 hw ether 00:aa:bb:ccd:ee Ifconfig eth0 up It's on a temporary basis. You can join rc.local and make it boot automatically.
59. View NIC Working status
#mii-tool-v Eth0:no Link Product Info:vendor Unlimited, model 0 Rev. 0 Basic Mode:autonegotiation Enabled Basic Status:no Link CAPABILITIES:100BASETX-FD 100BASETX-HD 10BASET-FD 10BASET-HD ADVERTISING:100BASETX-FD 100BASETX-HD 10BASET-FD 10BASET-HD Siocgmiiphy on ' eth1 ' failed:operation not keyword
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.