1.11 Linux Flashcards
Identify common features and tools of the Linux client/desktop OS
ls
Lists directory contents of files and directories
pwd
Displays the full pathname of the current directory
cd
Changes directories
mv
Move files from one location to another
cp
Copy files from one location to another
rm
Permanently deletes files, groups of files, directories or directory trees
Which three commands are used in both files and directories?
mv, cp, rm
df
Displays amount of free disk space
du
Estimates file space usage
nano
Easy to use command line text editor
vi
Old command that supports modal editing
vim
Supports normal, visual, insert, and command line mode
(Upgraded vi)
pico
Text editor that provides less features and less complexity
cat
Used to create, view, or concatenate files
find
Searches file system or directory
grep
Perform text searches for a defined criteria of words or strings
su
Allows you to execute commands as another user
sudo
Allows access to restricted files and operations
usermod
Change the properties of a user in Linux through the command line
userdel
Deletes a user account and related files
passwd
Change user passwords
groupadd
Add a new group
groupmod
Modify a group
groupdel
Delete a group
chmod
Control file access permissions
chown
Change user/group ownership of files, directories or symbolic links
apt-get
Package management tool to install and remove software on Debian
yum
Used to install and remove software on Red Hat
dnf
Updated version of yum command and used to install and remove software on Red Hat
rpm
Open source program for installing, uninstalling, and managing software packages in Linux
ps
Displays list of currently running processes
top
Task manager that is used to display information about CPU and memory
ip
Used for configuring network interfaces
ping
Used to test a host’s reachability on an IP-based network
traceroute
Used to display the route and transmit time across an IP-based network
dig
Used to query the DNS to get information about the different DNS records
man
Used for accessing and searching online reference manuals
–help
Written after the name of a command to give information on how to use a specific command
Samba
Cross-platform file sharing protocol that supports the SMB
Name the Linux scheduling service
cron
gzip
Compression tool for reducing the size of a file. Consists of a GNU header and deflated data
What should you install on a Linux device to communicate with a Windows host/server?
Samba