Linux (Terminal) commands Flashcards
ls (LS)?
LIST the files in the current directory.
grep
Search for a pattern of text in files and display the results.
This command helps find files with specific words or phrases.
pwd
Show the directory currently in, the WORKING DIRECTORY. Not to be confused with passwd
cd
CHANGE DIRECTORY Change from one directory to another.
mv
MOVE a file to a specific directory
cp
COPY a file.
rm
Delete /REMOVE a file or directory.
chown
CHange the OWNER of a particular file or directory.
chmod
CHange/ MODIFY file permissions.
shutdown
Shut down the system
passwd
Change the PASSWORD for a user account.
iwconfig
Display information about your WIRELESS network adapters and addressing configuration.
*like ipconfig
ifconfig
Display information about your WIRED network adapters and addressing configuration.
*like ipconfig
ps
PRINT/ Display the running SYSTEM processes. You can use this to troubleshoot system problems.
kill
Send a signal to end a process or modify its behavior.
Used to stop malfunctioning programs, or restart system daemons.
su
Login as a SUPERUSER from your current login.
sudo
Execute a command as another user.
Can be used to simulate users with higher privileges and execute commands at that privilege level.
pseudo = copy of.., likeness to.., or imitate
apt-get
Updating, upgrading, or installing packages/ apps.
vi (Visual Editor)
Edit text files
dd (Data Duplicator)
Convert and copy a file/data.
clear
Clear the Terminal screen.
what terminal command-line utility is for listing the contents of a directory or directories?
ls
List directory command
what terminal command-line utility
searches a file for a particular pattern of characters, and displays all lines that contain that pattern.
The grep command
Globally Search for Regular Expression and Print out
what terminal command-line utility is used to Show the active working directory?
pwd
Print Working Directory command
what terminal command-line utility is used to change from one directory to another.
cd
Change Directory command
what terminal command-line utility is used to move a file to a specific directory.
mv
Move Directory command
Linux command used to Copy a file.
cp
Copy command
Linux command used to delete/ remove a file or directory.
rm
Remove command
Which terminal command-line utility is used to Change specific file or directory’s OWNership.
chown
change owner command
Linux command used to Change/Modify file permissions.
chmod
Which terminal command-line utility is used to shut down the system?
shutdown
Linux command used to change the password for a user account?
passwd
Which terminal command-line utility is used to Display information about your WIRELESS network adapters and addressing configuration?
iwconfig
Linux command used to Display information about your WIRED network adapters and addressing configuration.
ifconfig
Which terminal command-line utility is used to troubleshoot system problems, and display the running system processes?
ps
Linux command used to send a signal to end a process or modify its behavior. Used to stop malfunctioning programs, or restart system daemons?
kill
Which terminal command-line utility is used to login as a SUPERUSER from your current login.
su
Which terminal command-line utility is used to execute a command as another user?
sudo
pseudo = copy of.., likeness to, or imitation
Linux command used when updating, upgrading, or installing packages/ applications.
apt-get
Linux command used to edit text files.
vi
visual editor
Linux command used to copy and convert a file/data.
example: Backup and restore the entire hard disk or partition
dd
data duplicator
Which terminal command-line utility is CLEAR the Terminal screen?
clear
In Linux, a running instance of a program is called PROCESS. Which terminal command is used to view active processes
ps
Can be used to simulate users with higher privileges and execute commands at that privilege level.
sudo