Home Operation and Maintenance Linux Operation and Maintenance The complete list of commonly used Linux commands

The complete list of commonly used Linux commands

Aug 03, 2023 pm 03:42 PM
linux linux command


#pwd: print work directory prints the current directory and displays the absolute path of the current working directory


## ps: process status (process status, similar to Windows Task Manager )


The complete list of commonly used Linux commands



#Commonly used parameters: -auxf


ps -auxf displays process status


df: disk free Its function is to display Disk available space information and space node information. In other words, it reports how much free space is left on any installed device or directory.


du: Disk usage


rpm: RedHat Package Management is one of RedHat's inventions


rmdir: Remove Directory (delete directory)


rm: Remove (delete directory or file)


## cat: concatenate chain


cat file1file2>>file3 Combine the contents of file 1 and file 2 and put them into file3


insmod: install module, load module


ln -s : link -soft creates a soft link, which is equivalent to creating a shortcut


mkdir:Make Directory


touch


## man: Manual


su:Swith user(switch user)


##cd:Change directory


ls:List files

ps:Process Status  


mkdir:Make directory  


rmdir:Remove directory  


mkfs: Make file system  


fsck:File system check  


uname: Unix name 


lsmod: List modules 


mv: Move file 


rm: Remove file 


cp: Copy file 


ln: Link files 


fg: Foreground 


bg: Background 


chown: Change owner 


chgrp: Change group


chmod: Change mode  


umount: Unmount 


dd: It should have been named "cc" based on its function description "Convert an copy", but "cc" has been used to represent "CComplier", so it was named "dd"


##tar:Tape archive


ldd:List dynamic dependencies


insmod:Install module


rmmod:Remove module


lsmod:List module


"rc" at the end of the file (such as .bashrc, .xinitrc, etc.): Resource configuration


Knnxxx /Snnxxx (located in the rcx.d directory): K (Kill); S (Service);


nn (execution sequence number); xxx (service identification)


.a (extended Name a): Archive, static library


.so (extension so): Shared object, dynamically linked library


.o (extension o): Object file, compiled result of C/C source file


RPM:Red hat package manager


dpkg:Debian package manager


apt: Advanced package tool (available in Debian or Debian-based distributions)


Part of the Linux command abbreviation


bin = Binaries


##/dev = Devices


/etc = Etcetera


##/lib = LIBrary


/proc = Processes


/sbin = Superuser Binaries binary file)


/tmp = Temporary (临时)


/usr = Unix Shared Resources 


/var = Variable (变量) 


FIFO = First In, First Out 


GRUB = GRand Unified Bootloader 


IFS= Internal Field Seperators


LILO = LInux LOader


MySQL = My is the name of the original author’s daughter,


##SQL = Structured QueryLanguage


PHP = Personal Home Page Tools = PHP HypertextPreprocessor


##PS = Prompt String


##Perl = "Pratical Extraction and Report Language" (actual extraction and reporting language) ="Pathologically Eclectic Rubbish Lister"


Python is named after the TV series Monty Python's Flying Circus


Tcl = Tool Command Language


Tk = ToolKit


##VT = Video Terminal

YaST = Yet Another Setup Tool


##apache = "a patchy" server


apt = Advanced Packaging Tool


##ar = archiver


as = assembler


awk = "Aho Weiberger and Kernighan" The third of the last names of the three authors one letter


bash = Bourne Again SHell


##bc = Basic (Better) Calculator


bg = BackGround


biff = Written by Heidi Stettner at U.C. Berkely I have a dog that likes to bark at the postman.


cal = Calendar


cat = Catenate (链接)


cd = Change Directory 


chgrp = Change Group 


chmod = Change Mode 


chown = Change Owner 


chsh = Change Shell 


cmp = compare  


cobra = Common Object Request BrokerArchitecture 


comm = common 


cp = Copy 


cpio = CoPy In and Out


cpp = C Pre Processor 


cron = Chronos 希腊文时间


cups = Common Unix Printing System 


cvs = Current Version System 


daemon = Disk And Execution MONitor 


dc = Desk Calculator 


dd = Disk Dump


df = Disk Free


diff = Difference


##dmesg = diagnostic message


du = Disk Usage


ed = editor 


egrep = Extended GREP 


elf = Extensible Linking Format 


elm = ELectronic Mail 


emacs = Editor MACroS 


eval = EVALuate 


ex = EXtended 


exec = EXECute (执行)


fd = file descriptors 


fg = ForeGround


fgrep = Fixed GREP 


fmt = format 


fsck = File System ChecK 


fstab = FileSystem TABle 


fvwm = F*** Virtual Window Manager 


gawk = GNU AWK 


gpg = GNU Privacy Guard 


groff = GNU troff 


hal = Hardware Abstraction Layer 


joe = Joe's Own Editor 


ksh = Korn SHell 


lame = Lame Ain't an MP3 Encoder 


lex = LEXical analyzer


lisp = LISt Processing = Lots of IrritatingSuperfluous Parentheses


Search the public account’s top algorithm and reply with “Algorithm Experience” and give you a surprise gift package.


ln = Link


##lpr = Line PRint


ls = list


lsof = LiSt Open Files 


m4 = Macro processor Version 4 


man = MANual pages 


mawk = Mike Brennan's AWK


mc = Midnight Commander 


mkfs = MaKe FileSystem 


mknod = Make Node 


motd = Message of The Day 


mozilla = MOsaic GodZILLa 


mtab = Mount TABle 


mv = Move 


Nano = Nano's ANOther Editor


## again = New AWK


nl = Number of Lines


nm = names


nohup = No HangUP


##

nroff = New ROFF 


od = Octal Dump 


passwd = Passwd


pg = pager 


pico = PIne's message COmposition editor 


pine = "Program for Internet News &Email" = "Pine is not Elm" 


ping = 拟声 又 = Packet Internet Grouper 


pirntcap = PRINTer CAPability 


popd = POP Directory


pr = pre 


printf = Print Formatted 


ps = Processes Status 


pty = pseudo tty 


pushd = PUSH Directory 


pwd = Print Working Directory 


rc = runcom = run command, rc还是plan9的shell 


rev = REVerse 


rm = ReMove  


rn = Read News 


roff = RunOFF 


rpm = RPM Package Manager = RedHat PackageManager 


rsh, rlogin, rvim中的


r = Remote


##rxvt = ouR XVT


##seamoneky = Stream Editor


#sed = Stream Editor


seq = SEQuence


#shar = Shell ARchive ######


slrn = S-Lang rn 


ssh = Secure Shell


ssl = Secure Sockets Layer 


stty = Set TTY 


su = Substitute User 


svn = SubVersion


tar = Tape ARchive


tcsh = TENEX C shell


##tee = T (T-shaped water pipe interface)


telnet = TEminaL over Network


##termcap = terminal capability


terminfo = terminal information


##tex = abbreviation of τέχνη, Greek art


tr = traslate


troff = Typesetter new ROFF


tsort = Topological SORT


tty = TeleTypewriter 


twm = Tom's Window Manager 


tz = TimeZone 


udev = Userspace DEV 


ulimit = User's LIMIT 


umask = User's MASK 


uniq = UNIQue


i = VIsual = Very Inconvenient 


vim = Vi IMproved 


wall = write all 


wc = Word Count   


wine = WINE Is Not an Emulator 


xargs = eXtended ARGuments 


xdm = X Display Manager 


xlfd = X Logical Font Description 


xmms = X Multimedia System 


xrdb = X Resources DataBase 


xwd = X Window Dump 


yacc = yet another compiler compiler 


Fish = the Friendly Interactive SHell 


su = Switch User 


MIME = Multipurpose Internet Mail Extensions 


ECMA = European Computer ManufacturersAssociation

The above is the detailed content of The complete list of commonly used Linux commands. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to limit user resources in Linux? How to configure ulimit? How to limit user resources in Linux? How to configure ulimit? May 29, 2025 pm 11:09 PM

Linux system restricts user resources through the ulimit command to prevent excessive use of resources. 1.ulimit is a built-in shell command that can limit the number of file descriptors (-n), memory size (-v), thread count (-u), etc., which are divided into soft limit (current effective value) and hard limit (maximum upper limit). 2. Use the ulimit command directly for temporary modification, such as ulimit-n2048, but it is only valid for the current session. 3. For permanent effect, you need to modify /etc/security/limits.conf and PAM configuration files, and add sessionrequiredpam_limits.so. 4. The systemd service needs to set Lim in the unit file

Comparison between Informix and MySQL on Linux Comparison between Informix and MySQL on Linux May 29, 2025 pm 11:21 PM

Informix and MySQL are both popular relational database management systems. They perform well in Linux environments and are widely used. The following is a comparison and analysis of the two on the Linux platform: Installing and configuring Informix: Deploying Informix on Linux requires downloading the corresponding installation files, and then completing the installation and configuration process according to the official documentation. MySQL: The installation process of MySQL is relatively simple, and can be easily installed through system package management tools (such as apt or yum), and there are a large number of tutorials and community support on the network for reference. Performance Informix: Informix has excellent performance and

How to adjust mysql into Chinese interface? Easy to set the Chinese language environment of mysql How to adjust mysql into Chinese interface? Easy to set the Chinese language environment of mysql Jun 04, 2025 pm 06:36 PM

To tune MySQL into a Chinese interface, it can be implemented through MySQLWorkbench or command line tools. 1) In MySQLWorkbench, open "Preferences", select the "Appearance" tab, and then select "Chinese(Simplified)" in the "Language" drop-down menu, and restart. 2) When using command line tools, set the operating system locale variables, such as using "exportLANG=zh_CN.UTF-8" on Linux or macOS, and then run the mysql client.

How to start SFTP service on Debian How to start SFTP service on Debian May 29, 2025 pm 10:51 PM

Starting SFTP service in Debian systems usually requires the help of an OpenSSH server. The following are the specific steps: 1. Install the OpenSSH server First, confirm that the OpenSSH server is installed on your Debian system. If not installed, you can complete the installation by following command: sudoaptupdatesudoaptininstallopenssh-server2. After starting the OpenSSH server installation is completed, the OpenSSH server will generally start automatically. You can check its running status through the following command: sudosystemctlstatusssh If the service is not running, you can start it with the following command: s

How does resource usage (CPU, memory) differ between Linux and Windows? How does resource usage (CPU, memory) differ between Linux and Windows? Jun 05, 2025 am 12:13 AM

Linux and Windows have their own advantages and disadvantages in CPU and memory usage: 1) Linux uses time slice-based scheduling algorithms to ensure fairness and efficiency; Windows uses priority scheduling, which may cause low-priority processes to wait. 2) Linux manages memory through paging and switching mechanisms to reduce fragmentation; Windows tends to pre-allocate and dynamic adjustment, and efficiency may fluctuate.

How does the cost of ownership differ between Linux and Windows? How does the cost of ownership differ between Linux and Windows? Jun 09, 2025 am 12:17 AM

Linux's cost of ownership is usually lower than Windows. 1) Linux does not require license fees, saving a lot of costs, while Windows requires purchasing a license. 2) Linux has low hardware requirements and can extend the service life of the device. 3) The Linux community provides free support to reduce maintenance costs. 4) Linux is highly secure and reduces productivity losses. 5) The Linux learning curve is steep, but Windows is easier to use. The choice should be based on specific needs and budget.

How does the performance of I/O operations differ between Linux and Windows? How does the performance of I/O operations differ between Linux and Windows? Jun 07, 2025 am 12:06 AM

LinuxoftenoutperformsWindowsinI/Operformanceduetoitscustomizablekernelandfilesystems,whileWindowsoffersmoreuniformperformanceacrosshardware.1)LinuxexcelswithcustomizableI/OschedulerslikeCFQandDeadline,enhancingperformanceinhigh-throughputapplications

How to install Linux alongside Windows (dual boot)? How to install Linux alongside Windows (dual boot)? Jun 18, 2025 am 12:19 AM

The key to installing dual systems in Linux and Windows is partitioning and boot settings. 1. Preparation includes backing up data and compressing existing partitions to make space; 2. Use Ventoy or Rufus to make Linux boot USB disk, recommend Ubuntu; 3. Select "Coexist with other systems" or manually partition during installation (/at least 20GB, /home remaining space, swap optional); 4. Check the installation of third-party drivers to avoid hardware problems; 5. If you do not enter the Grub boot menu after installation, you can use boot-repair to repair the boot or adjust the BIOS startup sequence. As long as the steps are clear and the operation is done properly, the whole process is not complicated.

See all articles