Linux Commands
Technology 61 records updated 2026-07-19
Linux Commands, with command, category, description, and example.
Get this data
GET https://mysafeinfo.com/api/data/linuxcommands
Sort, page, randomize, and download with query parameters; see the documentation.
Without a key, responses return up to 50 rows. A pass returns all 61 records.
Try it live
Run a request against linuxcommands straight from your browser. Add your API key
to lift the row cap and return every record. The call goes to the API and nothing is stored here.
Preview
First 25 of 61 records. Click a column to sort these rows.
| ID | Command | Category | Description | Example |
|---|---|---|---|---|
| 1 | ls | File | List directory contents | ls -la |
| 2 | cd | File | Change the current working directory | cd /var/log |
| 3 | pwd | File | Print the current working directory | pwd |
| 4 | cp | File | Copy files and directories | cp file.txt backup.txt |
| 5 | mv | File | Move or rename files and directories | mv old.txt new.txt |
| 6 | rm | File | Remove files or directories | rm -rf build |
| 7 | mkdir | File | Create directories | mkdir -p src/utils |
| 8 | rmdir | File | Remove empty directories | rmdir olddir |
| 9 | touch | File | Create an empty file or update its timestamp | touch notes.txt |
| 10 | ln | File | Make links between files | ln -s target link |
| 11 | cat | Text | Concatenate and print file contents | cat file.txt |
| 12 | less | Text | View file contents one page at a time | less bigfile.log |
| 13 | head | Text | Output the first part of a file | head -n 20 file.txt |
| 14 | tail | Text | Output the last part of a file | tail -f app.log |
| 15 | echo | Text | Display a line of text | echo Hello |
| 16 | wc | Text | Count lines, words, and bytes in a file | wc -l file.txt |
| 17 | sort | Text | Sort lines of text | sort names.txt |
| 18 | uniq | Text | Report or omit repeated adjacent lines | uniq -c file.txt |
| 19 | cut | Text | Remove sections from each line of a file | cut -d: -f1 /etc/passwd |
| 20 | sed | Text | Stream editor for filtering and transforming text | sed "s/foo/bar/g" file.txt |
| 21 | awk | Text | Pattern scanning and text processing language | awk "{print $1}" file.txt |
| 22 | diff | Text | Compare files line by line | diff a.txt b.txt |
| 23 | tee | Text | Read from input and write to output and files | ls | tee out.txt |
| 24 | grep | Search | Search text for lines matching a pattern | grep -r "error" . |
| 25 | find | Search | Search for files in a directory hierarchy | find . -name "*.txt" |
Notes
- Last updated on July 19, 2026.
- Linux Commands data courtesy of Linux man pages (man7.org) . Used with permission.