Study

Linux

  •   0%
  •  0     0     0

  • text editors
    vim and nano
  • a dialog-driven command in Linux used for creating and manipulating disk partition table / format disk
    fdisk
  • Similar usage as mv but for copying files in Linux
    cp
  • removes the directory, specified by the Directory parameter, from the system
    rmdir
  • Search for a string within an output
    grep
  • Display disk filesystem information
    df
  • Find the difference between two files
    diff
  • lets you switch the current user to any other user
    su
  • The most frequently used command in Linux to list directories
    ls
  • Mount file systems in Linux
    mount
  • A software utility, offered by a Linux-like operating system that automates the scheduled task at a predetermined time
    cron
  • allows a user to gain disk usage information quickly
    du
  • Return the specified number of lines from the top
    head
  • removes the user account identified by the login parameter
    userdel
  • Clear the terminal display
    clear
  • Create blank/empty files
    touch
  • Print any text that follows the command
    echo
  • Return the specified number of lines from the bottom
    tail
  • Read the manual
    man
  • Delete files or directories
    rm
  • Command to escalate privileges in Linux
    sudo
  • Command used to create directories in Linux
    mkdir
  • Display active processes
    ps
  • Allows you to check if two files are identical
    cmp
  • Add new user or change existing users data
    useradd and usermod
  • innit
    schewpid
  • compresses files
    gzip
  • Print working directory command in Linux
    pwd
  • a simple utility used to check whether a network is available and if a host is reachable
    ping
  • used to delay for a fixed amount of time during the execution of any script
    sleep
  • Command to change file permissions
    chmod
  • Move or rename files in Linux
    mv
  • Display file contents on the terminal
    cat
  • Kill active processes by process ID or name
    kill and killall
  • used to change the root directory
    chroot
  • Trace all the network hops to reach the destination
    traceroute
  • Command for granting ownership of files or folders
    chown
  • It searches for files and directories in a directory hierarchy based on a user given expression and can perform user-specified action on each matched file.
    find
  • Enables you to remove a remote file system that is currently mounted
    unmount
  • Get the active username
    whoami