This Linux command can be used to list the files or folders in a directory - ls, This Linux command shows the current working directory (the path) that you are currently in - pwd, This Linux command allows you to move files or folders - mv, This Linux command allows you to copy files or folders - cp, This Linux command allows you to remove files or folders - rm, This Linux command gives you the ability to modify the permissions and access modes of files and directories - chmod, This Linux command is a powerful tool that allows users to change the owner of files and directories. This command is particularly useful in scenarios where administrators need to grant or revoke access to specific resources. - chown, This Linux command is used to switch to another user's account or execute commands as a different user - su, This command is a command in Linux that is generally used as a prefix for some commands that only superusers are allowed to run. This is the equivalent of the “run as administrator” option in Windows. The option of sudo lets us have multiple administrators. - sudo (which is sort for Super User DO), This command is the default package manager for Debian-based Linux distributions like Ubuntu. - apt-get, This Linux command updates a packages repository - apt-get update, This Linux command upgrades all installed packages in a repository - apt-get upgrade, This Linux command installs a new package - apt-get install [package_name], This Linux command removes an installed package - apt-get remove [package_name], This command is the package manager for Red-Hat based distributions of Linux like CentOS and Fedora - Yum, This Red Hat based Linux package manager command can be used to check packages for updates - yum check-update, This Red Hat based Linux package manager command can be used to update a specific package - yum update package, This Red Hat based Linux package manager command can be used to update all packages, including any dependencies they might have - yum update, This Red Hat based Linux package manager command can be used to remove a specified package - yum remove package, This Red Hat based Linux package manager command can be used to list all packages available in enabled repositories and installed on the system - yum list, This Linux command is part of the of iproute2 package and serves as a versatile replacement for older networking tools like `ifconfig` and `route`. It provides a unified interface for configuring and managing network settings in modern Linux distributions. - ip, One would use this command to view information about network interfaces and their associated IP addresses - ip addr show, This Linux command can be used for configuring network interfaces and setting the IP address of an interface - sudo ip addr add 192.168.1.100/24 dev eth0, This linux command displays information about the file system disk space usage on the mounted file system - df, This command will display information about all the mounted file systems which will include total size, used space, usage percentage and the mount point - df, This command in Linux is a powerful tool used for searching and manipulating text patterns within files. - grep, This Linux command can be used to show the line number in a text file where a given word or pattern match is mentioned - grep -n "unix" geekfile.txt, This grep command flag would find words in file like "UNIX", "Unix", and "unix". We call this type of grep command flag "Case insensitive search" - -i , An example of a case insensitive search using the grep command to find all case insensitive searches for the word "Unix" in the text file landtechjobs.txt might be - grep -i "UNix" landtechjobs.txt, This Linux command will list the status of different processes on a Linux system - ps, This Linux command and flag lists all processes on the entire system offering a complete overview of running tasks and programs - ps -A AND -e, This Linux command lists all processes except session leaders (instances where the process ID is the same as the session ID) and processes not associated with a terminal - ps -a, This Linux command lists the processes which are currently running and consuming CPU - ps r, This Linux command expands the process list output to include additional information like CPU memory and usage - ps u, This Linux command displays the user manual for a command that can be run in the terminal - man, In a Linux system, the ps command offers a static snapshot of the current processes at a given moment in time. Which command provides a dynamic, real-time view of processes with continuous updates? - top, This Linux command can be used for comprehensive file and directory searches - find, While nslookup can be used for basic DNS lookups on both Windows and Linux machines, this tool can be used for detailed DNS queries providing comprehensive information about a domain's DNS records - dig, To query the A record for a domain using dig, would we type - dig landtechjobs.com, To query all DNS record types with dig, you would type - dig landtechjobs.com ANY, To query the MX record for a domain, one might type - dig landtechjobs.com MX, This Linux command is frequently used to allow users to read, display and concatenate text files - cat, To view the content of a single file in linux, one would type - cat file_name.txt, To copy the contents of file1.txt and file2.txt into a file named merged_file.txt, you would execute what command? - cat file1.txt file2.txt > merged_file.txt, To append the contents of file1 to file2 you would type? - cat file1 >> file2, To create a new file on a Linux machine, one might type - nano file_name, To open an existing file using nano, one might type - nano file_name (if this file does not exist in the current directory, it will create the file. If the file does exist, it will open it), To exit the file editor and file in nano, one might type - Ctrl+X,

A+ (Core 2) Linux Commands ~ Get Tutoring @ LandTechJobs.com

Leaderboard

Flash cards is an open-ended template. It does not generate scores for a leaderboard.

Visual style

Options

Switch template

Continue editing: ?