NEW
Font size
WorksheetsExploring Linux Fundamentals
Total questions: 10
Worksheet time: 5mins
Which command is used to list files in a directory?
view
ls
list
show
How do you create a new user in Linux?
newuser
createuser
usermod
useradd
What does the 'ls -l' command display?
List of all files in the current directory
Detailed information about files and directories in long format.
Display the current working directory
Show disk usage statistics
What is the significance of the '/etc/passwd' file?
The '/etc/passwd' file is a backup for user data.
The '/etc/passwd' file stores user account information and is essential for user authentication and management.
The '/etc/passwd' file is used for storing application logs.
The '/etc/passwd' file contains system configuration settings.
Which command is used to change the current directory?
mv
cd
pwd
ls
What does the 'ps' command do?
Shows system memory usage.
Displays network connections.
Displays currently running processes.
Lists all available commands.
What command is used to display disk usage?
du
ls
df -h
df
How do you find out which user is currently logged in?
Use the 'whoami' command in the terminal.
Check the 'loggedin' file in the home directory.
Use the 'current' command in the terminal.
Run the 'status' command in the command prompt.
What is the purpose of the 'mkdir' command?
To delete a directory.
To list files in a directory.
To create a new directory.
To move a directory to another location.
What does the 'df' command show?
The 'df' command shows disk space usage and availability on file systems.
The 'df' command shows network usage statistics.
The 'df' command displays system memory usage.
The 'df' command lists active processes on the system.
