Back to notes
What is the purpose of the 'nano' command in Linux?
Press to flip
Nano is a basic text editor used for simple text editing tasks.
How do you securely copy files over SSH using Linux commands?
Use the 'scp' command with the syntax: scp source destination.
Which Linux command provides real-time statistics about system processes?
The 'top' command.
How can you bring a backgrounded job back to the foreground in Linux?
By using the 'fg' command.
What does the 'python3 -m http.server' command do?
It starts a simple HTTP server to serve files from the current directory, defaulting to port 8000.
Explain the functionality of 'add-apt-repository' in Linux.
'add-apt-repository' is used to add new software sources in Debian-based Linux distributions.
What is the purpose of the 'systemctl' command in managing processes?
'systemctl' is used for managing system services, allowing you to start, stop, or restart services.
Why might a developer choose to use Vim over Nano?
Vim is more powerful, offering advanced features like extensibility and syntax highlighting, suitable for complex editing tasks.
What is the role of 'crontab' in system automation?
Crontab is used to schedule regular tasks and automate processes with time-based job scheduling.
Where are log files typically stored in a Linux system?
Log files are usually stored in the '/var/log' directory.
How can you view all running processes in a detailed view?
Use the 'ps aux' command for a detailed list of all running processes.
What command would you use to download a file from the internet in Linux?
The 'wget' command is used to download files via HTTP.
Describe the difference between the 'kill' command's SIGTERM and SIGKILL signals.
SIGTERM allows for graceful termination, while SIGKILL forcefully stops a process.
What is the use of Ctrl + W in the 'nano' editor?
Ctrl + W is used to search for text within the file in nano.
What are the key syntax components for scheduling a task in crontab?
Minute, hour, day of month, month, and day of week.
Previous
Next