Linux-Cli-Tutorial(by Saman Khalife)
  • Characters
  • Linux Commands
  • Quick review for commands
  • Config file parameters you can use
  • .github
    • ISSUE_TEMPLATE
      • bug_report
  • Editors-for-command-line
  • TOOLs and APPs
    • Iptables
    • Ufw
      • man
  • Git Commands
  • Installing tools and apps
    • Check-used-ports
    • Clear the cache memory in Linux
    • ulimit
    • ulimit
    • Installing WordPress with Apache
    • Installing WordPress with Nginx
    • what packages are installed by apt
    • wildcard characters for globbing
  • Lpic 1
    • LPIC-1 Exam 101 (101-500) Exam
    • LPIC-1 Exam 101 Objectives
    • how to use lvm snapshots
    • LPIC-1 Exam 102 Objectives
  • Lpic 2
    • how to use lvm
    • LPIC-2 Exam 201 Objectives
    • LPIC-1 Exam 102 (102-500) Exam
    • LPIC-2 Exam 202 Objectives
  • Lpic 3
    • LPIC-2 Exam 201 (201-450) Exam
    • LPIC-3 High Availability and Storage Clusters 306 Objectives
    • LPIC-2 Exam 202 (202-450) Exam
    • LPIC-3 Mixed Environments 300 Objectives.md
    • LPIC-3 High Availability and Storage Clusters 306 Exam
    • LPIC-3 Security Exam 303 Objectives
    • LPIC-3 High Availability and Storage Clusters 306 Objectives
    • LPIC-3 Virtualization and Containerization 305 Objectives
  • TXT FILES
    • accept
    • accton
    • aclocal
    • acpi
    • acpid
    • addr2line
    • addresses
    • agetty
    • alias
    • alsactl
    • amidi
    • amixer
    • anacron
    • apachetop
    • aplay
    • aplaymidi
    • apm
    • apmd
    • apropos
    • apt-get
    • apt
    • aptitude
    • ar
    • arecord
    • arecordmidi
    • arp
    • aspell
    • at
    • atd
    • atop
    • aumix
    • autoconf
    • autoheader
    • automake
    • autoreconf
    • autoscan
    • badblocks
    • banner
    • basename
    • batch
    • bc
    • bg
    • biff
    • bind
    • bison
    • break
    • builtin
    • bzcmp
    • bzdiff
    • bzgrep
    • bzip2
    • cal
    • cardctl
    • cardmgr
    • case
    • cat
    • cc
    • ccrypt
    • cd
    • cdparanoia
    • cfdisk
    • chage
    • chdir
    • chfn
    • chgrp
    • chkconfig
    • chmod
    • chown
    • chpasswd
    • chroot
    • chrt
    • chsh
    • chvt
    • cksum
    • clorm
    • cloumn
    • cmp
    • comm
    • compress
    • continue
    • cp
    • cpio
    • cron
    • crond
    • crontab
    • csplit
    • ctags
    • cupsd
    • curl
    • cut
    • cvs
    • date
    • dd
    • ddrescue
    • debugfs
    • declare
    • depmod
    • devdump
    • df
    • diff
    • dig
    • dircolors
    • dirname
    • disable
    • dlpsh
    • dmesg
    • dmidecode
    • dnsdomainname
    • dnssec-makekeyset
    • dnssec-signkey
    • dnssec-signzone
    • dnssec
    • doexec
    • domainname
    • dosfsck
    • dstat
    • du
    • dump
    • dumpe2fs.
    • dumpkeys
    • e2fsck
    • e2image
    • e2label
    • echo
    • ed
    • edquota
    • eject
    • elvtune
    • emacs
    • enable
    • env
    • envsubst
    • esd-config
    • esd
    • esdcat
    • esdctl
    • esddsp
    • esdmon
    • esdplay
    • esdrec
    • esdsample
    • etags
    • ethtool
    • eval
    • ex
    • exec
    • exit
    • expand
    • expect
    • export
    • expr
    • factor
    • false
    • fc-cache
    • fc-list
    • fc
    • fdformat
    • fdisk
    • fg
    • fgrep
    • file
    • find
    • finger
    • flex
    • fmt
    • fold
    • for
    • formail
    • format
    • free
    • fsck
    • ftpd
    • function
    • g++
    • gawk
    • gdb
    • getent
    • getkeycodes
    • getopts
    • goaccess
    • gorupmod
    • gpasswd
    • gpgsplit
    • gpgv
    • gpm
    • gprof
    • grep
    • groff
    • groffer
    • groupadd
    • groupdel
    • groups
    • grpck
    • grpconv
    • gs
    • gunzip
    • gzexe
    • gzip
    • halt
    • hash
    • hdparm
    • head
    • help
    • hexdump
    • history
    • host
    • hostid
    • hostname
    • hostnamectl
    • htdigest
    • htop
    • hwclock
    • iconv
    • id
    • if
    • ifconfig
    • iftop
    • ifup
    • import
    • inetd
    • info
    • init
    • insmod
    • install
    • iostat
    • iotop
    • ip
    • ipcrm
    • ipcs
    • iptables-restore
    • iptables
    • isodump
    • isoinfo
    • isosize
    • isovfy
    • ispell
    • iwconfig
    • jnettop
    • jobs
    • join
    • journalctl
    • kbdrate
    • kill
    • killall
    • klogd
    • kudzu
    • last
    • lastlog
    • ld
    • ldconfig
    • ldd
    • less
    • lesskey
    • let
    • lftp
    • lftpget
    • link
    • ln
    • loadkeys
    • local
    • locate
    • lockfile
    • logger
    • login
    • logout
    • logrotate
    • logwatch
    • look
    • losetup
    • lpadmin
    • lpc
    • lpinfo
    • lpmove
    • lpq
    • lpr
    • lprint
    • lprintq
    • lprm
    • lpstat
    • ls
    • lsatb
    • lsattr
    • lsblk
    • lshw
    • lsmod
    • lsof
    • lspci
    • lsusb
    • mail
    • mailstats
    • make
    • makedbm
    • makemap
    • man
    • manpath
    • mattrib
    • mbadblocks
    • mcat
    • mcd
    • mcopy
    • mdu
    • merge
    • mesg
    • mformat
    • mkdir
    • mkfs
    • mkraid
    • mktemp
    • mlabel
    • mmove
    • modinfo
    • LPIC-3 Mixed Environments 300 Exam
    • most
    • mount
    • mountd
    • mpartition
    • mpstat
    • mv
    • named
    • nameif
    • neofetch
    • netcat
    • netstat
    • newaliases
    • newgrp
    • newusers
    • nfsstat
    • nice
    • nl
    • nm
    • nmcli
    • nohup
    • nslookup
    • nsupdate
    • objcopy
    • objdump
    • od
    • op
    • open
    • openvt
    • passwd
    • paste
    • patch
    • pathchk
    • pgrep
    • pidof
    • ping
    • pkill
    • pmap
    • popd
    • portmap
    • poweroff
    • pppd
    • pr
    • praliases
    • printcap
    • printenv
    • printf
    • ps
    • ptx
    • pushd
    • pv
    • pwck
    • pwconv
    • pwd
    • quota
    • quotacheck
    • quotactl
    • quotaoff
    • quotaon
    • quotastats
    • raidstart
    • ram
    • ramsize
    • ranlib
    • rar
    • rarpd
    • rcp
    • rdev
    • rdist
    • read
    • readarray
    • readcd
    • readelf
    • readlink
    • readonly
    • reboot
    • reject
    • rename
    • renice
    • repquota
    • reset
    • restore
    • return
    • rev
    • rexecd
    • rlogin
    • rlogind
    • rm
    • rmail
    • rmdir
    • rmmod
    • rndc
    • rootflags
    • route
    • routed
    • rpcgen
    • rpcinfo
    • rpm
    • rsh
    • rshd
    • rsync
    • runlevel
    • rup
    • rusers
    • rusersd
    • rwall
    • rwho
    • rwhod
    • sane-find-scanner
    • sar
    • scanadf
    • scanimage
    • scp
    • screen
    • script
    • scriptreplay
    • sdiff
    • sed
    • select
    • sensors
    • seq
    • service
    • set
    • setfdprm
    • setkeycodes
    • setleds
    • setmetamode
    • setquota
    • setsid
    • setterm
    • sftp
    • sh
    • shift
    • shopt
    • showkey
    • showmount
    • shred
    • shutdown
    • skill
    • slabtop
    • slacttach
    • sleep
    • slocate
    • snice
    • sort
    • source
    • split
    • ss
    • ssh-add
    • ssh-agent
    • ssh-keygen
    • ssh-keyscan
    • ssh
    • stat
    • statd
    • strfile
    • strings
    • strip
    • stty
    • su
    • sudo
    • sum
    • suspend
    • swapoff
    • swapon
    • symlink
    • sysctl
    • sysklogd
    • syslogd
    • systemctl
    • Systemd
    • tac
    • tail
    • tailf
    • talkd
    • tar
    • taskset
    • tcpdump
    • tcpslice
    • tee
    • telinit
    • telnet
    • terminator
    • tfdp
    • tftpd
    • tmpwatch
    • top
    • touch
    • tput
    • tr
    • tracepath
    • traceroute
    • trap
    • tree
    • tset
    • tty
    • tune2fs
    • tunelp
    • type
    • ul
    • unalias
    • uname
    • uncompress
    • unexpand
    • unicode_start
    • unicode_stop
    • uniq
    • units
    • unix2dos
    • unshar
    • until
    • uptime
    • useradd
    • usermod
    • usleep
    • uudecode
    • uuencode
    • uuidgen
    • vidmode
    • vmstat
    • vnstat
    • w
    • wall
    • warnquota
    • watch
    • wc
    • wget
    • whatis
    • which
    • while
    • who
    • whoami
    • write
    • xargs
    • xdg-open
    • xinetd
    • xz
    • yacc
    • ypbind
    • ypcat
    • ypinit
    • ypmatch
    • yppasswd
    • yppasswdd
    • yppoll
    • yppush
    • ypset
    • yptest
    • ypwhich
    • ypxfr
    • zcat
    • zcmp
    • zdiff
    • zdump
    • zforce
    • zgrep
    • zic
    • zip
    • zless
    • znew
    • readme
      • Some basic info about Cloud Computing model and SRE's
      • Ansible Automation
      • Backup and Recovery
      • Linux File Systems and Storage Management
      • Linux Networking
      • shell-scripting
      • LPIC-3 Mixed Environments 300 Objectives
    • File-systems-Cocepts
      • LPIC1-101
        • LPIC-3 Security Exam 303 Exam
        • /dev/
        • /etc/apt/sources.list
        • /etc/fstab
        • /etc/init.d/
        • LPIC-3 Virtualization and Containerization 305 Exam
        • /etc/ld.so.conf
        • /etc/systemd
        • /etc/yum.conf
        • /etc/yum.repos.d/
        • LPIC-3 Virtualization and Containerization 305 Objectives
        • /media
        • /proc/
        • modprobe
        • /sys/
        • /usr/lib/systemd/user/
        • -boot
        • .bash_history
        • Application container
        • BIOS
        • D-Bus machine ID
        • EFI System Partition
        • Guest drivers
        • LD_LIBRARY_PATH
        • Linux containers
        • MBR
        • Quoting
        • SSH host keys
        • SysVinit
        • UEFI
        • VFAT
        • VMs
        • XFS
        • -etc-inittab
        • -home
        • bootloader
        • -root
        • -var
        • dpkg-reconfigure
        • apt-cache
        • bash
        • exFAT
        • ext2/ext3/ext4
        • bunzip2
        • bzcat
        • dpkg
        • Grub-install
        • grub-mkconfig
        • initramfs
        • kernel
        • egrep
        • file globbing
        • filesystem
        • gdisk
        • menu.lst, grub.cfg and grub.conf
        • Partitions
        • regex(7)
        • rpm2cpio
        • sha256sum
        • sha512sum
        • mke2fs
        • mkswap
        • mount points
        • parted
        • swap space
        • tmux
        • umask
        • umount
        • unset
        • unxz
        • updatedb
        • whereis
        • xfs_db
        • xfs_fsr
        • xfs_repair - Copy (2)
      • LPIC1-102
        • xfs_repair
        • xzcat
        • yum
        • zypper
        • -etc-X11-xorg.conf
        • -etc-X11-xrog.conf.d
        • -etc-at.allow
        • -etc-at.deny
        • -etc-bash.bashrc
        • -etc-chrony.conf
        • -etc-cron.allow
        • -etc-cron.deny
        • -etc-cron
        • -etc-crontab
        • -etc-cups
        • -etc-group
        • -etc-hostname
        • -etc-hosts.allow
        • -etc-hosts.deny
        • -etc-hosts
        • -etc-init.d-
        • -etc-inittab
        • -etc-localhost
        • -etc-localtime
        • -etc-logrotate.conf
        • -etc-logrotate.d-
        • -etc-nologin
        • -etc-nsswitches.conf
        • -etc-nto.conf
        • -etc-ntp.conf
        • -etc-passwd
        • -etc-profile
        • -etc-resolv.conf
        • -etc-rsyslog.conf
        • -etc-services
        • -etc-shadow
        • -etc-skel-
        • -etc-ssh-ssh_host_dsa_key and ssh_host_dsa_key.pub
        • -etc-ssh-ssh_host_ecdsa_key and ssh_host_ecdsa_key.pub
        • -etc-ssh-ssh_host_ed25519_key and ssh_host_ed25519_key.pub
        • -etc-ssh-ssh_host_rsa_key and ssh_host_rsa_key.pub
        • -etc-sudoers
        • -etc-systemd-journald.conf
        • -etc-timezone
        • -etc-updatedb.conf
        • -etc-xinetd.conf
        • -etc-xinetd.d-
        • -usr-bin-locale
        • -usr-share-zoneinfo
        • -usr-share-zoninfo
        • -var-log-journal
        • -var-log
        • DISPLAY
        • -var-spool-cron
        • ASCII
        • Gnome
        • Braille Display.
        • CUPS configuration files, tools and utilities
        • Gesture
        • KDE
        • Gestures.
        • High ContrastLarge Print Desktop Themes.
        • IPv4-IPv6
        • ISO-8859
        • LANG
        • LC_
        • LC_ALL
        • Logical OR
        • Mouse keys
        • On-Screen Keyboard.
        • RDP
        • Screen Magnifier.
        • Screen Reader
        • Slow-Bounce-Toggle keys
        • Spice
        • Sticky-Repeat keys
        • Subnetting
        • TCP-UDP-ICMP
        • TZ
        • X
        • UTF-8
        • XDMCP
        • Xfce
        • Unicode
        • VNC
        • Voice recognition
        • X11
        • atq
        • atrm
        • chronyc
        • exim
        • fuser
        • gpg-agent
        • gpg
        • groupmod
        • ifdown
        • logic and
        • logic or
        • lpd legacy interface
        • mailq
        • nmap
        • ntpd
        • ntpdate
        • ping6
        • pool.ntp.org
        • postfix
        • sendmail emulation layer commands
        • sendmail
        • ssh_known_hosts
        • systemd-cat
        • systemd-run
        • systemd.socket
        • test
        • timedatectl
        • tracepath6
        • traceroute6
        • tzselect
        • xauth
        • ulimit
        • unset
        • userdel
        • who, w, last
        • xhost
        • ~-.bash_login
        • ~-.bash_logout
        • ~-.bash_profile
        • ~-.bashrc
        • ~-.forward
        • ~-.gnupg-
        • ~-.profile
        • ~-.ssh-authorized_keys
        • ~-.ssh-id_dsa and id_dsa.pub
      • LPIC2-201
        • /bin/dmesg
        • /bin/uname
        • Device Naming Conventions
        • /dev/mapper/
        • /etc/auto.[dir]
        • /etc/auto.master
        • ~-.ssh-id_ecdsa and id_ecdsa.pub
        • /etc/hostname and /etc/HOSTNAME
        • /etc/hosts.allow , /etc/hosts.deny
        • /etc/hosts
        • /etc/init.d/
        • /etc/inittab
        • /etc/mtab
        • /etc/network and /etc/sysconfig/network-scripts
        • /etc/rc.d/
        • /etc/resolv.conf
        • /etc/sysctl.conf
        • /etc/systemd/
        • /etc/udev/
        • /proc/mdstat
        • ~-.ssh-id_ed25519 and id_ed25519.pub
        • /proc/sys/kernel/
        • /run/systemd/
        • /sbin/depmod
        • /sbin/insmod
        • /sbin/lsmod
        • /sbin/lspci
        • lv
        • /sbin/modinfo
        • /sbin/modprobe
        • pv
        • /sbin/rmmod
        • ~-.ssh-id_rsa and id_rsa.pub
        • LVM Volume Group (vg)
        • /usr/bin/lsdev
        • /usr/bin/lsusb
        • /usr/src
        • EFI System Partition (ESP)
        • GRUB
        • Master boot record
        • ~-.xsesion-errors
        • /boot , /boot/grub , /boot/efi
        • UEFI shell
        • WWID, WWN, LUN numbers
        • blkid
        • blocks in
        • blocks out
        • btrfs, btrfs-convert
        • bzImage
        • -etc-fstab
        • configure
        • cryptsetup
        • diagnose
        • dkms
        • efiboot.img
        • efibootmgr
        • Extlinux
        • fsck
        • -proc-mounts
        • fstrim Command
        • grub-install
        • -sbin-sysctl
        • System log files such as -var-log-syslog, -var-log-messages and the systemd journal
        • initrd and initramfs
        • SysV Init Overview
        • iSCSI Components
        • isohdpfx.bin
        • ISOLINUX
        • chkconfig
        • iw
        • iwlist
        • lib/modules/kernel-version/modules.dep
        • fsck
        • lvm.conf
        • make targets
        • mdadm.conf
        • mdadm
        • mkfs
        • mkinitramfs
        • mkinitrd
        • mkisofs
        • mkswap
        • /etc/modprobe.d/
        • module tools
        • mount and umount
        • hdparm, sdparm
        • mtr (My Traceroute)
        • Netcat(nc)
        • Nmap
        • NVMe (Non-Volatile Memory Express)
        • partition type 0xFD
        • ping , ping6
        • predict growth
        • processes blocked on IO
        • pxelinux.0
        • pxelinux.cfg/
        • resource exhaustion
        • smartd, smartctl
        • init and telinit
        • isolinux.cfg
        • sync
        • sysctl
        • syslinux
        • lib-modules-kernel-version
        • systemd-delta
        • mount
        • swapoff
        • tune2fs
        • udevadm monitor
        • udevmonitor
        • uefi-grubx64.efi
        • uefi-shim.efi
        • update-rc.d
        • /usr/lib/systemd/
        • usr-src-linux-.config
        • /usr/src/linux
        • /usr/src/linux/Documentation/
        • Xfs_info, Xfs_check, Xfs_repair, Xfsdump and Xfsrestore
        • XZ
        • zImage
      • LPIC2-202
        • /etc/aliases
        • /etc/dovecot
        • /etc/exports
        • /etc/fstab
        • named.conf
        • /etc/nginx
        • /etc/openvpn
        • /etc/passwd
        • /etc/postfix/
        • /etc/samba/
        • /etc/services
        • /etc/ssh/sshd_config
        • /etc/ssh
        • -etc-ssl-, -etc-pki-
        • /proc/mounts
        • /proc/sys/net/ipv4/
        • /proc/sys/net/ipv6/
        • /etc/samba/
        • /var/named/
        • swapon
        • systemctl
        • .htaccess Files
        • Apache2 configuration files
        • AuthUserFile, AuthGroupFile
        • Conditions and comparison operators
        • Configuration files and commands for postfix
        • DHCP Log Messages in Syslog or Systemd Journal
        • DNSSEC
        • traceroute, traceroute6
        • LDIF (LDAP Data Interchange Format)
        • PermitRootLogin, PubKeyAuthentication, AllowUsers, PasswordAuthentication, Protocol
        • Private and public key files
        • SSLCACertificateFile, SSLCACertificatePath
        • SSLEngine, SSLCertificateKeyFile, SSLCertificateFile
        • SSLProtocol, SSLCipherSuite, ServerTokens, ServerSignature, TraceEnable
        • Access Logs:
        • ACL
        • apachectl, apache2ctl
        • tune2fs, dumpe2fs and debugfs
        • dhcpd.conf
        • dhcpd.leases
        • dhcpd
        • dnssec-keygen
        • dnssec-signzone
        • doveadm
        • doveconf
        • dovecot.conf
        • /etc/pam.d
        • exportfs
        • Fail2ban
        • htpasswd
        • http_access
        • httpd, apache2
        • httpd.conf
        • Important Pure-FTPd command line options
        • ip6tables
        • -var-named
        • ldapadd
        • ldapdelete
        • ldappasswd
        • ldapsearch
        • -var-spool-postfix
        • Mail-related logs in /var/log/
        • Master File Format in DNS
        • mod_auth_basic, mod_authz_host and mod_access_compat
        • mount.cifs
        • named-checkconf
        • named-checkzone
        • named-compilezone
        • net
        • Dovecot vacation extension
        • nsswitch.conf
        • OpenSSL
        • OpenVPN
        • pam.conf
        • pam_unix, pam_cracklib, pam_limits, pam_listfile, pam_sss
        • portmapper
        • radvd.conf
        • radvd
        • Resource Record Formats
        • rpcinfo
        • samba-tool
        • Sendmail emulation layer commands
        • slapadd
        • slapcat
        • slapd-config
        • arp
        • keep, fileinto, redirect, reject, discard, stop
        • smbclient
        • Additional Samba Commands: smbcontrol, smbstatus, testparm, smbpasswd, nmblookup
        • SMB Daemons: smbd, nmbd, winbindd
        • squid.conf
        • sshd
        • sssd.conf
        • loglevel
        • vsftpd.conf
        • zone file syntax
      • LPIC3-300
        • IPC$
        • [homes]
        • tunefs.ocfs2
        • vgchange
        • vgcreate
        • HKLM\Software\Samba
        • LDIF (LDAP Data Interchange Format)
        • Microsoft-ADSI-Edit
        • Microsoft-LDP
        • microsoft mmc
        • Microsoft RSAT Tools
        • Microsoft Regedit
        • REG_SZ and REG_MULTI_SZ
        • SeDiskOperatorPrivilege
        • vgdisplay
        • Virtual Machine Generation Identifier
        • Virtual Machine Snapshots
        • allow-dns-updates
        • vgreduce
        • vgreduce
        • vgreduce
        • chmod
        • chown
        • cifscreds
        • cifsiostat
        • config backend
        • vgreduce
        • create-mask and create-mode
        • ifenslave
        • log level (or debuglevel) in Samba
        • delete veto files
        • dig
        • Directory Mask and Force Directory Mode
        • dns-forwarder
        • /etc/exports
        • /etc/fstab
        • /etc/group
        • /etc/idmapd.conf
        • ip
        • /etc/nsswitch.conf
        • /etc/pam.conf
        • /etc/pam.d/
        • /etc/group
        • /etc/resolv.conf
        • exportfs
        • ipvsadm
        • force-create-mode
        • force-directory-mode
        • force group
        • force-user
        • getcifsacl
        • getent
        • getfacl
        • getfattr
        • gpupdate
        • keepalived-configuration-file
        • kpartx
        • ldirectord-configuration-file
        • loadbalancing-algorithms
        • lvchange
        • lvconvert
        • host
        • lvcreate
        • lvdisplay
        • idmap-config
        • idmap_ad
        • lvextend
        • idmap_ldap
        • idmap_rfc2307
        • idmap_rid
        • idmap_tdb
        • idmap_tdb2
        • include
        • inherit-acls
        • lvreduce
        • FreeIPA (IPA)
        • ipa
        • ipa
        • IPA
        • ipa-adtrust-install
        • ipa-advice
        • ipa-client-install
        • ipa-replica-install
        • ipa-replica-prepare
        • ipa-server-install
        • ipactl
        • ipctl
        • kdestroy
        • kinit
        • klist
        • krb5.conf
        • lvresize
        • ldbadd
        • ldbdel
        • ldbedit
        • ldbmodify
        • ldbsearch
        • libnss_winbind
        • libpam_winbind
        • mdadm
        • log level (or debuglevel) in Samba
        • logon-path
        • logon-script
        • map-acl-inherit
        • mount
        • mount.cifs
        • mount Command
        • mkfs.gfs2
        • mkfs.ocfs2
        • multicast dns register
        • net
        • monit
        • net ads
        • net registry
        • nfs4_editfacl
        • nfs4_getfacl
        • nfs4_setfacl
        • nmbd (NetBIOS Name Service Daemon)
        • ntpd.conf
        • ntpsigndsocket
        • mount.gfs2
        • mount.ocfs2
        • mounted.ocfs2
        • multipath
        • nmcli
        • pam_mount.conf.xml
        • pam_mount.so
        • pam_smbpass.so
        • nvme-cli
        • passdb-backend
        • o2image
        • pdbedit
        • o2info
        • ocfpacemakerHealthCPU
        • ocfpacemakerHealthSMART
        • profile-acls
        • rdesktop
        • ocfpacemakerNodeUtilization
        • realm
        • Registry shares
        • registry.tdb in Samba
        • robocopy
        • ocfpacemakerocfSysInfo
        • rpcclient
        • rsync.conf
        • rsync
        • samba regedit
        • samba-tool dbcheck
        • samba-tool dns
        • ocfpacemakerping
        • samba-tool domain backup
        • samba-tool domain backup
        • samba-tool domain exportkeytab
        • samba-tool domain passwordsettings
        • pcs
        • pvcreate
        • samba-tool gpo
        • samba-tool group
        • samba-tool ntacl
        • pvdisplay
        • samba-tool spn
        • samba-tool user
        • Samba
        • samba_dnsupdate
        • secrets.tdb in Samba
        • security
        • server role
        • server services
        • server string
        • setcifsacl
        • setfacl
        • sharesec
        • smb-encrypt
        • smb.conf
        • smbcacls
        • smbclient
        • smbcontrol
        • smbcquotas
        • smbd (Samba Daemon)
        • smbget
        • smbpasswd
        • pvmove
        • smbstatus
        • smbtar
        • pvremove
        • pvresize
        • sss_cache
        • sss_debuglevel
        • sss_override
        • sss_user and sss_group
        • sssd.conf
        • rados-(including-relevant-subcommands)
        • store-dos-attributes
        • systemctl
        • tdbbackup
        • tdbdump
        • tdbrestore
        • tdbtool
        • template-homedir
        • template-shell
        • testparm
        • tls-cafile
        • tls-certfile
        • tls-dh-params-file
        • tls-enabled
        • tls-keyfile
        • rdb(including-relevant-subcommands)
        • /var/lib/samba/sysvol/
        • /var/lib/sss/db
        • /var/log/samba/
        • sbd
        • smartctl
        • vfs objects
        • vfs_acl_tdb
        • vfs_acl_xattr
        • wbinfo
        • winbind-enumerate-groups
        • smartd
        • winbind-offline-logon
        • winbind-separator
        • winbindd
        • workgroup
        • stonith
        • stonith_admin
      • LPIC3-303
        • /etc/aide/aide.conf
        • /etc/crypttab
        • /etc/openvas/
        • /etc/openvpn/
        • /etc/raddb/
        • /etc/rkhunter.conf
        • /etc/security/limits.conf
        • /etc/selinux/
        • /etc/snort
        • /etc/ssh/sshd_config
        • /etc/ssh
        • /etc/strongswan.conf
        • /etc/strongswan.d/.
        • /etc/swanctl/
        • /etc/swanctl/swanctl.conf
        • /etc/sysctl.conf
        • /etc/usbguard/rules.conf
        • /etc/usbguard/usbguard-daemon.conf
        • /etc/wireguard/
        • /proc/cgroups
        • nginx
        • slapd
        • ARP and NDP
        • Brute force attacks
        • Buffer overflows
        • CRL (Certificate Revocation List)
        • CSR (Certificate Signing Request)
        • CSRF
        • XSS
        • DoS and DDoS
        • keylogger
        • Link layer address and IP address spoofing
        • Man-in-the-Middle
        • OCSP (Online Certificate Status Protocol)
        • OpenSSL Configuration
        • PEM, DER, PKCS
        • Phishing
        • Privilege escalation
        • Rainbow tables
        • Rogue access points, routers, and DHCP servers
        • Rootkits
        • SQL and codes injection
        • Social engineering
        • slapindex
        • varlibldap
        • aide
        • apol
        • audit.rules
        • audit2allow
        • audit2why
        • auditctl
        • auditd.conf
        • auditd
        • ausearch, aureport
        • -sys-fs-group-
        • capsh
        • chcon
        • chkrootkit
        • chroot
        • conf.maldet
        • cryptmount
        • cryptsetup (Disk Encryption Setup)
        • delv
        • dnssec-dsfromkey
        • -sys-fs-group
        • dnssec-settime
        • Trojans
        • dpkg
        • ecryptfs- commands
        • ecryptfsd
        • fixfiles
        • getcap
        • getenforce
        • getfacl
        • getfattr
        • getsebool
        • grub.cfg
        • httpd.conf (Apache HTTP Server Configuration)
        • ip6tables-restore
        • ip6tables-save
        • ip6tables
        • ipset
        • iptables-save
        • iptables
        • Kismet
        • Linux Malware Detect (maldet)
        • mod_ssl (Apache SSL Module)
        • mount.ecryptfs, umount.ecryptfs
        • named.conf
        • ndpmon
        • newrole
        • ntop
        • openssl
        • openvas-adduser
        • openvas-feed-update
        • openvas-mkcert
        • openvas-nvt-sync
        • openvas-rmuser
        • openvassd
        • OpenVPN
        • pam_ecryptfs
        • pam_limits.so
        • pam_tty_audit.so
        • pulledpork.pl
        • radclient
        • radiusd.conf
        • radiusd
        • Viruses
        • radmin
        • radtest
        • radwho
        • restorecon
        • rkhunter
        • rndc
        • c
        • seaudit
        • seinfo
        • selinuxenabled
        • semanage
        • sestatus
        • setcap
        • setcon
        • setenforce
        • setfacl
        • setfattr
        • setfiles
        • setsebool
        • snort-stat
        • snort
        • ssh-keygen
        • swanctl
        • sysctl
        • systemctl
        • systemd-cgls
        • systemd-cgtop
        • Tcpdump
        • togglesebool
        • tshark
        • dnssec-keygen
        • usbguard
        • wg-quick
        • wg
        • wireshark
        • ~/.ssh/
      • LPIC3-305
        • -dev-kvm-
        • /etc/docker/daemon.json
        • /etc/libvirt — Libvirt Configuration Directory
        • -proc -[0-9]+-status
        • -proc-[0-9]+-ns
        • -sys-fs-cgroups
        • /var/lib/cloud
        • /var/lib/docker
        • CPU-flags
        • Dockerfile
        • Domain0(Dom0),DomainU (DomU)
        • Emulation and Simulation
        • Hardware Virtual Machine (HVM)
        • IaaS, PaaS, SaaS
        • Kernel-modules-kvm,kvm-intel.and.kvm-amd
        • Migration (P2V, V2V)
        • OpenStack
        • PV-DomU,HVM-DomU
        • Paravirtualization (PV)
        • QEMU Monitor
        • Terraform
        • Vagrantfile
        • brctl — Bridge Control Utility
        • capsh
        • cloud-init
        • syncd
        • dockerd
        • etc-xen-
        • guestumount — Virtual Disk Image Unmounting Tool
        • guestmount
        • guestumount
        • Hypervisor
        • ip(including-relevant-subcommands)
        • ip — Network Management Command
        • libvirtd — Libvirt Daemon (Legacy Central Virtualization Daemon)
        • LXC (Linux Containers)
        • LXD (Linux Container Daemon)
        • nsenter
        • Packer
        • tunefs.ocfs2
        • qemu-img — QEMU Disk Image Utility
        • vgchange
        • qemu — Quick Emulator
        • tunctl — TUN/TAP Device Control Utility
        • unshare
        • user-data
        • vagrant
        • virsh — Virtualization Shell for Managing VMs
        • virt-cat
        • virt-copy-in
        • virt-copy-out
        • virt-df
        • virt-diff
        • virt-filesystems
        • virt-inspector
        • virt-p2v-make-disk
        • virt-p2v
        • virt-rescue
        • virt-resize
        • virt-sparsify
        • virt-sysprep
        • virt-v2v
        • xentop
        • xl.cfg
        • xl.conf
        • xl
      • LPIC3-306
        • /etc/drbd.conf
        • /etc/drbd.d/
        • /etc/lvm/lvm.conf Configuration File
        • /etc/multipath.conf
        • /etc/network/interfaces
        • /etc/smartd.conf
        • /etc/sysconfig/networking-scripts/ifcfg-*
        • /etc/systemd/network/*.netdev
        • /etc/systemd/network/*.network
        • /proc/drbd
        • /proc/mdstat
        • /proc/sys/dev/raid
        • -sys-class-net-bond-bonding-miimon
        • -sys-class-net-bond-bonding-slaves
        • -sys-class-net-bonding_masters
        • Access Control Lists (ACLs)
        • Active-Active Cluster
        • vgcreate
        • Cluster Services
        • Disaster Recovery (DR)
        • Failover Cluster
        • Fencing (Node and Resource Level Fencing)
        • HAProxy Configuration File
        • LVS Forwarding Methods
        • Load-Balanced Cluster
        • Mean Time Before Failure (MTBF)
        • Mean Time To Repair (MTTR)
        • Primary, Secondary
        • ProtocolA,BandC
        • Quorum
        • Redundancy
        • Replication
        • Service-Level Agreement (SLA)
        • Session-Handling
        • Shared-Disk Cluster
        • Shared-Nothing Cluster
        • Split-Brain
        • State-Handling
        • Three-way replication
        • active-passive-cluster
        • apctest
        • apcupsd
        • authkeys
        • bonding.ko
        • Ceph
        • ceph-authtool
        • ceph-bluestore-tool
        • ceph-deploy
        • ceph-volume
        • ceph.conf
        • CephFS
        • cibadmin
        • connection-scheduling-algorithms
        • corosync-cfgtool
        • corosync-cmapctl
        • corosync-quorumtool
        • corosync.conf
        • crm
        • crm_attribute
        • crm_mon
        • crm_node
        • crm_resource
        • crm_shadow
        • crm_simulate
        • crm_standby
        • crm_verify
        • crushtool
        • DRBD Kernel Module
        • drbdadm
        • drbdmeta
        • drbdsetup
        • vgdisplay
        • fsck.ocfs2
        • genhash
        • gfs2_edit
        • gfs2_grow
        • gfs2_jadd
        • gluster
        • ifenslave Command
        • ip Command
        • ipvsadm
        • iscsiadm
        • iscsid.conf
        • Keepalived Configuration File
        • kpartx
        • ldirectord Configuration File
        • loadbalancing-algorithms
        • vgreduce
        • lvconvert
        • lvcreate
        • lvdisplay
        • lvextend
        • lvreduce
        • lvresize
        • mdadm
        • mkfs.gfs2
        • mkfs.ocfs2
        • Monit
        • mount.gfs2
        • mount.ocfs2
        • mounted.ocfs2
        • multipath
        • nmcli
        • nvme-cli
        • o2image
        • o2info
        • ocf:pacemaker:HealthCPU
        • ocf:pacemaker:HealthSMART
        • ocf:pacemaker:NodeUtilization
        • ocf:pacemaker:ocfSysInfo
        • ocf:pacemaker:ping
        • pcs
        • pvcreate
        • pvdisplay
        • pvmove
        • pvremove
        • pvresize
        • rados
        • rbd
        • authkey
        • smartctl
        • smartd
        • bonding.ko-(including-relevant-module-options)
        • stonith
        • stonith_admin
        • syncd
        • targets.conf
        • tgtadm
        • tunefs.ocfs2
        • vgchange
        • vgcreate
        • vgdisplay
        • vgreduce
  • Security attacks full list
Powered by GitBook
On this page
  • Table
  • Top 100 Linux Commands Cheat Sheet
  • A
  • accept command
  • access command
  • accton command
  • aclocal command
  • acpi command
  • acpid command
  • addr2line command
  • addresses command
  • agetty command
  • alias, unalias commands
  • alsactl command
  • amidi command
  • amixer command
  • anacron command
  • apachetop command
  • aplay command
  • aplaymidi command
  • apm command
  • apmd command
  • apropos command
  • apt-get command
  • apt command
  • aptitude command
  • ar command
  • arch command
  • arecord command
  • arecordmid command
  • arecord command
  • arp command
  • aspell command
  • at command
  • atd command
  • atop command
  • atq command
  • aplay command
  • atrm command
  • aumix command
  • autoconf command
  • autoheader command
  • automake command
  • autoreconf command
  • autoscan command
  • B
  • badblocks command
  • banner command
  • basename command
  • batch command
  • bc command
  • bg command
  • biff command
  • bind command
  • bison command
  • break command
  • builtin command
  • bzcmp command
  • bzdiff command
  • bzgrep command
  • bzip2 command
  • C
  • cal command
  • cardctl command
  • cardmgr command
  • case command
  • cat command
  • cc command
  • cp command
  • cat command
  • ccrypt command
  • cd command
  • cdparanoia command
  • cdrdao command
  • cfdisk command
  • chage command
  • chattr command
  • chdir command
  • chfn command
  • chgrp command
  • chkconfig command
  • chmod command
  • chown command
  • chpasswd command
  • chroot command
  • chrt command
  • chsh command
  • chvt command
  • cksum command
  • cmp command
  • colcrt command
  • clorm command
  • column command
  • comm command
  • compress command
  • continue command
  • cp command
  • cpio command
  • cron command
  • crond command
  • crontab command
  • csplit command
  • ctags command
  • cupsd command
  • curl command
  • cut command
  • cvs command
  • D
  • date command
  • dd command
  • debugfs command
  • declare command
  • depmod command
  • ddrescue command
  • du command
  • diff command
  • dmesg command
  • dd command
  • diff command
  • dirname command
  • dirs command
  • disable command
  • dmesg command
  • domainname command
  • dstat command
  • dump command
  • dumpkeys command
  • E
  • echo command
  • eject command
  • emacs command
  • enable command
  • env command
  • eval command
  • exit command
  • expand command
  • expect command
  • export command
  • expr command
  • F
  • factor command
  • fc command
  • fc-list command
  • fg command
  • file command
  • find command
  • finger command
  • fmt command
  • fold command
  • for command
  • find command
  • fdisk command
  • find command
  • fun command
  • function command
  • G
  • gawk command
  • gdb command
  • getent command
  • gpasswd command
  • groupdel command
  • groupdel command
  • groupmod command
  • groups command
  • grpck command
  • grpconv command
  • gs command
  • gunzip command
  • gzexe command
  • grep command
  • GoAccess command
  • gzip command
  • H
  • halt command
  • head command
  • hash command
  • hdparm command
  • hexdump command
  • history command
  • hostid command
  • hostname command
  • hostnamectl command
  • hwclock command
  • I
  • iconv command
  • id command
  • info command
  • if command
  • ifconfig command
  • iftop command
  • ifup command
  • import command
  • insmod command
  • install command
  • iostat command
  • iotop command
  • ipcrm command
  • iwconfig command
  • J
  • jobs command
  • jnettop command
  • join command
  • journalctl command
  • K
  • kill command
  • L
  • last command
  • Logwatch command
  • locate command
  • less command
  • let command
  • ls command
  • ln command
  • locate command
  • look command
  • lsblk command
  • lshw command
  • lsusb command
  • M
  • man command
  • mailq command
  • mv command
  • mkdir command
  • modinfo command
  • mount command
  • mpstat command
  • N
  • nc(netcat) command
  • netstat command
  • nmcli command
  • nslookup command
  • P
  • paste command
  • pidof command
  • ping command
  • pmap command
  • ps command
  • poweroff command
  • ping command
  • pwd command
  • printf command
  • ranlib command
  • R
  • rcp command
  • read command
  • rmdir command
  • rm command
  • readelf command
  • readlink command
  • reboot command
  • reset command
  • restore command
  • return command
  • rev command
  • rmmod command
  • route command
  • S
  • sar command
  • screen command
  • sudo command
  • script command
  • sdiff command
  • sed command
  • select command
  • seq command
  • setsid command
  • su command
  • shift command
  • showkey command
  • shred command
  • shutdown command
  • sleep command
  • source command
  • sort command
  • split command
  • ssh command
  • strace command
  • stty command
  • sum command
  • sync command
  • T
  • tac command
  • tail command
  • tailf command
  • talkd command
  • tar command
  • taskset command
  • tcpdump command
  • tcpslice command
  • tcpslice command
  • tee command
  • telnet command
  • terminator command
  • tftp command
  • tftpd command
  • tmpwatch command
  • top command
  • touch command
  • tput command
  • tr command
  • tracepath command
  • traceroute command
  • trep command
  • tree command
  • tset command
  • tty command
  • tune2fs command
  • tunelp command
  • type command
  • U
  • ul command
  • unalias command
  • uname command
  • uncompress command
  • unexpand command
  • unicode_start command
  • unicode_stop command
  • uniq command
  • units command
  • unix2dos command
  • unshar command
  • until command
  • uptime command
  • useradd, userdel commands
  • usermod command
  • usleep command
  • uudecode command
  • uuencode command
  • uuidgen command
  • V
  • vi command
  • vidmode command
  • vim command
  • vmstat command
  • vnstat command
  • W
  • w command
  • wall command
  • wc command
  • wget command
  • whatch command
  • whatis command
  • which command
  • while command
  • who command
  • whoami command
  • write command
  • X
  • xargs command
  • xdg-open command
  • xinetd command
  • xz command
  • Y
  • yacc command
  • yes command
  • ypbind command
  • ypcat command
  • ypinit command
  • ypmatch command
  • yppasswd command
  • yppasswdd command
  • yppoll command
  • yppush command
  • ypserv command
  • ypset command
  • yptest command
  • ypwhich command
  • ypxfr command
  • Z
  • zcat command
  • zcmp command
  • zdiff command
  • zdump command
  • zforce command
  • zgrep command
  • zic command
  • zip command
  • zmore command
  • znew command
  • get help source: geeksforgeeks

Linux Commands

PreviousCharactersNextQuick review for commands

Last updated 1 year ago

Table

│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

Top 100 Linux Commands Cheat Sheet

I have prepared a help and manual for Linux, based on Ubuntu (cause other distribution are using same kernel the commands are mostly same). However, if you require specific guidance for a different Linux distribution, this resource can be helpful.

A

accept command

Accept or Reject jobs to a destination, such as a printer.

access command

Check a user’s RWX(read, write and execute) permission for a file.

accton command

Used to turn on or turn off the process for accounting or change info process accounting file.

aclocal command

Used to automatically generate aclocal.m4 files from configure.in file.

acpi command

acpid command

Show information about the Advanced Configuration and Power Interface.

addr2line command

Used to convert addresses into file names and line numbers.

addresses command

Formats for internet mail addresses.

agetty command

An alternative Linux Getty that manages physical or virtual terminals to allow multi-user access.

alias, unalias commands

Create an alias, a shortcut that references a command.

alsactl command

Access advanced controls for ALSA soundcard driver.

amidi command

Perform read/write operation for ALSA RawMIDI ports.

amixer command

Access CLI-based mixer for ALSA soundcard driver.

anacron command

Used to run commands periodically.

apachetop command

aplay command

Sound recorder and player for CLI.

aplaymidi command

CLI utility used to play MIDI files.

apm command

Show Advanced Power Management (APM) hardware info on older systems.

apmd command

Used to handle events reported by APM BIOS drivers.

apropos command

Shows the list of all man pages containing a specific keyword.

apt-get command

Command-line utility to install/remove/update packages based on APT system.

apt command

Advanced Package Tool, a package management system for Debian and derivatives.

aptitude command

Another utility to add/remove/upgrade packages based on the APT system.

ar command

A utility to create/modify/extract from archives.

arch command

Display print machine hardware name.

arecord command

Just like aplay, it’s a sound recorder and player for ALSA(Advanced Linux Sound Architecture) soundcard driver.

arecordmid command

Record standard MIDI files.

arecord command

arp command

Used to make changes to the system’s ARP cache.

aspell command

An interactive spell checker utility.

at command

Used to schedule command execution at specified date & time, reading commands from an input file.

atd command

Used to execute jobs queued by the at command.

atop command

atq command

List a user’s pending jobs for the at command.

aplay command

atrm command

Delete jobs queued by the at command.

aumix command

An audio mixer utility.

autoconf command

Generate configuration scripts from a TEMPLATE-FILE and send the output to standard output.

autoheader command

Create a template header for configure.

automake command

Creates GNU standards-compliant Makefiles from template files.

autoreconf command

Update generated configuration files.

autoscan command

Generate a preliminary configure.in file.

B

badblocks command

Search a disk partition for bad sectors.

banner command

Used to print the ASCII character string in large letter to standard output

basename command

It strips directory information and suffixes from file names ie it prints the file name NAME with any leading directory components removed

batch command

Used to read commands from standard input or a specified file and execute them when system load levels permit ie when the load average drops below

bc command

Used for command line calculator

bg command

Used to place foreground jobs in background

biff command

A mail notification system for unix that notifies the user at the command line when new mail arrives and tells from whom it is

bind command

Used to set Readline key bindings and variables

bison command

It is basically a parser generator similar to yacc

break command

Used to terminate the execution of for loop, while loop and until loop

builtin command

Used to run a shell builtin, passing it arguments(args), and also to get the exit status

bzcmp command

Used to invoke the cmp utility on bzip compressed files

bzdiff command

Used to compare the bzip compressed files

bzgrep command

Used to search for a pattern or an expression but inside a bzip-compressed file

bzip2 command

Used to compress and decompress the files

C

cal command

Used to see the calendar of a specific month or a whole year By default, it shows current month’s calendar as output.

cardctl command

Used to control PCMCIA sockets and select configuration schemes.

cardmgr command

Keeps an eye on the added/removes sockets for PCMCIA devices.

case command

It is the best alternative when we had to use multiple if/elif on a single variable

cat command

cat - create, view and concatenate files

cc command

GNU C and C++ compiler.

cp command

cp - copy files and directories

cat command

cat - create, view and concatenate files

ccrypt command

Used for encryption and decryption of data.

cd command

cd - change director

  • cd / ----> change to the root directory

  • cd ~ ----> change to your home directory

  • cd ----> change to your home directory

  • cd ----> change to the directory above your current ie parent directory

  • cd ----> change to the directory you currently in

  • cd - ----> change to the last visited path

cdparanoia command

Record audio from CD more reliably using data-verification algorithms.

cdrdao command

Used to write all the content specified to a file to a CD all at once.

cfdisk command

Show or change the disk partition table.

chage command

Used to view and change the user password expiry information

chattr command

It is a file system command which is used for changing the attributes of a file in a directory

chdir command

Used to change active working directory.

chfn command

It allows you to change a user’s name and other details easily chfn stands for Change finger

chgrp command

Used to change the group ownership of a file or directory

chkconfig command

Used to list all available services and view or update their run level settings

chmod command

Change access permission for a file(s).

chown command

Change the owner or group for a file.

chpasswd command

Update password in a batch.

chroot command

Run a command with root directory.

chrt command

Alter process attributed in real-time.

chsh command

Used to change the user’s login shell(currently login shell)

chvt command

Used to switch between the different TTY (TeleTYpewriter) terminals available

cksum command

Used to display a CRC(Cyclic Redundancy Check) value, the byte size of the file and the name of the file to standard output

cmp command

Used to compare the two files byte by byte and helps you to find out whether the two files are identical or not

colcrt command

Used to format the text processor output so that it can be viewed on Cathode Ray Tube displays

clorm command

Remove columns from the lines of a file.

column command

Used to display the contents of a file in columns

comm command

Compares two sorted files line by line and write to standard output; the lines that are common and the lines that are unique

compress command

Used to reduce the file size After compression, the file will be available with an added Z extension

continue command

Used to skip the current iteration in for, while and until loop

cp command

Copy contents of one file to another.

cpio command

cpio stands for “copy in, copy out“ It is used for processing the archive files like *cpio or *tar This command can copy files to and from archives

cron command

A software utility, offered by Linux-like operating system which automates the scheduled task at a predetermined time

crond command

Same work as cron.

crontab command

A list of commands that you want to run on a regular schedule, and also the name of the command used to manage that list.

csplit command

Used to split any file into many parts as required by the user.

ctags command

It allows quick access across the files (For example quickly seeing definition of a function)

cupsd command

It is a type of scheduler for CUPS (Common Unit Printing System) It implements the printing system on the basis of the Internet Printing Protocol

curl command

A tool to transfer data to or from a server, using any of the supported protocols

cut command

For cutting out the sections from each line of files and writing the result to standard output

cvs command

Used to store the history of a file Whenever a file gets corrupted or anything goes wrong “cvs” help us to go back to the previous version and restore our file

D

date command

Used to display the system date and time It is also used to set date and time of the system

dd command

debugfs command

declare command

Used to declare shell variables and functions, set their attributes and display their values

depmod command

Used to generate a list of dependency description of kernel modules and its associated map files

ddrescue command

du command

diff command

dmesg command

dd command

It is a command-line utility for Unix and Unix-like operating systems whose primary purpose is to convert and copy files

diff command

Used to display the differences in the files by comparing the files line by line

dirname command

Used to remove the trailing forward slahes “/” from the NAME and prints the remaining portion

dirs command

Used to display the list of currently remembered directories

disable command

Used to stop the printers or classes

dmesg command

Used to examine the kernel ring buffer and print the message buffer of kernel

domainname command

Used to return the Network Information System (NIS) domain name of the host

dstat command

Used to retrieve information or statistics form components of the system such as network connections, IO devices, or CPU, etc

dump command

Used to backup the filesystem to some storage device

dumpkeys command

Used for the dump keyboard translation tables

E

echo command

eject command

It allows ejecting a removable media (typically a CD-ROM, floppy disk, tape, or JAZ or ZIP disk) using the software

emacs command

It is a editor having simple user interface Also, there is no insert mode in this editor It only have editing mode

enable command

Used to start the printers or classes

env command

Used to either print environment variables It is also used to run a utility or command in a custom environment

eval command

Built-in command used to execute arguments as a shell command

exit command

Used to exit the shell where it is currently running

expand command

Allows you to convert tabs into spaces in a file and when no file is specified it reads from standard input

expect command

This command or scripting language works with scripts that expect user inputs It automates the task by providing inputs

export command

It is bash shell BUILTINS commands, which means it is part of the shell It marks an environment variables to be exported to child-processes

expr command

It evaluates a given expression and displays its corresponding output

F

factor command

Used to print the prime factors of the given numbers, either given from command line or read from standard input

fc command

Used to list, edit or re-execute the commands previously entered into an interactive shell

fc-list command

It is used to list the available fonts and font styles Using the format option, the list of all fonts can be filtered and sorted out

fg command

Used to put a background job in foreground

file command

Used to determine the type of a file file type may be of human-readable(eg ‘ASCII text’) or MIME type(eg ‘text/plain; charset=us-ascii’)

find command

Used to find files and directories and perform subsequent operations on them

finger command

It is a user information lookup command which gives details of all the users logged in

fmt command

Works as a formatter for simplifying and optimizing text files

fold command

It wraps each line in an input file to fit a specified width and prints it to the standard output

for command

Used to repeatedly execute a set of command for every element present in the list

find command

fdisk command

find command

fun command

Used to draw various type of patterns on the terminal

function command

Used to create functions or methods

G

gawk command

Used for pattern scanning and processing language

gdb command

GNU Debugger tool helps to debug the programs written in C, C++, Ada, Fortran, etc

getent command

Used to get the entries in a number of important text files called databases

gpasswd command

Used to administer the /etc/group and /etc/gshadow

groupdel command

Used to create a new user group

groupdel command

Used to delete a existing group

groupmod command

Used to modify or change the existing group on Linux system

groups command

Groups are the collection of users Groups make it easy to manage users with the same security and access privileges

grpck command

It verifies the integrity of the groups information It checks that all entries in /etc/group and /etc/gshadow have the proper format and contain valid data

grpconv command

It is used to convert to shadow groups The grpconv command creates a gshadow from the group and an optionally existing gshadow

gs command

This command invokes Ghostscript, which is an interpreter of Adobe Systems PostScript and Portable Document Format(PDF) languages

gunzip command

Used to compress or expand a file or a list of files in Linux

gzexe command

Used to compress executable files and also used to automatically uncompress and execute the files

grep command

GoAccess command

gzip command

This command compresses files Each single file is compressed into a single file

H

halt command

Used to instruct the hardware to stop all the CPU functions Basically, it reboots or stops the system

head command

hash command

Used to maintain a hash table of recently executed programs

hdparm command

Used to get statistics about the hard disk, alter writing intervals, acoustic management, and DMA settings

hexdump command

Used to filter and display the specified files, or standard input in a human readable specified format

history command

Used to view the previously executed command

hostid command

Used to displays the Host’s ID in hexadecimal format

hostname command

Used to obtain the DNS(Domain Name System) name and set the system’s hostname or NIS(Network Information System) domain name

hostnamectl command

Provides a proper API used to control Linux system hostname and change its related settings

hwclock command

Utility for accessing the hardware clock, also called Real Time Clock (RTC)

I

iconv command

Used to convert some text in one encoding into another encoding

id command

Used to find out user and group names and numeric ID’s (UID or group ID) of the current user or any other user in the server

info command

if command

Used to execute commands based on conditions

ifconfig command

Used to configure the kernel-resident network interfaces

iftop command

It is a network analyzing tool used by system administrators to view the bandwidth related stats

ifup command

It basically brings the network interface up, allowing it to transmit and receive dat

import command

Used for capturing a screenshot for any of the active pages we have and it gives the output as an image file

insmod command

Used to insert modules into the kernel

install command

Used to copy files and set attributes

iostat command

Used for monitoring system input/output statistics for devices and partitions

iotop command

Used to display and monitor the disk IO usage details and even gets a table of existing IO utilization by the process

ipcrm command

Used to remove some IPC(Inter-Process Communication) resources It eliminates the IPC objects and their associated data structure form the system

iwconfig command

Used to display the parameters, and the wireless statistics which are extracted from /proc/net/wireless

J

jobs command

Show the list of active jobs and their status.

jnettop command

join command

It is a command line utility for joining lines of two files based on a key field present in both the files

journalctl command

Used to view systemd, kernel and journal logs

K

kill command

Used to terminate processes manually kill command sends a signal to a process which terminates the process

L

last command

Used to display the list of all the users logged in and out since the file /var/log/wtmp was created

Logwatch command

locate command

less command

let command

Used to evaluate arithmetic expressions on shell variables

ls command

ls - listing files and directories

ln command

Used to create links between files

locate command

Used to find the files by name

look command

Shows the lines beginning with a given string

lsblk command

Used to display details about block devices and these block devices(Except ram disk) are basically those files that represent devices connected to the pc

lshw command

Used to generate the detailed information of the system’s hardware configuration from various files in the /proc directory

lsusb command

Used to display the information about USB buses and the devices connected to them

M

man command

mailq command

This command in Linux prints the mail queue ie the list of messages that are there in the mail queue

mv command

mkdir command

mkdir - create directories

modinfo command

Used to display the information about a Linux Kernel module

mount command

Used to mount the filesystem found on a device to big tree structure(Linux filesystem) rooted at ‘/‘

mpstat command

Used to report processor related statistics

N

nc(netcat) command

It is one of the powerful networking tool, security tool or network monitoring tool

netstat command

Displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships, etc

nmcli command

Used for controlling NetworkManager nmcli command can also be used to display network device status, create, edit, activate/deactivate, and delete network connections

nslookup command

It is a network administration tool for querying the Domain Name System (DNS) to obtain domain name or IP address mapping or any other specific DNS record

P

paste command

Used to join files horizontally (parallel merging) by outputting lines consisting of lines from each file specified, separated by tab as delimiter, to the standard output

pidof command

Used to find out the process IDs of a specific running program

ping command

Used to check the network connectivity between host and server/host

pmap command

ps command

poweroff command

ping command

pwd command

pwd - print current working directory (= at what path the user currently located)

printf command

Used to display the given string, number or any other format specifier on the terminal window

ranlib command

Used to generate index to archive

R

rcp command

Used to copy files from one computer to another computer

read command

Reads up the total number of bytes from the specified file descriptor into the buffer

rmdir command

rm command

rm - remove files and directories

readelf command

Used to get information of ELF(Executable and Linkable Format) Files

readlink command

Used to print resolved symbolic links or canonical file names

reboot command

Instructs the system to rest or reboot

reset command

Used to initialize the terminal This is useful once a program dies leaving a terminal in an abnormal state

restore command

Used for restoring files from a backup created using dump

return command

Used to exit from a shell function

rev command

Used to reverse the lines characterwise

rmmod command

Used to remove a module from the kernel

route command

Used when you want to work with the IP/kernel routing table

S

sar command

screen command

Provides the ability to launch and use multiple shell sessions from a single ssh session

sudo command

script command

Used to make typescript or record all the terminal activities

sdiff command

Used to compare two files and then writes the results to standard output in a side-by-side format

sed command

Used for finding, filtering, text substitution, replacement and text manipulations like insertion, deletion search etc

select command

Used to create a numbered menu from which a user can select an option

seq command

Used to generate numbers from FIRST to LAST in steps of INCREMENT

setsid command

Used to run a program in a new session

su command

shift command

Shifts/moves the command line arguments to one position left

showkey command

prints to standard output either the scan codes or the key code or the `ascii’ code of each key pressed

shred command

Used in order to delete a file completely from hard disk

shutdown command

Used to shutdown the system in a safe way

sleep command

Used to create a dummy job A dummy job helps in delaying the execution

source command

Used to read and execute the content of a file(generally set of commands), passed as an argument in the current shell script

sort command

Used to sort a file, arranging the records in a particular order

split command

Used to split large files into smaller files

ssh command

Protocol used to securely connect to a remote server/system

strace command

It is one of the most powerful process monitoring, diagnostic, instructional tool of Linux

stty command

Used to change and print terminal line settings

sum command

Used to find checksum and count the blocks in a file

sync command

Used to synchronize cached writes to persistent storage

T

tac command

Used to concatenate and print files in reverse

tail command

Prints the last N number of data of the given input

tailf command

talkd command

tar command

Used to create Archive and extract the Archive files

taskset command

tcpdump command

tcpslice command

tcpslice command

tee command

telnet command

terminator command

tftp command

tftpd command

tmpwatch command

top command

touch command

touch - update file's timestamp More commonly used for creating files

tput command

tr command

It is a command line utility for translating or deleting characters

tracepath command

Used to traces path to destination discovering MTU along this path

traceroute command

Prints the route that a packet takes to reach the host

trep command

tree command

tset command

tty command

It displays the information related to terminal It basically prints the file name of the terminal connected to standard input

tune2fs command

tunelp command

type command

U

ul command

unalias command

uname command

Displays the information about the system

uncompress command

unexpand command

Converts each spaces into tabs writing the produced output to the standard output

unicode_start command

unicode_stop command

uniq command

It is a command line utility that reports or filters out the repeated lines in a file

units command

unix2dos command

unshar command

until command

Used to execute a set of commands as long as the final command in the ‘until’ Commands has an exit status which is not zero

uptime command

Used to find out how long the system is active (running)

useradd, userdel commands

usermod command

usleep command

uudecode command

uuencode command

uuidgen command

V

vi command

A text editor utility.

vidmode command

Set the video mode for a kernel image. Displays current mode value without arguments.

vim command

Vi Improved, a text-based editor which is a successor to vi.

vmstat command

It is a performance monitoring command of the system as it gives the information about processes, memory, paging, block IO, disk and CPU scheduling

vnstat command

Used by system administrators in order to monitor network parameters such as bandwidth consumption or maybe some traffic flowing in or out

W

w command

Used to show who is logged on and what they are doing

wall command

Displays a message, or the contents of a file, or otherwise its standard input, on the terminals of all currently logged in users

wc command

Used to find out number of lines, word count, byte and characters count in the files specified in the file arguments

wget command

Used to download files from the server even when the user has not logged on to the system and it can work in background without hindering the current process

whatch command

Used to execute a program periodically, showing output in fullscreen

whatis command

which command

Used to locate the executable file associated with the given command by searching it in the path environment variable

while command

Used to repeatedly execute a set of command as long as the COMMAND returns true

who command

Used to get information about currently logged in user on to system

whoami command

Displays the username of the current user when this command is invoked

write command

Allows a user to communicate with other users, by copying lines from one user’s terminal to others

X

xargs command

Used to build and execute commands from standard input It converts input received from standard input into arguments of a command

xdg-open command

xinetd command

xz command

Y

yacc command

yes command

ypbind command

ypcat command

ypinit command

ypmatch command

yppasswd command

yppasswdd command

yppoll command

yppush command

ypserv command

ypset command

yptest command

ypwhich command

ypxfr command

Z

zcat command

zcmp command

zdiff command

Used to invoke the diff program on files compressed via gzip

zdump command

Used to print the current time in the specified zone or you can say prints the current time in each zonename named on the command line

zforce command

zgrep command

Used to search out expressions from a given a file even if it is compressed

zic command

zip command

It is a compression and file packaging utility for Unix Each file is stored in single zip {zip-filename} file with the extension zip

zmore command

znew command

get help source: geeksforgeeks

accton help
aclocal help
acpi help
acpid help
addr2line help
addresses help
agetty help
alies help
alsactl help
amidi help
amixer help
anacron help
apachetop help
aplay help
aplaymidi help
apm help
apmd help
apropos help
apt help
apt help
aptitude help
ar help
arch help
arecord help
arecordmid help
arecord help
arp help
aspell help
at help
atd help
atop help
atq help
aplay help
atrm help
aumix help
autoconf help
autoheader help
automake help
autoreconf help
autoscan help
badblocks help
banner help
basename help
batch help
bc help
bg help
biff help
bind help
bison help
break help
builtin help
bzcmp help
bzdiff help
bzgrep help
bzip2 help
cal help
cardctl help
cardmgr help
case help
cat help
cc help
cp help
cat help
ccrypt help
cd help
cdparanoia help
cdrdao help
cfdisk help
chage help
chattr help
chdir help
chfn help
chgrp help
chkconfig help
chmod help
chown help
chpasswd help
chroot help
chrt help
chsh help
chvt help
cksum help
cmp help
colcrt help
clorm help
column help
comm help
compress help
continue help
cp help
cpio help
cron help
crond help
crontab help
csplit help
ctags help
cupsd help
curl help
cut help
cvs help
date help
dd help
debugfs help
declare help
depmod help
ddrescue help
du help
diff help
dmesg help
dd help
diff help
dirname help
dirs help
disable help
dmesg help
domainname help
dstat help
dump help
dumpkeys help
echo help
eject help
emacs help
enable help
env help
eval help
exit help
expand help
expect help
export help
expr help
factor help
fc help
fc-list help
fg help
file help
find help
finger help
fmt help
fold help
for help
find help
fdisk help
find help
Fun help
function help
gawk help
gdb help
getent help
gpasswd help
groupadd help
groupdel help
groupmod help
groups help
grpck help
grpconv help
gs help
gunzip help
gzexe help
grep help
GoAccess help
gzip help
halt help
head help
hash help
hdparm help
hexdump help
history help
hostid help
hostname help
hostnamectl help
hwclock help
iconv help
id help
info help
if help
ifconfig help
iftop help
ifup help
import help
insmod help
install help
iostat help
iotop help
ipcrm help
iwconfig help
jobs help
jnettop help
join help
journalctl help
kill help
last help
Logwatch help
locate help
less help
let help
ls help
ln help
locate help
look help
help
lshw help
lsusb help
man help
mailq help
mv help
mkdir help
modinfo help
mount help
mpstat help
nc help
netstat help
nmcli help
nslookup help
paste help
pidof help
ping help
pmap help
ps help
poweroff help
ping help
pwd help
printf help
ranlib help
rcp help
read help
rmdir help
rm help
readelf help
readlink help
reboot help
reset help
restore help
return help
rev help
rmmod help
route help
sar help
screen help
sudo help
script help
sdiff help
sed help
select help
seq help
setsid help
su help
shift help
showkey help
shred help
shutdown help
sleep help
source help
sort help
split help
ssh help
strace help
stty help
sum help
sync help
tac help
Tail help
Tailf help
talkd help
tar help
taskset help
tcpdump help
tcpslice help
tcpslice help
tee help
telnet help
terminator help
tftp help
tftpd help
tmpwatch help
top help
touch help
tput help
tr help
tracepath help
traceroute help
trep help
tree help
tset help
tty help
tune2fs help
tunelp help
type help
ul help
unalias help
uname help
uncompress help
unexpand help
unicode_start help
help
uniq help
units help
unix2dos help
unshar help
until help
Uptime help
useradd help
usermod help
usleep help
uudecode help
uuencode help
uuidgen help
vidmode help
vmstat help
vnstat help
w help
wall help
wc help
Wget help
watch help
whatis help
which help
while help
who help
whoami help
write help
xargs help
xdg-open help
xinetd help
xz help
yacc help
yes help
help
help
help
help
help
help
help
help
help
help
yptest help
ypwhich help
ypxfr help
zcat help
zcmp help
zdiff help
zdump help
zforce help
zgrep help
zic help
zip help
zmore help
znew help
O
Q
Y
Top 100 Linux Commands
manned
accept help
access help
A
B
C
D
E
F
G
H
I
J
K
L
M
N
P
R
S
T
U
V
W
X
Z