Linux Basics: Introduction and Commands
17 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

The ______ command is used to print the working directory.

pwd

The ______ command is used to change the directory.

cd

The ______ command is used to make a new directory.

mkdir

The ______ command is used to list all files and folders in the current directory.

<p>ls</p> Signup and view all the answers

The ______ command is used to remove a file.

<p>rm</p> Signup and view all the answers

The ______ command is used to clear the whole shell.

<p>clear</p> Signup and view all the answers

The command _______ is used to make a copy of a file.

<p>cp</p> Signup and view all the answers

The command _______ shows your username.

<p>whoami</p> Signup and view all the answers

The command _______ is used to compress a file.

<p>gzip</p> Signup and view all the answers

The command _______ is used to display the calendar of the current month.

<p>cal</p> Signup and view all the answers

The command _______ is used to search for a string of characters in a specified file.

<p>grep</p> Signup and view all the answers

The command _______ is used to show the disk usage in a particular directory.

<p>du</p> Signup and view all the answers

The command "du -s" provides a ________________ of the directory.

<p>summary</p> Signup and view all the answers

The "du -h" command prints the output in a ________________ format.

<p>human-readable</p> Signup and view all the answers

The "--time" option with the "du" command shows the time of last ________________ to any file in the directory or subdirectory.

<p>modification</p> Signup and view all the answers

The "du -a" command lists the sizes of all ________________ and directories in the given file path.

<p>files</p> Signup and view all the answers

The "info" command is used to display ________________ information about a command.

<p>command</p> Signup and view all the answers

More Like This

Linux İşletim Sistemi
5 questions
Unix File Management Basics
37 questions
Linux Command Line Basics
5 questions
Use Quizgecko on...
Browser
Browser