← Back to HomeLinux 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)
- lesspipeInput preprocessor for less
- ★corecpCopy files or directories
- ★coremvMove or rename files/directories
- ★corermRemove files or directories
- rmdirRemove empty directories
- ★coremkdirCreate directory
- ★coretouchCreate file or update timestamp
- mktempCreate a temporary file or directory
- lnCreate hard links or symbolic links (-s)
- ★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
- readlinkPrint a symbolic link target or canonical path
Text processing
- ★coregrepSearch for pattern in files
- ☆learn nextsedStream 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
- expandConvert tabs to spaces
- odDump bytes in octal, hex, decimal or as characters
- sha256sumCompute SHA-256 checksums
- base64Base64 encode or decode data
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
- newgrpSwitch to another group in a new shell
- sgRun a command as another group
- suSwitch user
- ☆learn nextsudoRun a command as another user
- passwdChange a password
- useraddAdd a user
- userdelDelete a user
- usermodModify a user account
- groupaddAdd a group
- groupdelDelete a group
- gpasswdAdminister group membership
- adduserAdd a user (Debian frontend that also sets the password)
- addgroupAdd a group (Debian frontend)
- deluserDelete a user (Debian frontend)
- delgroupDelete a group (Debian frontend)
- 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
- serviceControl a service through systemctl or an init script
- journalctlShow systemd journal logs
- crontabSchedule periodic tasks
- mountMount filesystem
- lsblkList block devices
- findmntFind mounted file systems
- localeShow the locale settings and available locales
- uptimeShow how long the system has been up and the load average
- wShow who is logged in and what they are doing
- whoShow who is logged in
- pgrepFind processes by name and print their PIDs
- pkillSend a signal to processes found by name
- killallSend a signal to all processes with a given name
- fuserShow which processes use a file or port
Archives and compression
- ☆learn nexttarCreate and extract archives
- gzipCompress with gzip
- gunzipDecompress gzip files
- zcatDecompress gzip files to standard output
- bzip2Compress with bzip2
- bunzip2Decompress bzip2 files
- zipCreate zip archive
- unzipExtract zip archive
Networking
- ☆learn nextcurlURL 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)
- ssShow network sockets and listening ports
Editors
- ☆learn nextvimText editor
- viText editor
- nanoSimple, beginner-friendly text editor
- editorOpen the system's default text editor
- update-alternativesChoose which program provides a command such as 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
- evalExecute arguments as a shell command
- bashRun a shell script (bash)
- shRun a shell script (sh)
- aliasSet alias
- unaliasRemove alias
- exportExport environment variables
- setSet shell options
- shoptSet and unset 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
- logoutExit a login shell
- historyShow command history
- clearClear screen
- dircolorsColor setup for ls
- ☆learn nextwhichShow command path
- whereisLocate binary, source, and manual
- ☆learn nextmanShow manual
- helpShow help
- aptPackage manager
- apt-getPackage manager (apt-get)
- nodeRun a JavaScript file with Node.js (once installed)
- 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
- tmuxTerminal multiplexer (split panes, detach sessions)
- cmatrixFill the screen with falling characters, like in The Matrix