Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
319 changes: 319 additions & 0 deletions Linux Commands 5a0fecfb35fe4bfb83207c2dd8546149.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,319 @@
# Linux Commands

## Every Linux Commands I know A-Z

<aside>
💡 Follow me on twitter: twitter.com/xtremepentest

</aside>

| Command | Command Description |
| --- | --- |
| https://ss64.com/bash/bg.html | Start a new process in the background |
| https://ss64.com/bash/alias.html | Create an alias • |
| https://ss64.com/bash/apropos.html | Search Help manual pages (man -k) |
| https://ss64.com/bash/apt.html | Search for and install software packages (Debian/Ubuntu) |
| https://ss64.com/bash/apt-get.html | Search for and install software packages (Debian/Ubuntu) |
| https://ss64.com/bash/aptitude.html | Search for and install software packages (Debian/Ubuntu) |
| https://ss64.com/bash/aspell.html | Spell Checker |
| https://ss64.com/bash/at.html | Schedule a command to run once at a particular time |
| https://ss64.com/bash/awk.html | Find and Replace text, database sort/validate/index |
| | |
| https://ss64.com/bash/basename.html | Strip directory and suffix from filenames |
| https://ss64.com/bash/base32.html | Base32 encode/decode data and print to standard output |
| https://ss64.com/bash/base64.html | Base64 encode/decode data and print to standard output |
| https://ss64.com/bash/bash.html | GNU Bourne-Again SHell |
| https://ss64.com/bash/bc.html | Arbitrary precision calculator language |
| https://ss64.com/bash/bg.html | Send to background |
| https://ss64.com/bash/bind.html | Set or display readline key and function bindings • |
| https://ss64.com/bash/break.html | Exit from a loop • |
| https://ss64.com/bash/builtin.html | Run a shell builtin |
| https://ss64.com/bash/bzip2.html | Compress or decompress named file(s) |
| | |
| https://ss64.com/bash/cal.html | Display a calendar |
| https://ss64.com/bash/caller.html | Return the context of any active subroutine call • |
| https://ss64.com/bash/case.html | Conditionally perform a command |
| https://ss64.com/bash/cat.html | Concatenate and print (display) the content of files |
| https://ss64.com/bash/cd.html | Change Directory |
| https://ss64.com/bash/cfdisk.html | Partition table manipulator for Linux |
| https://ss64.com/bash/chattr.html | Change file attributes on a Linux file system |
| https://ss64.com/bash/chgrp.html | Change group ownership |
| https://ss64.com/bash/chmod.html | Change access permissions |
| https://ss64.com/bash/chown.html | Change file owner and group |
| https://ss64.com/bash/chpasswd.html | Update passwords in batch mode |
| https://ss64.com/bash/chroot.html | Run a command with a different root directory |
| https://ss64.com/bash/chkconfig.html | System services (runlevel) |
| https://ss64.com/bash/cksum.html | Print CRC checksum and byte counts |
| clear | Clear terminal screen |
| https://ss64.com/bash/cmp.html | Compare two files |
| https://ss64.com/bash/comm.html | Compare two sorted files line by line |
| https://ss64.com/bash/command.html | Run a command - ignoring shell functions • |
| https://ss64.com/bash/continue.html | Resume the next iteration of a loop • |
| https://ss64.com/bash/cp.html | Copy one or more files to another location |
| https://ss64.com/bash/cpio.html | Copy files to and from archives |
| https://ss64.com/bash/cron.html | Daemon to execute scheduled commands |
| https://ss64.com/bash/crontab.html | Schedule a command to run at a later time |
| https://ss64.com/bash/csplit.html | Split a file into context-determined pieces |
| https://ss64.com/bash/curl.html | Transfer data from or to a server |
| https://ss64.com/bash/cut.html | Divide a file into several parts |
| | |
| https://ss64.com/bash/date.html | Display or change the date & time |
| https://ss64.com/bash/dc.html | Desk Calculator |
| https://ss64.com/bash/dd.html | Data Duplicator - convert and copy a file, write disk headers, boot records |
| https://ss64.com/bash/ddrescue.html | Data recovery tool |
| https://ss64.com/bash/declare.html | Declare variables and give them attributes • |
| https://ss64.com/bash/df.html | Display free disk space |
| https://ss64.com/bash/diff.html | Display the differences between two files |
| https://ss64.com/bash/diff3.html | Show differences among three files |
| https://ss64.com/bash/dig.html | DNS lookup |
| https://ss64.com/bash/dir.html | Briefly list directory contents |
| https://ss64.com/bash/dircolors.html | Colour setup for 'ls' |
| https://ss64.com/bash/dirname.html | Convert a full pathname to just a path |
| https://ss64.com/bash/dirs.html | Display list of remembered directories |
| https://ss64.com/bash/dos2unix.html | Windows/MAC to UNIX text file format converter |
| https://ss64.com/bash/dmesg.html | Print kernel & driver messages |
| https://ss64.com/bash/dpkg.html | Package manager (Debian/Ubuntu). |
| https://ss64.com/bash/du.html | Estimate file space usage |
| | |
| https://ss64.com/bash/echo.html | Display message on screen • |
| https://ss64.com/bash/egrep.html | Search file(s) for lines that match an extended expression |
| https://ss64.com/bash/eject.html | Eject removable media |
| https://ss64.com/bash/enable.html | Enable and disable builtin shell commands • |
| https://ss64.com/bash/env.html | Environment variables |
| ethtool | Ethernet card settings |
| https://ss64.com/bash/eval.html | Evaluate several commands/arguments |
| https://ss64.com/bash/exec.html | Execute a command |
| https://ss64.com/bash/exit.html | Exit the shell |
| https://ss64.com/bash/expand.html | Convert tabs to spaces |
| https://ss64.com/bash/export.html | Set an environment variable |
| https://ss64.com/bash/expr.html | Evaluate expressions |
| | |
| https://ss64.com/bash/false.html | Do nothing, unsuccessfully |
| https://ss64.com/bash/fdformat.html | Low-level format a floppy disk |
| https://ss64.com/bash/fdisk.html | Partition table manipulator for Linux |
| https://ss64.com/bash/fg.html | Send job to foreground |
| https://ss64.com/bash/fgrep.html | Search file(s) for lines that match a fixed string |
| https://ss64.com/bash/file.html | Determine file type |
| https://ss64.com/bash/find.html | Search for files that meet a desired criteria |
| https://ss64.com/bash/fmt.html | Reformat paragraph text |
| https://ss64.com/bash/fold.html | Wrap text to fit a specified width |
| https://ss64.com/bash/for.html | Expand words, and execute commands |
| format | Format disks or tapes |
| free | Display memory usage |
| https://ss64.com/bash/fsck.html | File system consistency check and repair |
| https://ss64.com/bash/ftp.html | File Transfer Protocol |
| https://ss64.com/bash/function.html | Define Function Macros |
| https://ss64.com/bash/fuser.html | Identify/kill the process that is accessing a file |
| | |
| https://ss64.com/bash/awk.html | Find and Replace text within file(s) |
| https://ss64.com/bash/getopts.html | Parse positional parameters |
| https://ss64.com/bash/grep.html | Search file(s) for lines that match a given pattern |
| https://ss64.com/bash/groupadd.html | Add a user security group |
| https://ss64.com/bash/groupdel.html | Delete a group |
| https://ss64.com/bash/groupmod.html | Modify a group |
| https://ss64.com/bash/groups.html | Print group names a user is in |
| https://ss64.com/bash/gzip.html | Compress or decompress named file(s) |
| | |
| https://ss64.com/bash/hash.html | Remember the full pathname of a name argument |
| https://ss64.com/bash/head.html | Output the first part of file(s) |
| help | Display help for a built-in command • |
| https://ss64.com/bash/history.html | Command History |
| https://ss64.com/bash/hostname.html | Print or set system name |
| https://ss64.com/bash/htop.html | Interactive process viewer |
| | |
| https://ss64.com/bash/iconv.html | Convert the character set of a file |
| https://ss64.com/bash/id.html | Print user and group id's |
| https://ss64.com/bash/if.html | Conditionally perform a command |
| https://ss64.com/bash/ifconfig.html | Configure a network interface |
| https://ss64.com/bash/ifup.html | Stop a network interface |
| https://ss64.com/bash/ifup.html | Start a network interface up |
| https://ss64.com/bash/import.html | Capture an X server screen and save the image to file |
| https://ss64.com/bash/install.html | Copy files and set attributes |
| https://ss64.com/bash/iostat.html | Report CPU and i/o statistics |
| https://ss64.com/bash/ip.html | Routing, devices and tunnels |
| | |
| https://ss64.com/bash/jobs.html | List active jobs • |
| https://ss64.com/bash/join.html | Join lines on a common field |
| | |
| https://ss64.com/bash/kill.html | Kill a process by specifying its PID |
| https://ss64.com/bash/killall.html | Kill processes by name |
| | |
| https://ss64.com/bash/less.html | Display output one screen at a time |
| https://ss64.com/bash/let.html | Perform arithmetic on shell variables • |
| https://ss64.com/bash/link.html | Create a link to a file |
| https://ss64.com/bash/ln.html | Create a symbolic link to a file |
| https://ss64.com/bash/local.html | Create a function variable • |
| https://ss64.com/bash/locate.html | Find files |
| https://ss64.com/bash/logname.html | Print current login name |
| https://ss64.com/bash/logout.html | Exit a login shell • |
| https://ss64.com/bash/look.html | Display lines beginning with a given string |
| https://ss64.com/bash/lpc.html | Line printer control program |
| https://ss64.com/bash/lpr.html | Print files |
| lprint | Print a file |
| lprintd | Delete a print job |
| lprintq | List the print queue |
| https://ss64.com/bash/lprm.html | Remove jobs from the print queue |
| https://ss64.com/bash/lsattr.html | List file attributes on a Linux second extended file system |
| https://ss64.com/bash/lsblk.html | List block devices |
| https://ss64.com/bash/ls.html | List information about file(s) |
| https://ss64.com/bash/lsof.html | List open files |
| https://ss64.com/bash/lspci.html | List all PCI devices |
| | |
| make | Recompile a group of programs |
| https://ss64.com/bash/man.html | Help manual |
| https://ss64.com/bash/mapfile.html | Read lines from standard input into an indexed array variable • |
| https://ss64.com/bash/mkdir.html | Create new folder(s) |
| https://ss64.com/bash/mkfifo.html | Make FIFOs (named pipes) |
| https://ss64.com/bash/mkfile.html | Make a file |
| mkisofs | Create a hybrid ISO9660/JOLIET/HFS filesystem |
| https://ss64.com/bash/mknod.html | Make block or character special files |
| https://ss64.com/bash/mktemp.html | Make a temporary file |
| https://ss64.com/bash/more.html | Display output one screen at a time |
| https://ss64.com/bash/most.html | Browse or page through a text file |
| https://ss64.com/bash/mount.html | Mount a file system |
| https://ss64.com/bash/mtools.html | Manipulate MS-DOS files |
| https://ss64.com/bash/mtr.html | Network diagnostics (traceroute/ping) |
| https://ss64.com/bash/mv.html | Move or rename files or directories |
| https://ss64.com/bash/mmv.html | Mass Move and rename (files) |
| | |
| https://ss64.com/bash/nc.html | Netcat, read and write data across networks |
| https://ss64.com/bash/netstat.html | Networking connections/stats |
| https://ss64.com/bash/nft.html | nftables for packet filtering and classification |
| https://ss64.com/bash/nice.html | Set the priority of a command or job |
| https://ss64.com/bash/nl.html | Number lines and write files |
| https://ss64.com/bash/nohup.html | Run a command immune to hangups |
| https://ss64.com/bash/notify-send.html | Send desktop notifications |
| https://ss64.com/bash/nslookup.html | Query Internet name servers interactively |
| | |
| https://ss64.com/bash/open.html | Open a file in its default application |
| https://ss64.com/bash/op.html | Operator access |
| | |
| https://ss64.com/bash/passwd.html | Modify a user password |
| https://ss64.com/bash/paste.html | Merge lines of files |
| pathchk | Check file name portability |
| https://ss64.com/bash/perf.html | Performance analysis tools for Linux |
| https://ss64.com/bash/ping.html | Test a network connection |
| https://ss64.com/bash/pkill.html | List processes by name |
| https://ss64.com/bash/pkill.html | Kill processes by name |
| https://ss64.com/bash/popd.html | Restore the previous value of the current directory |
| https://ss64.com/bash/pr.html | Prepare files for printing |
| printcap | Printer capability database |
| https://ss64.com/bash/printenv.html | Print environment variables |
| https://ss64.com/bash/printf.html | Format and print data • |
| https://ss64.com/bash/ps.html | Process status |
| https://ss64.com/bash/pushd.html | Save and then change the current directory |
| https://ss64.com/bash/pv.html | Monitor the progress of data through a pipe |
| https://ss64.com/bash/pwd.html | Print Working Directory |
| | |
| https://ss64.com/bash/quota.html | Display disk usage and limits |
| https://ss64.com/bash/quotacheck.html | Scan a file system for disk usage |
| | |
| https://ss64.com/bash/ram.html | ram disk device |
| https://ss64.com/bash/rar.html | Archive files with compression |
| https://ss64.com/bash/rcp.html | Copy files between two machines |
| https://ss64.com/bash/read.html | Read a line from standard input • |
| https://ss64.com/bash/mapfile.html | Read from stdin into an array variable • |
| https://ss64.com/bash/readonly.html | Mark variables/functions as readonly |
| reboot | Reboot the system |
| https://ss64.com/bash/rename.html | Rename files |
| renice | Alter priority of running processes |
| remsync | Synchronize remote files via email |
| https://ss64.com/bash/return.html | Exit a shell function |
| https://ss64.com/bash/rev.html | Reverse lines of a file |
| https://ss64.com/bash/rm.html | Remove files |
| https://ss64.com/bash/rmdir.html | Remove folder(s) |
| https://ss64.com/bash/rsync.html | Remote file copy (Synchronize file trees) |
| | |
| https://ss64.com/bash/screen.html | Multiplex terminal, run remote shells via ssh |
| https://ss64.com/bash/scp.html | Secure copy (remote file copy) |
| https://ss64.com/bash/sdiff.html | Merge two files interactively |
| https://ss64.com/bash/sed.html | Stream Editor |
| https://ss64.com/bash/select.html | Accept user choices via keyboard input |
| https://ss64.com/bash/seq.html | Print numeric sequences |
| https://ss64.com/bash/set.html | Manipulate shell variables and functions |
| sftp | Secure File Transfer Program |
| https://ss64.com/bash/shift.html | Shift positional parameters |
| https://ss64.com/bash/shopt.html | Shell Options |
| https://ss64.com/bash/shuf.html | Generate random permutations |
| https://ss64.com/bash/shutdown.html | Shutdown or restart linux |
| https://ss64.com/bash/sleep.html | Delay for a specified time |
| https://ss64.com/bash/slocate.html | Find files |
| https://ss64.com/bash/sort.html | Sort text files |
| https://ss64.com/bash/source.html | Run commands from a file '.'  • |
| https://ss64.com/bash/split.html | Split a file into fixed-size pieces |
| https://ss64.com/bash/ss.html | Socket Statistics |
| https://ss64.com/bash/ssh.html | Secure Shell client (remote login program) |
| https://ss64.com/bash/stat.html | Display file or file system status |
| https://ss64.com/bash/strace.html | Trace system calls and signals |
| https://ss64.com/bash/su.html | Substitute user identity |
| https://ss64.com/bash/sudo.html | Execute a command as another user |
| https://ss64.com/bash/sum.html | Print a checksum for a file |
| https://ss64.com/bash/suspend.html | Suspend execution of this shell • |
| https://ss64.com/bash/sync.html | Synchronize data on disk with memory |
| | |
| https://ss64.com/bash/tail.html | Output the last part of a file |
| https://ss64.com/bash/tar.html | Store, list or extract files in an archive |
| https://ss64.com/bash/tee.html | Redirect output to multiple files |
| https://ss64.com/bash/test.html | Evaluate a conditional expression |
| https://ss64.com/bash/time.html | Measure Program running time |
| https://ss64.com/bash/timeout.html | Run a command with a time limit |
| https://ss64.com/bash/times.html | User and system times |
| https://ss64.com/bash/tmux.html | Terminal multiplexer |
| https://ss64.com/bash/touch.html | Change file timestamps |
| https://ss64.com/bash/top.html | List processes running on the system |
| https://ss64.com/bash/tput.html | Set terminal-dependent capabilities, color, position |
| https://ss64.com/bash/traceroute.html | Trace Route to Host |
| https://ss64.com/bash/trap.html | Execute a command when the shell receives a signal • |
| https://ss64.com/bash/tr.html | Translate, squeeze, and/or delete characters |
| https://ss64.com/bash/true.html | Do nothing, successfully |
| https://ss64.com/bash/tsort.html | Topological sort |
| https://ss64.com/bash/tty.html | Print filename of terminal on stdin |
| https://ss64.com/bash/type.html | Describe a command • |
| | |
| https://ss64.com/bash/ulimit.html | Limit user resources • |
| https://ss64.com/bash/umask.html | Users file creation mask |
| umount | Unmount a device |
| https://ss64.com/bash/alias.html | Remove an alias • |
| https://ss64.com/bash/uname.html | Print system information |
| https://ss64.com/bash/unexpand.html | Convert spaces to tabs |
| https://ss64.com/bash/uniq.html | Uniquify files |
| https://ss64.com/bash/units.html | Convert units from one scale to another |
| https://ss64.com/bash/unix2dos.html | UNIX to Windows or MAC text file format converter |
| https://ss64.com/bash/unrar.html | Extract files from a rar archive |
| https://ss64.com/bash/unset.html | Remove variable or function names |
| https://ss64.com/bash/unshar.html | Unpack shell archive scripts |
| https://ss64.com/bash/until.html | Execute commands (until error) |
| uptime | Show uptime |
| https://ss64.com/bash/useradd.html | Create new user account |
| https://ss64.com/bash/userdel.html | Delete a user account |
| https://ss64.com/bash/usermod.html | Modify user account |
| https://ss64.com/bash/users.html | List users currently logged in |
| https://ss64.com/bash/uuencode.html | Encode a binary file |
| https://ss64.com/bash/uuencode.html | Decode a file created by uuencode |
| | |
| v | Verbosely list directory contents ('ls -l -b') |
| vdir | Verbosely list directory contents ('ls -l -b') |
| https://ss64.com/vi.html | Text Editor |
| https://ss64.com/bash/vmstat.html | Report virtual memory statistics |
| | |
| https://ss64.com/bash/w.html | Show who is logged on and what they are doing |
| https://ss64.com/bash/wait.html | Wait for a process to complete • |
| https://ss64.com/bash/watch.html | Execute/display a program periodically |
| https://ss64.com/bash/wc.html | Print byte, word, and line counts |
| https://ss64.com/bash/whereis.html | Search the user's $path, man pages and source files for a program |
| https://ss64.com/bash/which.html | Search the user's $path for a program file |
| https://ss64.com/bash/while.html | Execute commands |
| https://ss64.com/bash/who.html | Print all usernames currently logged in |
| https://ss64.com/bash/whoami.html | Print the current user id and name ('id -un') |
| wget | Retrieve web pages or files via HTTP, HTTPS or FTP |
| https://ss64.com/bash/write.html | Send a message to another user |
| | |
| https://ss64.com/bash/xargs.html | Execute utility, passing constructed argument list(s) |
| https://ss64.com/bash/xdg-open.html | Open a file or URL in the user's preferred application. |
| https://ss64.com/bash/xxd.html | Make a hexdump or do the reverse |
| https://ss64.com/bash/xz.html | Compress or decompress .xz and .lzma files |
| https://ss64.com/bash/yes.html | Print a string until interrupted |
| https://ss64.com/bash/zip.html | Package and compress (archive) files |
| https://ss64.com/bash/source.html | https://ss64.com/bash/source.html a command script in the current shell |
| https://ss64.com/bash/bang.html | Run the https://ss64.com/bash/bang.html command again |
| https://ss64.com/bash/rem.html | Comment / https://ss64.com/bash/rem.htmlark |
Loading