Back to Home

Linux command list

The WebTerm terminal implements these commands. Each one runs in the browser and cannot touch the files on your machine. Commands worth learning first are marked ★, and the ones you meet next ☆.

Files and directories

  • corelsList directory contents
  • corecdChange directory
  • corepwdPrint working directory
  • corecatDisplay file contents
  • corelessView file page by page
  • moreView file page by page (simple)
  • corecpCopy files or directories
  • coremvMove or rename files/directories
  • corermRemove files or directories
  • rmdirRemove empty directories
  • coremkdirCreate directory
  • coretouchCreate file or update timestamp
  • lnCreate a symbolic link (-s; hard links are not supported)
  • corefindSearch for files and directories
  • locateFind files quickly
  • learn nexttreeDisplay directory tree
  • statDisplay file detailed information
  • fileDetermine file type
  • basenameStrip the directory part from a path
  • dirnamePrint the directory part of a path
  • truncateShrink or extend a file to a given size
  • ddCopy and convert files

Text processing

  • coregrepSearch for pattern in files
  • sedStream editor for text processing
  • awkPattern scanning and processing
  • learn nextsortSort lines of text files
  • uniqRemove duplicate adjacent lines
  • learn nextheadDisplay first part of file
  • learn nexttailDisplay last part of file
  • learn nextwcCount lines, words, and bytes
  • cutExtract fields
  • trTranslate or delete characters
  • diffShow differences between two files
  • teeRead from stdin and write to stdout and files
  • learn nextechoOutput text
  • printfPrint formatted output
  • seqGenerate sequence of numbers
  • xargsBuild and execute commands

Permissions and users

  • learn nextchmodChange file permissions
  • learn nextchownChange file owner and group
  • chgrpChange file group
  • umaskSet default file permission mask
  • whoamiPrint current username
  • idPrint user and group IDs
  • groupsShow the groups a user belongs to
  • suSwitch user
  • sudoRun a command as another user
  • passwdChange a password
  • useraddAdd a user
  • userdelDelete a user
  • usermodModify a user account
  • groupaddAdd a group
  • groupdelDelete a group
  • getentLook up entries in name service databases

Processes and system

  • learn nextpsDisplay process status
  • topReal-time process monitoring
  • learn nextkillSend signal to process
  • jobsList jobs
  • bgRun job in background
  • fgBring job to foreground
  • learn nextdfShow disk free space
  • learn nextduShow disk usage
  • freeShow memory usage
  • lsofList files opened by processes
  • unamePrint system information
  • hostnamePrint hostname
  • dateDisplay/set date and time
  • sleepWait for a given time
  • watchExecute command periodically
  • envShow environment variables
  • printenvPrint environment variables
  • systemctlSystem service management
  • journalctlShow systemd journal logs
  • crontabSchedule periodic tasks
  • mountMount filesystem

Archives and compression

  • learn nexttarCreate and extract archives
  • gzipCompress with gzip
  • gunzipDecompress gzip files
  • bzip2Compress with bzip2
  • bunzip2Decompress bzip2 files
  • zipCreate zip archive
  • unzipExtract zip archive

Networking

  • curlURL transfer
  • pingCheck network reachability
  • learn nextsshSecure shell connection
  • scpSecure copy
  • rsyncRemote synchronization
  • ssh-keygenGenerate an SSH key pair
  • ssh-copy-idInstall a public key on a remote server
  • ipShow and manage network configuration
  • nginxWeb server (configuration test)

Editors

  • learn nextvimText editor
  • viText editor

Version control

  • learn nextgitVersion control system

Databases

  • psqlPostgreSQL interactive terminal

Shell builtins and others

  • .Read and run a script in the current shell
  • :Do nothing (exit code 0)
  • sourceExecute script in current shell
  • aliasSet alias
  • exportExport environment variables
  • setSet shell options
  • unsetRemove variables
  • shiftShift positional parameters
  • testEvaluate condition
  • trueDo nothing, successfully (exit code 0)
  • falseDo nothing, unsuccessfully (exit code 1)
  • breakExit a loop
  • continueSkip to the next iteration of a loop
  • returnReturn from a function
  • exitExit shell
  • historyShow command history
  • clearClear screen
  • learn nextwhichShow command path
  • whereisLocate binary, source, and manual
  • learn nextmanShow manual
  • helpShow help
  • aptPackage manager
  • apt-getPackage manager (apt-get)
  • webtermShow information about this environment (version and copyright)

AI agents and TUI tools

  • claudeClaude Code (coding agent; WebTerm runs a stand-in)
  • codexOpenAI Codex CLI (coding agent; WebTerm runs a stand-in)
  • geminiGemini CLI (coding agent; WebTerm runs a stand-in)
  • grokGrok Build (xAI coding agent; WebTerm runs a stand-in)
  • cursor-agentCursor CLI (Cursor coding agent; WebTerm runs a stand-in)
  • agentAlias for the Cursor CLI (same as cursor-agent)
  • herdrTerminal workspace manager for coding agents