linux 命令中英文对照,收集

linux 命令中英文对照,收集

linux 命令英文全文

Is Linux CLI case-sensitive?

 

The answer is, yes. If you try to run LS instead of ls, it would display an error. There are some advantages of using a case-sensitive command line. The computers that existed in earlier decades weren’t fast enough, it was favorable to compare identical strings instead of normalizing the upper and lower cases. This continued and became a habit, even though today’s machines are way faster and efficient. It also gives people the flexibility over the choice of the command name.

A-Z List of Linux Commands

So, In this post, I have tried to compile a list of commands used in various Linux distributions. This has been possible with inputs from Ubuntu manual, SS64, and Linux Dev Center. As you might be knowing, some or many of these commands may not work on your distribution. Running those commands may require you to install additional packages or it’s just that the commands aren’t meant to work on your system.

The descriptions of these Linux commands are based on their manual pages. To access the man page:

man command_name

For eg: man cat

If you find any discrepancy, please feel free to contact for any correction.

Linux Commands – A

CommandDescription
acceptAccept or Reject jobs to a destination, such as a printer.
accessCheck a user’s RWX permission for a file.
aclocalGNU autoconf too
aconnectALSA sequencer connection manager.
acpiShow information about the Advanced Configuration and Power Interface.
acpi_availableCheck if ACPI functionality exists on the system.
acpidInforms user-space programs about ACPI events.
addr2lineUsed to convert addresses into file names and line numbers.
addressesFormats for internet mail addresses.
agettyAn alternative Linux Getty
aliasCreate an alias for Linux commands
alsactlAccess advanced controls for ALSA soundcard driver.
amidiPerform read/write operation for ALSA RawMIDI ports.
amixerAccess CLI-based mixer for ALSA soundcard driver.
anacronUsed to run commands periodically.
aplaySound recorder and player for CLI.
aplaymidiCLI utility used to play MIDI files.
apmShow Advanced Power Management (APM) hardware info on older systems.
apmdUsed to handle events reported by APM BIOS drivers.
aproposShows the list of all man pages containing a specific keyword
aptAdvanced Package Tool, a package management system for Debian and derivatives.
apt-getCommand-line utility to install/remove/update packages based on APT system.
aptitudeAnother utility to add/remove/upgrade packages based on the APT system.
arA utility to create/modify/extract from archives.
archDisplay print machine hardware name.
arecordJust like aplay, it’s a sound recorder and player for ALSA soundcard driver.
arecordmidiRecord standard MIDI files.
arpUsed to make changes to the system’s ARP cache
asA portable GNU assembler.
aspellAn interactive spell checker utility.
atUsed to schedule command execution at specified date & time, reading commands from an input file.
atdUsed to execute jobs queued by the at command.
atqList a user’s pending jobs for the at command.
atrmDelete jobs queued by the at command.
audiosendUsed to send an audio recording as an email.
aumixAn audio mixer utility.
autoconfGenerate configuration scripts from a TEMPLATE-FILE and send the output to standard output.
autoheaderCreate a template header for configure.
automakeCreates GNU standards-compliant Makefiles from template files
autoreconfUpdate generated configuration files.
autoscanGenerate a preliminary configure.in
autoupdateUpdate a configure.in file to newer autoconf.
awkUsed to find and replace text in a file(s).

Linux Commands – B

CommandDescription
badblocksSearch a disk partition for bad sectors.
bannerUsed to print characters as a poster.
basenameUsed to display filenames with directoy or suffix.
bashGNU Bourne-Again Shell.
batchUsed to run commands entered on a standard input.
bcAccess the GNU bc calculator utility.
bgSend processes to the background.
biffNotify about incoming mail and sender’s name on a system running comsat server.
bindUsed to attach a name to a socket.
bisonA GNU parser generator, compatible with yacc.
breakUsed to exit from a loop (eg: for, while, select).
builtinUsed to run shell builtin commands, make custom functions for commands extending their functionality.
bzcmpUsed to call the cmp program for bzip2 compressed files.
bzdiffUsed to call the diff program for bzip2 compressed files.
bzgrepUsed to call grep for bzip2 compressed files.
bzip2A block-sorting file compressor used to shrink given files.
bzlessUsed to apply ‘less’ (show info one page at a time) to bzip2 compressed files.
bzmoreUsed to apply ‘more’ (an inferior version of less) to bzip2 compressed files.

Linux Commands – C

CommandDescription
calShow calendar.
cardctlUsed to control PCMCIA sockets and select configuration schemes.
cardmgrKeeps an eye on the added/removes sockets for PCMCIA devices.
caseExecute a command conditionally by matching a pattern.
catUsed to concatenate files and print them on the screen.
ccGNU C and C++ compiler.
cdUsed to change directory.
cdda2wavUsed to rip a CD-ROM and make WAV file.
cdparanoiaRecord audio from CD more reliably using data-verification algorithms.
cdrdaoUsed to write all the content specified to a file to a CD all at once.
cdrecordUsed to record data or audio compact discs.
cfdiskShow or change the disk partition table.
chageUsed to change user password information.
chattrUsed to change file attributes.
chdirUsed to change active working directory.
chfnUsed to change real user name and information.
chgrpUsed to change group ownership for file.
chkconfigManage execution of runlevel services.
chmodChange access permission for a file(s).
chownChange the owner or group for a file.
chpasswdUpdate password in a batch.
chrootRun a command with root privileges.
chrtAlter process attributed in real-time.
chshSwitch login shell.
chvtChange foreground virtual terminal.
cksumPerform a CRC checksum for files.
clearUsed to clear the terminal window.
cmpCompare two files (byte by byte).
colFilter reverse (and half-reverse) line feeds from the input.
colcrtFilter nroff output for CRT previewing.
colrmRemove columns from the lines of a file.
columnA utility that formats its input into columns.
commUsed to compare two sorted files line by line.
commandUsed to execute a command with arguments ignoring shell function named command.
compressUsed to compress one or more file(s) and replacing the originals ones.
continueResume the next iteration of a loop.
cpCopy contents of one file to another.
cpioCopy files from and to archives.
cppGNU C language processor.
cronA daemon to execute scheduled commands.
crondSame work as cron.
crontabManage crontab files (containing schedules commands) for users.
csplitSplit a file into sections on the basis of context lines.
ctagsMake a list of functions and macro names defined in a programming source file.
cupsdA scheduler for CUPS.
curlUsed to transfer data from or to a server using supported protocols.
cutUsed to remove sections from each line of a file(s).
cvsConcurrent Versions System. Used to track file versions, allow storage/retrieval of previous versions, and enables multiple users to work on the same file.

Linux Commands – D

CommandDescription
dateShow system date and time.
dcDesk calculator utility.
ddUsed to convert and copy a file, create disk clone, write disk headers, etc.
ddrescueUsed to recover data from a crashed partition.
deallocvtDeallocates kernel memory for unused virtual consoles.
debugfsFile system debugger for ext2/ext3/ext4
declareUsed to declare variables and assign attributes.
depmodGenerate modules.dep and map files.
devdumpInteractively displays the contents of device or file system ISO.
dfShow disk usage.
diffUsed to compare files line by line.
diff3Compare three files line by line.
digDomain Information Groper, a DNS lookup utility.
dirList the contents of a directory.
dircolorsSet colors for ‘ls’ by altering the LS_COLORS environment variable.
dirnameDisplay pathname after removing the last slash and characters thereafter.
dirsShow the list of remembered directories.
disableRestrict access to a printer.
dlpshInteractive Desktop Link Protocol (DLP) shell for PalmOS.
dmesgExamine and control the kernel ring buffer.
dnsdomainnameShow the DNS domain name of the system.
dnssec-keygenGenerate encrypted Secure DNS keys for a given domain name.
dnssec-makekeysetProduce domain key set from one or more DNS security keys generated by dnssec-keygen.
dnssec-signkeySign a secure DNS keyset with key signatures specified in the list of key-identifiers.
dnssec-signzoneSign a secure DNS zonefile with the signatures in the specified list of key-identifiers.
doexecUsed to run an executable with an arbitrary argv list provided.
domainnameShow or set the name of current NIS (Network Information Services) domain.
dosfsckCheck and repair MS-DOS file systems.
duShow disk usage summary for a file(s).
dumpBackup utility for ext2/ext3 file systems.
dumpe2fsDump ext2/ext3/ext4 file systems.
dumpkeysShow information about the keyboard driver’s current translation tables.

Linux Commands – E

CommandDesription
e2fsckUsed to check ext2/ext3/ext4 file systems.
e2imageStore important ext2/ext3/ext4 filesystem metadata to a file.
e2labelShow or change the label on an ext2/ext3/ext4 filesystem.
echoSend input string(s) to standard output i.e. display text on the screen.
edGNU Ed – a line-oriented text editor.
edquotaUsed to edit filesystem quotas using a text editor, such as vi.
egrepSearch and display text matching a pattern.
ejectEject removable media.
elvtuneUsed to set latency in the elevator algorithm used to schedule I/O activities for specified block devices.
emacsEmacs text editor command line utility.
enableUsed to enable/disable shell builtin commands.
envRun a command in a modified environment. Show/set/delete environment variables.
envsubstSubstitute environment variable values in shell format strings.
esdStart the Enlightenment Sound Daemon (EsounD or esd). Enables multiple applications to access the same audio device simultaneously.
esd-configManage EsounD configuration.
esdcatUse EsounD to send audio data from a specified file.
esdctlEsounD control program.
esddspUsed to reroute non-esd audio data to esd and control all the audio using esd.
esdmonUsed to copy the sound being sent to a device. Also, send it to a secondary device.
esdplayUse EsounD system to play a file.
esdrecUse EsounD to record audio to a specified file.
esdsampleSample audio using esd.
etagsUsed to create a list of functions and macros from a programming source file. These etags are used by emacs. For vi, use ctags.
ethtoolUsed to query and control network driver and hardware settings.
evalUsed to evaluate multiple commands or arguments are once.
exInteractive command
execAn interactive line-based text editor.
exitExit from the terminal.
expandConvert tabs into spaces in a given file and show the output.
expectAn extension to the Tcl script, it’s used to automate interaction with other applications based on their expected output.
exportUsed to set an environment variable.
exprEvaluate expressions and display them on standard output.

Linux Commands – F

CommandDescription
factorDisplay prime factors of specified integer numbers.
falseDo nothing, unsuccessfully. Exit with a status code indicating failure.
fc-cacheMake font information cache after scanning the directories.
fc-listShow the list of available fonts.
fdformatDo a low-level format on a floppy disk.
fdiskMake changes to the disk partition table.
fetchmailFetch mail from mail servers and forward it to the local mail delivery system.
fgUsed to send a job to the foreground.
fgconsoleDisplay the number of the current virtual console.
fgrepDisplay lines from a file(s) that match a specified string. A variant of grep.
fileDetermine file type for a file.
findDo a file search in a directory hierarchy.
fingerDisplay user data including the information listed in .plan and *.project *in each user’s home directory.
fingerdProvides a network interface for the finger program.
flexGenerate programs that perform pattern-matching on text.
fmtUsed to convert text to a specified width by filling lines and removing new lines, displaying the output.
foldWrap input line to fit in a specified width.
forExpand words and run commands for each one in the resultant list.
formailUsed to filter standard input into mailbox format.
formatUsed to format disks.
freeShow free and used system memory.
fsckCheck and repair a Linux file system
ftpFile transfer protocol user interface.
ftpdFTP server process.
functionUsed to define function macros.
fuserFind and kill a process accessing a file.

Linux Commands – G

CommandDescription
g++Run the g++ compiler.
gawkUsed for pattern scanning and language processing. A GNU implementation of AWK language.
gccA C and C++ compiler by GNU.
gdbA utility to debug programs and know about where it crashes.
getentShows entries from Name Service Switch Libraries for specified keys.
getkeycodesDisplays the kernel scancode-to-keycode mapping table.
getoptsA utility to parse positional parameters.
gpasswdAllows an administrator to change group passwords.
gpgEnables encryption and signing services as per the OpenPGP standard.
gpgsplitUsed to split an OpenPGP message into packets.
gpgvUsed to verify OpenPGP signatures.
gpmIt enables cut and paste functionality and a mouse server for the Linux console.
gprofShows call graph profile data.
grepSearches input files for a given pattern and displays the relevant lines.
groffServes as the front-end of the groff document formatting system.
grofferDisplays groff files and man pages.
groupaddUsed to add a new user group.
groupdelUsed to remove a user group.
groupmodUsed to modify a group definition.
groupsShow the group(s) to which a user belongs.
grpckVerifies the integrity of group files.
grpconvCreates a gshadow file from a group or an already existing gshadow.
gsInvokes Ghostscript, and interpreter and previewer for Adobe’s PostScript and PDF languages.
gunzipA utility to compress/expand files.
gzexeUsed compress executable files in place and have them automatically uncompress and run at a later stage.
gzipSame as gzip.

Linux Commands – H

CommandDescription
haltCommand used to half the machine.
hashShows the path for the commands executed in the shell.
hdparmShow/configure parameters for SATA/IDE devices.
headShows first 10 lines from each specified file.
helpDisplay’s help for a built-in command.
hexdumpShows specified file output in hexadecimal, octal, decimal, or ASCII format.
historyShows the command history.
hostA utility to perform DNS lookups.
hostidShows host’s numeric ID in hexadecimal format.
hostnameDisplay/set the hostname of the system.
htdigestManage the user authentication file used by the Apache web server.
htopAn interactive process viewer for the command line.
hwclockShow or configure the system’s hardware clock.

Linux Commands – I

CommandDescription
iconvConvert text file from one encoding to another.
idShow user and group information for a specified user.
ifExecute a command conditionally.
ifconfigUsed to configure network interfaces.
ifdownStops a network interface.
ifupStarts a network interface.
imapdAn IMAP (Interactive Mail Access Protocol) server daemon.
importCapture an X server screen and saves it as an image.
inetdExtended internet services daemon, it starts the programs that provide internet services.
infoUsed to read the documentation in Info format.
initSystemd system and service manager.
insmodA program that inserts a module into the Linux kernel.
installUsed to copy files to specified locations and set attributions during the install process.
iostatShows statistics for CPU, I/O devices, partitions, network filesystems.
ipDisplay/manipulate routing, devices, policy, routing and tunnels.
ipcrmUsed to remove System V interprocess communication (IPC) objects and associated data structures.
ipcsShow information on IPC facilities for which calling process has read access.
iptablesAdministration tool for IPv4 packet filtering and NAT.
iptables-restoreUsed to restore IP tables from data specified in the input or a file.
iptables-saveUsed to dump IP table contents to standard output.
isodumpA utility that shows the content iso9660 images to verify the integrity of directory contents.
isoinfoA utility to perform directory like listings of iso9660 images.
isosizeShow the length of an iso9660 filesystem contained in a specified file.
isovfyVerifies the integrity of an iso9660 image.
ispellA CLI-based spell-check utility.

Linux Commands – J

CommandDescription
jobsShow the list of active jobs and their status.
joinFor each pair of input lines, join them using a command field and display on standard output.

Linux Commands – K

CommandDescription
kbd_modeSet a keyboard mode. Without arguments, shows the current keyboard mode.
kbdrateReset keyboard repeat rate and delay time.
killSend a kill (termination) signal to one more processes.
killallKills a process(es) running a specified command.
killall5A SystemV killall command. Kills all the processes excluding the ones which it depends on.
klogdControl and prioritize the kernel messages to be displayed on the console, and log them through syslogd.
kudzuUsed to detect new and enhanced hardware by comparing it with existing database. Only for RHEL and derivates.

Linux Commands – L

CommandDescription
lastShows a list of recent logins on the system by fetching data from /var/log/wtmp file.
lastbShows the list of bad login attempts by fetching data from */var/log/btmp *file.
lastlogDisplays information about the most recent login of all users or a specified user.
ldThe Unix linker, it combines archives and object files. It then puts them into one output file, resolving external references.
ldconfigConfigure dynamic linker run-time bindings.
lddShows shared object dependencies.
lessDisplays contents of a file one page at a time. It’s advanced than morecommand.
lesskeyUsed to specify key bindings for less command.
letUsed to perform integer artithmetic on shell variables.
lftpAn FTP utility with extra features.
lftpgetUses lftop to retrieve HTTP, FTP, and other protocol URLs supported by lftp.
linkCreate links between two files. Similar to ln command.
lnCreate links between files. Links can be hard (two names for the same file) or soft (a shortcut of the first file).
loadkeysLoad keyboard translation tables.
localUsed to create function variables.
localeShows information about current or all locales.
locateUsed to find files by their name.
lockfileCreate semaphore file(s) which can be used to limit access to a file.
loggerMake entries in the system log.
loginCreate a new session on the system.
lognameShows the login name of the current user.
logoutPerforms the logout operation by making changes to the utmp and wtmp files.
logrotateUsed for automatic rotation, compression, removal, and mailing of system log files.
lookShows any lines in a file containing a given string in the beginning.
losetupSet up and control loop devices.
lpadminUsed to configure printer and class queues provided by CUPS (Common UNIX Printing System).
lpcLine printer control program, it provides limited control over CUPS printer and class queues.
lpinfoShows the list of avaiable devices and drivers known to the CUPS server.
lpmoveMove on or more printing jobs to a new destination.
lpqShows current print queue status for a specified printer.
lprUsed to submit files for printing.
lprintUsed to print a file.
lprintdUsed to abort a print job.
lprintqList the print queue.
lprmCancel print jobs.
lpstatDisplays status information about current classes, jobs, and printers.
lsShows the list of files in the current directory.
lsattrShows file attributes on a Linux ext2 file system.
lsblkLists information about all available or the specified block devices.
lsmodShow the status of modules in the Linux kernel.
lsofList open files.
lspciList all PCI devices.
lsusbList USB devices.

Linux Commands – M

CommandDescription
m4Macro processor.
mailUtility to compose, receive, send, forward, and reply to emails.
mailqShows to list all emails queued for delivery (sendmail queue).
mailstatsShows current mail statistics.
mailtoUsed to send mail with multimedia content in MIME format.
makeUtility to maintain groups of programs, recompile them if needed.
makedbmCreates an NIS (Network Information Services) database map.
makemapCreates database maps used by the keyed map lookups in sendmail.
manShows manual pages for Linux commands.
manpathDetermine search path for manual pages.
mattribUsed to change MS-DOS file attribute flags.
mbadblocksChecks MD-DOS filesystems for bad blocks.
mcatDump raw disk image.
mcdUsed to change MS-DOS directory.
mcopyUsed to copy MS-DOS files from or to Unix.
md5sumUsed to check MD5 checksum for a file.
mdel, mdeltreeUsed to delete MS-DOS file. mdeltree recursively deletes MS-DOS directory and its contents.
mdirUsed to display an MS-DOS directory.
mduUsed to display the amount of space occupied by an MS-DOS directory.
mergeThree-way file merge. Includes all changes from file2 and file3 to file1.
mesgAllow/disallow osends to sedn write messages to your terminal.
metamailFor sending and showing rich text or multimedia email using MIME typing metadata.
metasendAn interface for sending non-text mail.
mformatUsed to add an MS-DOS filesystem to a low-level formatted floppy disk.
mimencodeTranslate to/from MIME multimedia mail encoding formats.
minfoDisplay parameters of an MS-DOS filesystem.
mkdirUsed to create directories.
mkdosfsUsed to create an MS-DOS filesystem under Linux.
mke2fsUsed create an ext2/ext3/ext4 filesystem.
mkfifoUsed to create named pipes (FIFOs) with the given names.
mkfsUsed to build a Linux filesystem on a hard disk partition.
mkfs.ext3Same as mke2fs, create an ext3 Linux filesystem.
mkisofsUsed to create an ISO9660/JOLIET/HFS hybrid filesystem.
mklost+foundCreate a lost+found directory on a mounted ext2 filesystem.
mkmanifestMakes a list of file names and their DOS 8.3 equivalent.
mknodCreate a FIFO, block (buffered) special file, character (unbuffered) special file with the specified name.
mkraidUsed to setup RAID device arrays.
mkswapSet up a Linux swap area.
mktempCreate a temporary file or directory.
mlabelMake an MD-DOS volume label.
mmdMake an MS-DOS subdirectory.
mmountMount an MS-DOS disk.
mmoveMove or rename an MS-DOS file or subdirectory.
mmvMass move and rename files.
modinfoShow information about a Linux kernel module.
modprobeAdd or remove modules from the Linux kernel.
moreDisplay content of a file page-by-page.
mostBrowse or page through a text file.
mountMount a filesystem.
mountdNFS mount daemon.
mpartitionPartition an MS-DOS disk.
mpg123Command-line mp3 player.
mpg321Similar to mpg123.
mrdRemove an MS-DOS subdirectory.
mrenRename an existing MS-DOS file.
mshowfatShow FTA clusters allocated to a file.
mtControl magnetic tape drive operation.
mtoolsUtilities to access MS-DOS disks.
mtoolstestTests and displays the mtools configuration files.
mtrA network diagnostic tool.
mtypeDisplay contents of an MS-DOS file.
mvMove/rename files or directories.
mzipChange protection mode and eject disk on Zip/Jaz drive.

Linux Commands – N

CommandDescription
namedInternet domain name server.
nameiFollow a pathname until a terminal point is found.
nameifName network interfaces based on MAC addresses.
ncNetcat utility. Arbitrary TCP and UDP connections and listens.
netstatShow network information.
newaliasesRebuilds mail alias database.
newgrpLog-in to a new group.
newusersUpdate/create new users in batch.
nfsdSpecial filesystem for controlling Linux NFS server.
nfsstatList NFS statistics.
niceRun a program with modified scheduling priority.
nlShow numbered line while displaying the contents of a file.
nmList symbols from object files.
nohupRun a command immune to hangups.
notify-sendA program to send desktop notifications.
nslookupUsed performs DNS queries. Read this article for more info.
nsupdateDynamic DNS update utility.

Linux Commands – O

CommandDescription
objcopyCopy and translate object files.
objdumpDisplay information from object files.
odDump files in octal and other formats.
opOperator access, allows system administrators to grant users access to certain root operations that require superuser privileges.
openOpen a file using its default application.
openvtStart a program on a new virtual terminal (VT).

Linux Commands – P

CommandDescription
passwdChange user password.
pasteMerge lines of files. Write to standard output, TAB-separated lines consisting of sqentially correspnding lines from each file.
patchApply a patchfile (containing differences listing by diff program) to an original file.
pathchkCheck if file names are valid or portable.
perlPerl 5 language interpreter.
pgrepList process IDs matching the specified criteria among all the running processes.
pidofFind process ID of a running program.
pingSend ICMP ECHO_REQUEST to network hosts.
pinkyLightweight finger.
pkillSend kill signal to processes based on name and other attributes.
pmapReport memory map of a process.
popdRemoves directory on the head of the directory stack and takes you to the new directory on the head.
portmapConverts RPC program numbers to IP port numbers.
poweroffShuts down the machine.
pppdPoint-to-point protocol daemon.
prConvert (column or paginate) text files for printing.
praliasesPrints the current system mail aliases.
printcapPrinter capability database.
printenvShow values of all or specified environment variables.
printfShow arguments formatted according to a specified format.
psReport a snapshot of the current processes.
ptxProduce a permuted index of file contents.
pushdAppends a given directory name to the head of the stack and then cd to the given directory.
pvMonitor progress of data through a pipe.
pwckVerify integrity of password files.
pwconvCreates shadow from passwd and an optionally existing shadow.
pwdShow current directory.
python 

Linux Commands – Q

CommandDescription
quotaShows disk usage, and space limits for a user or group. Without arguments, only shows user quotas.
quotacheckUsed to scan a file system for disk usage.
quotactlMake changes to disk quotas.
quotaoffEnable enforcement of filesystem quotas.
quotaonDisable enforcement of filesystem quotas.
quotastatsShows the report of quota system statistics gathered from the kernel.

Linux Commands – R

CommandDescription
raidstartStart/stop RAID devices.
ramRAM disk device used to access the RAM disk in raw mode.
ramsizeShow usage information for the RAM disk.
ranlibGenerate index to the contents of an archive and store it in the archive.
rarCreate and manage RAR file in Linux.
rarpdRespond to Reverse Address Resoultion Protocol (RARP) requests.
rcpRemote copy command to copy files between remote computers.
rdateSet system date and time by fetching information from a remote machine.
rdevSet or query RAM disk size, image root device, or video mode.
rdistRemote file distribution client, maintains identical file copies over multiple hosts.
rdistdStart the rdist server.
readRead from a file descriptor.
readarrayRead lines from a file into an array variable.
readcdRead/write compact disks.
readelfShows information about ELF (Executable and Linkable fomrat) files.
readlinkDisplay value of a symbolic link or canonical file name.
readonlyMark functions and variables as read-only.
rebootRestart the machine.
rejectAccept/reject print jobs sent to a specified destination.
remsyncSynchronize remote files over email.
renameRename one or more files.
reniceChange priority of active processes.
repquotaReport disk usage and quotas for a specified filesystem.
resetReinitialize the terminal.
resize2fsUsed to resize ext2/ext3/ext4 file systems.
restoreRestore files from a backup created using dump.
returnExit a shell function.
revShow contents of a file, reversing the order of characters in every line.
rexecRemote execution client for exec server.
rexecdRemote execution server.
richtextView “richtext” on an ACSII terminal.
rloginUsed to connect a local host system with a remote host.
rlogindActs as the server for rlogin. It facilitates remote login, and authentication based on privileged port numbers from trusted hosts.
rmRemoves specified files and directories (not by default).
rmailHandle remote mail received via uucp.
rmdirUsed to remove empty directories.
rmmodA program to remove modules from Linux kernel.
rndcName server control utility. Send command to a BIND DNS server over a TCP connection.
rootflagsShow/set flags for the kernel image.
routeShow/change IP routing table.
routedA daemon, invoked at boot time, to manage internet routing tables.
rpcgenAn RPC protocol compiler. Parse a file written in the RPC language.
rpcinfoShows RPC information. Makes an RPC call to an RPC server and reports the findings.
rpmA package manager for linux distributions. Originally developed for RedHat Linux.
rshRemote shell. Connects to a specified host and executes commands.
rshdA daemon that acts as a server for rsh and rcp commands.
rsyncA versitile to for copying files remotely and locally.
runlevelShows previous and current SysV runlevel.
rupRemote status display. Shows current system status for all or specified hosts on the local network.
ruptimeShows uptime and login details of the machines on the local network.
rusersShows the list of the users logged-in to the host or on all machines on the local network.
rusersdThe rsuerd daemon acts as a server that responds to the queries from rsuers command.
rwallSends messages to all users on the local network.
rwhoReports who is logged-in to the hosts on the local network.
rwhodActs as a server for rwho and ruptime commands.

Linux Commands – S

CommandDescription
sane-find-scannerFind SCSI and USB scanner and determine their device files.
scanadfRetrieve multiple images from a scanner equipped with an automatic document feeder (ADF).
scanimageRead images from image aquistion devices (scanner or camera) and display on standard output in PNM (Portable aNyMap) format.
scpCopy files between hosts on a network securely using SSH.
screenA window manager that enables multiple pseudo-terminals with the help of ANSI/VT100 terminal emulation.
scriptUsed to make a typescript of everything displayed on the screen during a terminal session.
sdiffShows two files side-by-side and highlights the differences.
sedStream editor for filtering and transforming text (from a file or a pipe input).
selectSynchronous I/O multiplexing.
sendmailIt’s a mail router or an MTA (Mail Transfer Agent). sendmail support can send a mail to one or more recepients using necessary protocols.
sensorsShows the current readings of all sensor chips.
seqDisplays an incremental sequence of numbers from first to last.
setUsed to manipulate shell variables and functions.
setfdprmSets floppy disk parameters as provided by the user.
setkeycodesLoad kernel scancode-to-keycode mapping table entries.
setledsShow/change LED light settings of the keyboard.
setmetamodeDefine keyboard meta key handling. Without arguments, shows current meta key mode.
setquotaSet disk quotas for users and groups.
setsidRun a program in a new session.
settermSet terminal attributes.
sftpSecure File Transfer program.
shCommand interpreter (shell) utility.
sha1sumCompute and check 160-bit SHA1 checksum to verify file integrity.
shiftShift positional parameters.
shoptShell options.
showkeyExamines codes sent by the keyboard displays them in printable form.
showmountShows information about NFS server mount on the host.
shredOverwrite a file to hide its content (optionally delete it), making it harder to recover it.
shutdownPower-off the machine.
sizeLists section size and the total size of a specified file.
skillSend a signal to processes.
slabtopShow kernel slab cache information in real-time.
slattachAttack a network interface to a serial line.
sleepSuspend execution for a specified amount of time (in seconds).
slocateDisplay matches by searching filename databases. Takes ownership and file permission into consideration.
sniceReset priority for processes.
sortSort lines of text files.
sourceRun commands from a specified file.
splitSplit a file into pieces of fixed size.
ssDisplay socket statistics, similar to netstat.
sshAn SSH client for logging in to a remote machine. It provides encrypted communication between the hosts.
ssh-addAdds private key identities to the authentication agent.
ssh-agentIt holds private keys used for public key authentication.
ssh-keygenIt generates, manages, converts authentication keys for ssh.
ssh-keyscanGather ssh public keys.
sshdServer for the ssh program.
statDisplay file or filesystem status.
statdA daemon that listens for reboot notifications from other hosts, and manages the list of hosts to be notified when the local system reboots.
straceTrace system calls and signals.
strfileCreate a random access file for storing strings.
stringsSearch a specified file and prints any printable strings with at least four characters and followed by an unprintable character.
stripDiscard symbols from object files.
sttyChange and print terminal line settings.
suChange user ID or become superuser.
sudoExecute a command as superuser.
sumChecksum and count the block in a file.
suspendSuspend the execution of the current shell.
swapoffDisable devices for paging and swapping.
swaponEnable devices for paging and swapping.
symlinkCreate a symbolic link to a file.
syncSynchronize cached writes to persistent storage.
sysctlConfigure kernel parameters at runtime.
sysklogdLinux system logging utilities. Provides syslogd and klogd functionalities.
syslogdRead and log system messages to the system console and log files.

Linux Commands – T

CommandDescription
tacConcatenate and print files in reverse order. Opposite of cat command.
tailShow the last 10 lines of each specified file(s).
tailfFollow the growth of a log file. (Deprecated command)
talkA two-way screen-oriented communication utility that allows two user to exchange messages simulateneously.
talkdA remote user communication server for talk.
tarGNU version of the tar archiving utility. Used to store and extract multiple files from a single archive.
tasksetSet/retrieve a process’s CPU affinity.
tcpdAccess control utility for internet services.
tcpdumpDump traffic on network. Displays a description of the contents of packets on a network interface that match the boolean expression.
tcpsliceExtract pieces of tcpdump files or merge them.
teeRead from standard input and write to standard output and files.
telinitChange SysV runlevel.
telnetTelnet protocol user interface. Used to interact with another host using telnet.
telnetdA server for the telnet protocol.
testCheck file type and compare values.
tftpUser interface to the internet TFTP (Trivial File Transfer Protocol).
tftpdTFTP server.
timeRun programs and summarize system resource usage.
timeoutExecute a command with a time limit.
timesShows accumulated user and system times for the shell and it’s child processes.
tloadShows a graph of the current system load average to the specified tty.
tmpwatchRecursively remove files and directories which haven’t been accessed for the specified period of time.
topDisplays real-time view of processes running on the system.
touchChange file access and modification times.
tputModify terminal-dependent capabilities, color, etc.
trTranslate, squeeze, or delete characters from standard input and display on standard output.
tracepathTraces path to a network host discovering MTU (Maximum Transmission Unit) along this path.
tracerouteTraces the route taken by the packets to reach the network host.
trapTrap function responds to hardware signals. It defines and creates handlers to run when the shell receives signals.
troffThe troff processor of the groff text formatting system.
TRUEExit with a status code indicating success.
tsetInitialize terminal.
tsortPerform topological sort.
ttyDisplay the filename of the terminal connected to standard input.
tune2fsAdjust tunable filesystem parameters on ext2/ext3/ext4 filesystems.
tunelpSet various parameters for the line printer devices.
typeWrite a description for a command type.

Linux Commands – U

CommandDescription
ulUnderline text.
ulimitGet and set user limits for the calling process.
umaskSet file mode creation mask.
umountUnmount specified file systems.
unaliasRemove alias definitions for specified alias names.
unameShow system information.
uncompressUncompress the files compressed with the compress command.
unexpandConvert spaces to tabs for a specified file.
unicode_startPut keyboard and console in Unicode mode.
unicode_stopRevert keyboard and console from Unicode mode.
uniqReport or omit repeating lines.
unitsConvert units from one scalar to another.
unrarExtract files from a RAR archive.
unsetRemove variable or function names.
unsharUnpack shell archive scripts.
untilExecute command until a given condition is true.
uptimeTell how long the system has been running.
useraddCreate a new user or update default user information.
userdelDelete a user account and related files.
usermodModify a user account.
usersShow the list of active users on the machine.
usleepSuspend execution for microsecond intervals.
uudecodeDecode a binary file.
uuencodeEncode a binary file.
uuidgenCreated a new UUID (Universally Unique Identifier) table.

Linux Commands – V

CommandDescription
vdirSame as ls -l -b. Verbosely list directory contents.
viA text editor utility.
vidmodeSet the video mode for a kernel image. Displays current mode value without arguments. Alternative: rdev -v
vimVi Improved, a text-based editor which is a successor to vi.
vmstatShows information about processes, memory, paging, block IO, traps, disks, and CPU activity.
volnameReturns volume name for a device formatted with an ISO-9660 filesystem. For example, CD-ROM.

Linux Commands – W

CommandDescription
wShow who is logged-on and what they’re doing.
waitWaits for a specified process ID(s) to terminate and returns the termination status.
wallDisplay a message on the terminals all the users who are currently logged-in.
warnquotaSend mail to the users who’ve exceeded their disk quota soft limit.
watchRuns commands repeatedly until interrupted and shows their output and errors.
wcPrint newline, word, and byte count for each of the specified files.
wgetA non-interactive file download utility.
whatisDisplay one line manual page descriptions.
whereisLocate the binary, source, and man page files for a command.
whichFor a given command, lists the pathnames for the files which would be executed when the command runs.
whileConditionally execute commands (while loop).
whoShows who is logged on.
whoamiDisplays the username tied to the current effective user ID.
whoisLooks for an object in a WHOIS database
writeDisplay a message on other user’s terminal.

Linux Commands – X

CommandDescription
xargsRuns a command using initial arguments and then reads remaining arguments from standard input.
xdg-openUsed to open a file or URL in an application preferred by the user.
xinetdExtended internet services daemon. Works similar to inetd.
xzCompress/ Decompress .xz and .lzma files.

Linux Commands – Y

CommandDescription
yaccYet Another Compiler Compiler, a GNU Project parser generator.
yesRepeatedly output a line with a specified string(s) until killed.
ypbindA daemon that helps client processes to connect to an NIS server.
ypcatShows the NIS map (or database) for the specified MapName parameter.
ypinitSets up NIS maps on an NIS server.
ypmatchShows values for specified keys from an NIS map.
yppasswdChange NIS login password.
yppasswddActs as a server for the yppasswd command. Receives and executes requests.
yppollShows the ID number or version of NIS map currently used on the NIS server.
yppushForces slave NIS servers to copy updated NIS maps.
ypservA daemon activated at system startup. It looks for information in local NIS maps.
ypsetPoint a client (running ypbind) to a specifc server (running ypserv).
yptestCalls various functions to check the configuration of NIS services.
ypwhichShows the hostname for NIS server or master server for a given map.
ypxfrTransfers NIS server map from server to a local host.

Linux Commands – Z

CommandDescription
zcatUsed to compress/uncompress files. Similar to gzip
zcmpCompare compressed files.
zdiffCompare compressed files line by line.
zdumpDisplays time for the timezone mentioned.
zforceAdds .gz extension to all gzipped files.
zgrepPerforms grep on compressed files.
zicCreates time conversion information files using the specified input files.
zipA file compression and packaging utility.
zlessDisplays information of a compressed file (using less command) on the terminal one screen at a time.
zmoreDisplays output of a compressed file (using more command) on the terminal one page at a time.
znewRecompress .z files to .gz. files.

So, this was the compilation of different Linux commands. I hope this A-Z Linux commands might help you in some way. I’ve spent weeks curating these Linux commands from various sources and testing them. If you find some command missing or some discrepency, please give your valuable feedback and help me make the overall list better. I’ll be looking forward to it.

转载于:https://www.cnblogs.com/liu-hua/p/10701417.html

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值