Linux common command assembly (1)

xiaoxiao2021-03-06  115

Man

For orders that do not have their usage, such as: Ls), we can first use the man command to understand

Use format: Man LS

You can use the space bar to turn the page, or use the upper and lower arrow keys to turn the page, you want to exit, then enter q or ctrl-z.

2.Find

If you know the name of the file, or even a part of the name, you don't know the directory it is, you can use the find command. For example, if you are looking for file file, command format: Find / -Name 'file'3.ln is used to create a link command format between files: ln [option] ... target [link_name] Common [option]: - S After -Symbolic make symbolic limited, [link_name] -> Target, the two established a link relationship, all the action points to [link_name] will redirect Target.4.tartar is an archive command, By using the appropriate options can be compressed / decompressed files. Common, unzipped .GZ files: tar -zxf zipFileName.tar.gz decompressed .bz2 file: tar -jxf zipfilename.tar.bz25.yum # FOLLOWING FROM MAN pageNAME yum - Yellowdog Updater ModifiedSYNOPSIS yum [options] [command] [package ...] DESCRIPTION yum is an interactive, automated update program which can be used for maintaining systems using rpm command is one of: * install package1 [package2] [. .. * Update [package1] [package2] [...] * check-update * upgrade [package1] [package2] [...] * remove | Erase package1 [package2] [...] * list [. ..] * info [...] * provides | WhatProvides Feature1 [Feature2] [...] * Clean [packages | Headers | Metadata | Cache | DBCache | All] * Makecache * GroupinStall group1 [group2] [...] * groupupdate group1 [group2] [...] * grouplist * groupremove group1 [group2] [...] * groupinfo group1 [...] * search string1 [string2 ] [...] * generate-rss [Updates] unless the --help or -h option is given, one of the Above commands must be present.6.

Uname Checks the kernel version of you used - A, --all print all information, in the folload order: -S, --kernel-name print the network node hostname -r, KERNEL-RELEASE PRINT the KERNEL RELEASE -V, --KERNEL-VERSION PRINT The KERNEL VERSION -M, --Machine Print The Machine Hardware Name -p, --Processor Print The Processor Type -i, - Hardware-Platform Print There Hardware Platform -o, --Operating-System Print The OPERATING SYSTEM --HELP DISPLAY THIS HELP AND EXIT --VERSION OUTPUT VERSION INFORMATION AND EXIT Reference:

Linux file command masteric guide (on)

Linux system command masteric guide (below)

转载请注明原文地址:https://www.9cbs.com/read-105166.html

New Post(0)