Operating System: Common features and tools of the Linux client/desktop OS Flashcards

CompTIA A+ 220-1102 Exam Criteria

1
Q

What does pwd function for in the linux command line tool do?

A

Shows Current directory

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

What is the Bash shell?

A

The bash shell can be used to manage files and directories on a linux operating system. Specific commands are used to accomplish these tasks.

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

What is the linux command line to switch users?

A

su

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

How can I elevate my privelages to superuser?

A

Sudo

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

How can I navigate to and from directories in linux command tool?

A

CD

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

What linux command do I use to search for particular file pattern?

A

The grep filter searches a file for a particular pattern of characters and displays all lines that contain that pattern.

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

How can you list the contents of a current directory in linux command line tool?

A

ls

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

How can I move or rename files in the linux command tool?

A

mv

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

How can I copy files in the linux command tool?

A

Cp – copies files and directories

Cp test1.txt ~/Desktop

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

How can I remove files in linux command tools?

A

Rm – Does not remove directories by default (use –r options\ or –d if directory is empty

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

How can I modify permissions of files?

A

Sudo chmod a-w test1.txt

Sudo chmod a+w test1.txt

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

How can I change ownerships over files?

A

chown

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

What command line tool in linux can I use to edit Files?

A

Vi/Vim are complex and powerful text editors while Nano is a lightweight, simplified editor.

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

what tool can I use to find files in linux?

A

./Documents/ test*

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

I need to find the network configuration in linux command line tool?

A

ifconfig

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

How can I find the current IP address used in linux command line tool?

A

Ip addr or IP

17
Q

What is a equivalent command line tool for nslookup in linux?

A

Dig (Domain Internet Growbridge) – allows you to DNS name resolution look up, just like nslookup)

18
Q

Process and Daemons: Ps

A

What the current processes are tied to your log in

19
Q

Top

A

Is equivalent to task manager which gives you information of associated users and processes) Hit Q to get out of screen / top – snapshot of current process

20
Q

How to quit in the command line linux tool?

A

Kill

21
Q

What is the function of man ls

A

if you wanted to learn about “ls” command, you would type “man ls” into command line. This would bring up a detailed manual page for ls command, including information on its syntax, options, and arguments. There are different sections within man command, each of which covers a specific topic.

22
Q

How can I have a look inside a file really quickly?

A

Cat (enter file name here)

23
Q

how can Identify the current storage utilization?

A

Df

24
Q

What is the current memory being utilized?

A

Free

25
Q

Convert and copy files?

A

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

26
Q

How to shutdown?

A

Shutdown

27
Q

I need to know what processes are using my memory?

A

top

28
Q

apt-get

A

a command-line tool that helps in handling packages in Linux. Its main task is to retrieve the information and packages from the authenticated sources for installation, upgrade, and removal of packages along with their dependencies. Here APT stands for Advanced Packaging Tool.

29
Q

What is the Samba Tool?

A

Samba enables Linux / Unix machines to communicate with Windows machines in a network. Samba is open source software. Originally, Samba was developed in 1991 for fast and secure file and print share for all clients using the SMB protocol. Since then it has evolved and added more capabilities.

30
Q

Linux Shell/terminal

A

The Linux command line is a text interface to your computer. Often referred to as the shell, terminal, console, prompt or various other names, it can give the appearance of being complex and confusing to use.

31
Q
A