Linux Commands for Comptia A+ 1102

23 flashcardsby an OutLearn student
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
ls
list directory contents. using -l gives a more detailed view. when invoked without any arguments, it lists the files in the current working directory.
2
pwd
displays current working directory path.
3
mv
move a file or directory (rename). supports moving single files, multiple filews, and directories. this command can prompt before overwriting files and will only move files that are newer than the destination. when this command is used, the file is copied to the new directory and removed from the old directory.
4
cp
copy a file or directory. it supports moving one or more files or folders with options for taking backups and preserving attributes. independent of the original file of course.
5
rm
used for removing files or directories. to remove a file, pass the name of a file or files to this command, and those files will be removed immediately from the file system.
6
chmod
change permission modifiers
7
chown
change file owner and group
8
su/sudo
-become super user/-execute command as super user and then return to regular state.
9
apt-get
search for and install software packages (in Debian and Ubuntu).
10
yum
the primary tool for getting, installing, deleting, querying, and otherwise managing Red Hat Enterprise Linux RPM software packages from official Red Hat software repositories, as well as other third-party repositories.
11
ip
tool for configuring network interfaces that any Linux system administrator should know. it's used to bring interfaces up or down, assign and remove addresses and routes, manage ARP cache, and much more.
12
df
used to display the free disk space of a specific file system.
13
grep
search file(s) for lines that match a given pattern.
14
ps
viewing information related with the processes on a system which stands as an abbreviation for process status. this command is used to list the currently running processes and their PIDs along with some other information.
15
man
the built in manual for using Linux commands. It allows users to view the reference manuals of a command or utility run in the terminal.
16
top
this command shows a real-time view of running processes in Linux and displays kernal-managed tasks. the command shows a real-time view of running processes in Linux and displays kernel-managed tasks. the command also provides a system information summary that shows resource utilization, including CPU and memory usage.
17
find
used to search and locate the list of files and directories based on conditions you specify for files that match the arguments. find command can be used in a variety of conditions like you can find files by permissions, users, groups, file types, date, size, and other possible criteria.
18
dig
used to gather DNS information. it stands for Domain Information Groper, and it collects data about Domain Name Servers. this command is helpful for troubleshooting DNS problems, but is also used to display DNS information.
19
cat
short for concatenate, allows you to create single or multiple files, view content of a file, concatenate files, and redirect output in terminal or files.
20
nano
this text editor is a user-friendly, free and open-source text editor that usually comes pre-installed in modern Linux systems.
21
samba
this is a suite of applications that implements the Server Message Block protocol.
22
passwd
changes passwords for user accounts. a normal user may only change the password for their account, while the superuser may change the password for any user.
23
shutdown
used to shut down computers in a secure way. when initiated, all logged-in users and running processes are notified that the system will shutdown, and no further logins are allowed. adding +## allows you to shutdown the computer in that amount of minutes. adding ##:## allows you to shutdown at that specific time.
Study all 23 cards for free