Linux Commands for A+ Core 2 1102
cat
(short for "concatenate") allows us to create single or multiple files, view content of a file, concatenate files and redirect output in terminal or files.
top
(table of processes) 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.
su/sudo
- Become super user - Execute command as super user
chown
Change file owner and group
pwd
Print Working Directory/displays current working directory path
samba
Samba is a suite of applications that implements the Server Message Block (SMB) protocol.
grep
Search file(s) for lines that match a given pattern
apt-get
Search for and install software packages (Debian/Ubuntu)
nano
The Nano text editor is a user-friendly, free and open-source text editor that usually comes pre-installed in modern Linux systems.
man
a built-in manual for using Linux commands. It allows users to view the reference manuals of a command or utility run in the terminal.
chmod
change permission modifiers
cp
copy a file or directory
ls
list directory contents
mv
move a file or directory (rename)
rm
remove files or directory
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.
ip
tool for configuring network interfaces that any Linux system administrator should know. It is used to bring interfaces up or down, assign and remove addresses and routes, manage ARP cache, and much more.
df
used to display the free disc space of a specific file system.
dig
used to gather DNS information. It stands for Domain Information Groper, and it collects data about Domain Name Servers. The dig command is helpful for troubleshooting DNS problems, but is also used to display DNS information.
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.
ps
viewing information related with the processes on a system which stands as abbreviation for "Process Status". ps command is used to list the currently running processes and their PIDs along with some other information