Operating System: Common features and tools of the Linux client/desktop OS Flashcards
CompTIA A+ 220-1102 Exam Criteria
What does pwd function for in the linux command line tool do?
Shows Current directory
What is the Bash shell?
The bash shell can be used to manage files and directories on a linux operating system. Specific commands are used to accomplish these tasks.
What is the linux command line to switch users?
su
How can I elevate my privelages to superuser?
Sudo
How can I navigate to and from directories in linux command tool?
CD
What linux command do I use to search for particular file pattern?
The grep filter searches a file for a particular pattern of characters and displays all lines that contain that pattern.
How can you list the contents of a current directory in linux command line tool?
ls
How can I move or rename files in the linux command tool?
mv
How can I copy files in the linux command tool?
Cp – copies files and directories
Cp test1.txt ~/Desktop
How can I remove files in linux command tools?
Rm – Does not remove directories by default (use –r options\ or –d if directory is empty
How can I modify permissions of files?
Sudo chmod a-w test1.txt
Sudo chmod a+w test1.txt
How can I change ownerships over files?
chown
What command line tool in linux can I use to edit Files?
Vi/Vim are complex and powerful text editors while Nano is a lightweight, simplified editor.
what tool can I use to find files in linux?
./Documents/ test*
I need to find the network configuration in linux command line tool?
ifconfig
How can I find the current IP address used in linux command line tool?
Ip addr or IP
What is a equivalent command line tool for nslookup in linux?
Dig (Domain Internet Growbridge) – allows you to DNS name resolution look up, just like nslookup)
Process and Daemons: Ps
What the current processes are tied to your log in
Top
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
How to quit in the command line linux tool?
Kill
What is the function of man ls
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.
How can I have a look inside a file really quickly?
Cat (enter file name here)
how can Identify the current storage utilization?
Df
What is the current memory being utilized?
Free
Convert and copy files?
dd is a command-line utility for Unix and Unix-like operating systems whose primary purpose is to convert and copy files.
How to shutdown?
Shutdown
I need to know what processes are using my memory?
top
apt-get
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.
What is the Samba Tool?
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.
Linux Shell/terminal
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.