Which command is used to display the current working directory?
Lfcs Domain Essential Commands
Question · Easy
Which command would you use to create a new directory named "projects" in the current location?
What does the command "cp -r /source /destination" do?
Tech Exam Prep Podcast
Listen on Spotify
Podcast
A user needs to find all files larger than 100MB in the /var directory. Which command should they use?
Question · Medium
Which command creates a hard link named "backup" pointing to the file "document.txt"?
Which command displays the first 10 lines of a file named "log.txt"?
What does the command "grep -i error log.txt" do?
Which command is used to replace all occurrences of "foo" with "bar" in a file using in-place editing?
Which command counts the number of lines in a file named "data.csv"?
Which awk command prints the first column of a space-separated file?
Which command gives the owner read, write, and execute permissions on a file named "script.sh"?
What does the permission string "drwxr-xr--" indicate?
Which command changes the owner of a file to user "john" and group "developers"?
Which command creates a compressed archive named "backup.tar.gz" containing the "documents" directory?
Which command extracts a tar.bz2 archive?
Which command displays all running processes for the current user in a full format listing?
Which command sends a SIGTERM signal to process ID 1234?
Which command runs a process with the lowest possible priority (highest niceness value)?
Question · Hard
Which command displays the value of the PATH environment variable?
Which git command downloads the latest changes from a remote repository without merging them?
Which command starts the nginx service immediately?
Lfcs Domain Operations Deployment
Which command enables the httpd service to start automatically at boot time?
Which command displays the current status of the sshd service including recent log entries?
Where are custom systemd service unit files typically stored?
Which command reloads systemd configuration after creating a new service file?
Which command creates a timer that runs a service 5 minutes after boot?
What does the "WantedBy=multi-user.target" directive in a systemd service file indicate?
Which command masks a service to prevent it from being started manually or automatically?
Which command displays all log entries for the nginx service?
Which command shows logs from the previous boot?
Which command continuously follows new log entries in real-time?
Which command displays logs with priority level "error" or higher?
On a Debian/Ubuntu system, which command updates the package list and upgrades all packages?
Which command searches for packages related to "nginx" on a RHEL/CentOS system?
Which command installs a local .rpm package file?
On a SUSE system, which command installs the apache2 package?
Which command shows which package owns the file /bin/bash on a Debian system?
Which command removes a package and its unused dependencies on a RHEL 9 system?
Which file contains the GRUB bootloader configuration on modern Linux systems?
Which command loads a kernel module named "e1000"?
Which command lists currently loaded kernel modules?
Which file can be used to blacklist a kernel module from loading?
What is the target that represents the system fully booted in graphical mode?
Which crontab entry runs a script every day at 2:30 AM?
Which command edits the current user's crontab?
Which command synchronizes the system clock with NTP servers?
Which file contains the system-wide timezone setting?
Loading more…