2.1 Basic Linux Commands

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

cd

Basic Linux Commands For admins on a headless server, '____' is the only way to navigate to a directory to check log, execute a program/application/script and for every other task.

ls

Basic Linux Commands List contents of current directory

q

Basic Linux Commands The ___ command is used to quit the Unix full-screen editor called vi.

ls

Basic Linux Commands The ___ command lists information about the files in the current directory.

dd

Basic Linux Commands The ____ command copies a file, converting the format of the data in the process, according to the operands specified.

ps

Basic Linux Commands The ____ command displays information about a selection of the active processes.

su

Basic Linux Commands The ____ command is used to change from one user account to another.

cd

Basic Linux Commands The ____ command is used to change the current directory just as it does at the Windows command line.

cp

Basic Linux Commands The ____ command is used to copy files and directories.

vi

Basic Linux Commands The ____ command is used to invoke the vi editor (mentioned in the section about the q command) which is a full-screen editor with two modes of operation:

rm

Basic Linux Commands The ____ command removes (deletes) files or directories when it is combined with the -r option.

chown

Basic Linux Commands The _____ command is used to change the ownership of a file.

grep

Basic Linux Commands The ______ command is used to search text or to search the given file for lines containing a match to the given strings or words.

cmkdir

Basic Linux Commands The _______ command is used to create a Cryptographic File System (CFS) directory. These directories are stored in encrypted format. The command will prompt you for a password that will be used to encrypt the directory. The

ifconfig

Basic Linux Commands The ________ and iwconfig commands are used to configure network interfaces. While the ifconfig command is dedicated to wired connections, the iwconfig command is used on wireless interfaces. Here

shutdown

Basic Linux Commands The _________ command brings the system down in a secure way.

shutdown

Basic Linux Commands The _________ command brings the system down in a secure way. All logged-in users are notified that the system is going down, and login operations are blocked.

sudo

Basic Linux Commands The _________ command can be added at the front of a command to execute the command using root privileges.

chmod

Basic Linux Commands The _________ command is used to change the permissions of files or directories.

cd -e

Basic Linux Commands The cd command is used to change the current directory just as it does at the Windows command line. If the -P option is specified and the current working directory cannot be determined, this option tells cd to exit with an error. If -P is not specified along with this option, this option has no function.

cd -L

Basic Linux Commands The cd command is used to change the current directory just as it does at the Windows command line. This option forces symbolic links to be followed. In other words, if you tell cd to move into a directory, which is actually a symbolic link to a directory, it moves into the directory the symbolic link points to.

cd -p

Basic Linux Commands The cd command is used to change the current directory just as it does at the Windows command line. This option uses the physical directory structure without following symbolic links. In other words, change into the specified directory only if it actually exists as named; symbolic links will not be followed. This is the opposite of the -L option, and if they are both specified, this option will be ignored.

chmod

Basic Linux Commands The command name _________ stands for "change mode", and it is used to define the way a file can be accessed.

hidden

Basic Linux Commands The ls command doesn't display __________ files/directories by default. However, you can force the tool to do that using the -a command line option.

ls -a

Basic Linux Commands The ls command doesn't display hidden files/directories by default. However, you can force the tool to do that using the ____ -__ command line option.

time

Basic Linux Commands The shutdown command brings the system down in a secure way. All logged-in users are notified that the system is going down, and login operations are blocked. The _______ argument specifies when to perform the shutdown operation.

message

Basic Linux Commands The shutdown command brings the system down in a secure way. All logged-in users are notified that the system is going down, and login operations are blocked. The time argument specifies when to perform the shutdown operation. A _________ to be sent to all users, along with the standard shutdown notification.

ls

Basic Linux Commands Whenever it's required to take a look at the contents of a directory on the command line in Linux, ____ is the command that's used. It lists the contents sorted in alphabetical order.

mv

Basic Linux Commands While the ___ command can be used to move or rename a file in Linux, it's usually used to move a file.

passwd

Basic Linux Commands While the _______ command changes passwords for user accounts, the pwd command prints the full path name of the current working directory.

pwd

Basic Linux Commands While the passwd command changes passwords for user accounts, the ______ command prints the full path name of the current working directory. The syntax for the passwd command is as follows: McMillan, Troy. CompTIA A+ Complete Review Guide: Exams 220-901 and 220-902 (p. 628). Wiley. Kindle Edition.

apt-get

Basic Linux Commands _____-_____ is the command-line tool for working with Advanced Packaging Tool (APT) software packages. These tools install packages on your system.

Grep

Basic Linux Commands ________ is a powerful tool for matching a regular expression against text in a file, multiple files, or a stream of input. It searches for the PATTERN of text that you specify on the command line, and outputs the results for you.

dd

The ____ command stands for "data duplicator" and used for copying and converting data.


संबंधित स्टडी सेट्स

Pronouns, Prepositions, Phrases, and Clauses.

View Set

Unit 6: Environmental Regulations

View Set

Chapter 10 - Emotional and Social Development in Middle Childhood

View Set

All About the Enlightenment: The Age of Reason

View Set

deWit Medical Surgical Nursing Chapter 7 Questions

View Set