312 words
2 minutes
240102_Linux_Commands_001

link#

A-Z Linux commands cheatsheet#

aliasCreate an alias for Linux commands
awkSearch for a pattern and perform an action
basenameRemove directory and suffix from filenames
calShow calendar
catDisplay file content
chgrpChange group ownership
chmodChange access permissions
cpCopy files or directories
cronSchedule tasks to run at specified times
curlTransfer data from or to a server
cutDivide file into various parts
dateDisplay the current date and time
ddConvert and copy files at data stream level
dfDisplay disk space usage
diffDisplay differences between files
dirnameDisplay the directory portion
duEstimate file space usage
echoDisplay text on terminal screen
emacsPowerful and customizable text editor
expandConvert tabs to spaces
fileDetermine file type
findSearch files or directories within a specified path
findmntDisplay info of mounted filesystems
fmtFormat paragraph text
foldWrap text to fit a specified width
freeCheck memory usage
fsckCheck and repair filesystem inconsistencies
grepSearch file(s) for lines that match a pattern
groupaddCreate a new security group
groupdelRemove a security group
groupmodModify a group
groupsDisplay group names of a user
headDisplay the first 10 lines of files
historyCommand history
hostnamePrint or set system name
idPrint user and group IDs
jobsList active jobs
killKill a process using its PID
killallTerminate processes by name
lessView file content one screen at a time
lnCreate symbolic links to files
locateFind file names quickly
lsList directory contents
lsofList open files
mkdirCreate new directories
mkfsCreate a filesystem on disk
moreView file content one screen at a time
ncNetwork utility for reading and writing data
nohupRun commands immune to hangups
nslookupPerform DNS lookups and query DNS servers
openOpen a file in its default application
passwdChange your password
pasteMerge lines of files
pingTest network connectivity
printfFormat and print data
psProcess status
quotaDisplay disk usage and limits for users
readRead line form standard input
rebootReboot the system
renameRename files
rmRemove files
rsyncRemote file copy
scpSecure copy remotely
screenTerminal multiplexer
sedStream editor
seqGenerate sequences of numbers
sleepDelay execution
sourceExecute script in the current shell
statDisplay file status
tailDisplay the last lines of a file
tarArchive files
teeRedirect output to multiple files
timeCheck program execution time
timeoutRun command with time limit
topDisplay running processes
touchCreate empty files
trTranslate characters
typeDescribe a command
ulimitLimit user resources
unamePrint system information
useraddCreate a new user
userdelRemove a user
usermodModify a user
vimText editor
watchRun command at intervals and show output
whoDisplay users currently logged in
xzCompress and decompress files
yesRepeatedly output a string
zipPackage and compress files
240102_Linux_Commands_001
https://younghakim7.github.io/blog/posts/240102_linux_commands_001/
Author
YoungHa
Published at
2024-01-02