Linux Commands Flashcards

1
Q

Ping

A

Windows/Linux Command. This command allows the user to test point-to-point network connectivity. This command got its name from the sound sonar makes as it echolocates!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

IfConfig

A

Allows users to see network configuration. IFConfig is short for “Interface Configuration” as it allows you to configure a number of settings for a network interface, including finding IP and MAC Addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

IP

A

Returns an IP address, or allows a user to assign and configure IP Settings for a device. Short for Internet Protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

fsck

A

Scans and Fixes hard drive. Short for “File System Consistency Check”. Fsck is sometimes playfully used as an expletive when referring to corrupted file systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

traceroute

A

Identifies network route. Used as a diagnostic tool, this command measures the paths of packets across an IP network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CD

A

Windows and Linux Command. Short for “Change Directory”. Shell command used to change current working directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Mkdir

A

Make Directory. Allows user to create a new working directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

rmdir

A

Delete directory. Short for “Remove directory”, allows user to delete a specified directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

man

A

Help. Short for “manual”, The man command originally directed users to a small collection of pages from the published user’s manual. Now includes more extensive documentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

nano “file name”

A

Make file. In the late 90s, developer Chris Allegreta was trying to create an alternative to a text editor software called Pico. The name Nano was chosen because ‘nano’ is a scientific measurement 1000 times larger than ‘pico’. Typing nano and then a file name creates a new file of that name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ls

A

Lists files in a directory. Short for the word ‘list’, it can be invoked without argument to list all files in the current working directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

cp-R

A

Copies directory. Short for “Copy-Recursive” this command allows the user to copy entire directories to other directories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

clear

A

Clear screen. This clears all previous text from the screen and puts the command line back at the top of the computer terminal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ps

A

See running programs. Short for “Process status” this command lists all currently running processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

cp

A

Short for “copy”, this command copies files from a source to a destination.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

mv

A

Moves files or directories. Short for “Move” this allows you to move files from one location to another.

17
Q

rm

A

Removes files

18
Q

pwd

A

Shows name of current working directory. Short for “Print Working Directory” this command prints the name of whatever the current directory is.

19
Q

passwd

A

Password change- not to be confused with pwd, which stands for “print working directory” this command is short for password and allows the user to edit their password in terminal.

20
Q

kill

A

End process. By default, this command sends the ‘termination signal’ to a process requesting that it exit.

21
Q

chmod

A

Allows user to change the permissions of files. Short for “Change mode”, it allows the user to alter the RWX access permissions for files and directories

22
Q

sudo

A

Grants user root access without changing their profile. Short for “Superuser do” this command allows users to run programs with the permissions of another user, by default the superuser. Sudo requires the current user’s password to access

23
Q

Shutdown

A

Halts and reboots the Operating System. By default this command will initiate a shutdown one minute from the time the command it is entered, and sends a message warning all users on the system of the shutdown. By specifying a time, users can also schedule a shutdown

24
Q

dd

A

Used to copy files and partitions; used to create temporary swap files. Short for “data definition”. dd can be used to backup boot sector on a hard drive or to convert data as it is copied. Because of its ability to wipe a drive, it has also been called “Disk Destroyer”

25
Q

su

A

Superuser. This allows a user to run a command as another user. Unlike sudo, this requires the user to enter the password of the root access account as opposed to their own.

26
Q

iwconfig

A

Allows users to set and view wireless settings. Similar to IPconfig, but uses IW to refer to the fact that it deals with Wireless Interfaces.

27
Q

grep

A

Complex search command. Stands for “Globally search for a Regular Expression and Print matching lines”. This command searches plain text data sets for lines that match a regular expression.

28
Q

vim

A

Opens a text editor. VIM is short for “Vi Improved”. An abbreviation of “Visual”, Vi was a Unix text editor developed in 1976. VIM is the improved text editor used in most linux distributions.

29
Q

apt-get

A

Installs and Manages software on Debian based Linux Distros. short for “Advanced Packaging Tool”, apt-get retrieves packages and information from authenticated sources for installation, upgrade, or removal.

30
Q

chown

A

Allows user to switch both the owner and group of files. Short for “Change owner”.