Back to AI Flashcard MakerInformation Technology /Linux Fundamentals Part 1 & 2
Linux Fundamentals Part 1 & 2
This deck covers essential Linux commands and concepts, including navigation, file operations, permissions, processes, networking, package management, and more.
What command shows the current directory path?
pwd
Tap or swipe ↕ to flip
Swipe ←→Navigate
1/52
Key Terms
Term
Definition
What command shows the current directory path?
pwd
How do you list files in a directory?
ls
What does 'ls -l' do?
Lists files with detailed information.
How do you change directories?
cd
What command creates a new directory?
mkdir
How do you create an empty file?
touch
Related Flashcard Decks
Study Tips
- Press F to enter focus mode for distraction-free studying
- Review cards regularly to improve retention
- Try to recall the answer before flipping the card
- Share this deck with friends to study together
| Term | Definition |
|---|---|
What command shows the current directory path? | pwd |
How do you list files in a directory? | ls |
What does 'ls -l' do? | Lists files with detailed information. |
How do you change directories? | cd |
What command creates a new directory? | mkdir |
How do you create an empty file? | touch |
What command copies files? | cp |
How do you move or rename files? | mv |
What command deletes files? | rm |
How do you delete a directory and its contents? | rm -r |
How can you view the contents of a file? | cat |
What command allows you to view a file one page at a time? | less |
How do you view the first few lines of a file? | head |
What command shows the last few lines of a file? | tail |
How do you search for a pattern in files? | grep |
What does 'grep -r' do? | Searches recursively for a pattern. |
How do you count the number of lines in a file? | wc -l |
What does 'ls -l' show regarding file permissions? | It shows the permissions of files. |
How do you change file permissions? | chmod |
What command changes file ownership? | chown |
What do the permissions 'r', 'w', and 'x' stand for? | Read, write, and execute. |
How do you view running processes? | ps aux |
What command provides a dynamic view of system processes? | top |
How do you terminate a process? | kill |
What command displays system information? | uname -a |
How do you check disk space usage? | df -h |
What command shows disk usage of files and directories? | du -h |
How do you view network interfaces and IP addresses? | ip a |
What command checks connectivity to a host? | ping |
How do you transfer data from or to a server? | curl |
What command downloads files from the web? | wget |
How do you display network connections and listening ports? | netstat -tulnp |
What command updates package lists on Debian-based systems? | apt update |
How do you upgrade installed packages? | apt upgrade |
What command installs new packages? | apt install |
How do you remove installed packages? | apt remove |
How can you access a command's manual page? | man |
What option provides help for a command? | --help |
How do you search for a term inside a man page? | / |
What command shows the current user? | whoami |
How do you execute a command as a superuser? | sudo |
What command switches the current user? | su |
How do you change a user's password? | passwd |
What command extracts tar archives? | tar -xvf |
How do you create a tar archive? | tar -cvf |
What command compresses files into a zip archive? | zip |
How do you extract files from a zip archive? | unzip |
How do you find files by name? | find / -name |
What command displays printable strings in files? | strings |
How do you determine the type of a file? | file |
What command listens for incoming connections on a port? | nc -lvnp |
How do you securely copy files between hosts? | scp |
