UNIX for neuefische

A visually engaging illustration of a computer terminal displaying UNIX command prompts with colorful icons representing different UNIX commands.

UNIX Fundamentals Quiz

Test your knowledge of UNIX commands and concepts with our engaging quiz designed for beginners. Whether you're just starting out or looking to refresh your skills, this quiz will help you understand key commands and their functionalities in the UNIX environment.

Features:

  • 21 multiple-choice questions
  • Includes practical command usage
  • Immediate feedback on your answers
21 Questions5 MinutesCreated by LearningShell42
U got lost in your directories. What command can help u out to find in wich directory you are currently in or more precise, what's your current working directory?
Pdf
Ppt
Pwd
U just want to change your directory, wich command will help you out?
Go2
Cd
Md
What can u type in to go up to the parent directory?
Cd!
CD:
Cd..
Cd ..
Is it possible to move up through multiple levels of parent directories? Wich command would it be?
Cd :/:
Cd ../..
Cd../..
There are relitve and absolute paths. Absolute ones are characterized with?
\
(
:
/
Wich command will remind you of your username, in case you forgot it?
Whoami
Whoareu
Whereami
Whatami
When you run a command the output it produces will always be printed directly in the terminal.
True
False
You have to be extra careful with case when typing in the command line! Unix is case sensitive.
True
False
You want to create a new directory. Wich command would you use?
Createdir
Mkdir
Cdir
Makedir
Is it important to use a "/" while creating a new subdirectory into an directory? For example: 'mkdir /folder1/folder2'
No, not at all.
Yes, it is important to use a absolute path, to make sure that you create the folder2 directory inside /folder1. Otherwise it would try to find a folder1 directory inside the current working directory and the command would fail if it couldn’t find it there.
Isnt slash the guitarist of Guns N' Roses?!
The cd command can work with at least one argument or more.
True
False
Different commands can accept different numbers of arguments.
True
False
You want to take a look at your subdirectories? What would u type in?
Letssee
List
Ls
You want to create 3 directories, 'dir1', 'dir2' and 'dir3'. 'dir2' and 'dir3' should be created in 'dir1'. Is this possible with only one command?
No, you have to create 'dir1' first, change into 'dir1' and then create 'dir2' and 'dir3' there.
Yes, u have to use an option or a switch, in this case '-p' should work. The command should look like this: 'mkdir -p dir1/dir2 dir1/dir3'.
U want to create a directory "new folder" with a space in the name. What would you do?
I'll just type: 'mkdir new folder'.
I have to use quote marks or backslashes, like this: "new folder" or 'new folder'. Otherwise 2 directorys would be created.
I wont use any space, instead ill use se underscores (“_”) or hyphens (”-”) for my file names!
Wich “wildcard” characters could you use to pass multiple file names to a single command?
"?" wich indicates any single character
"*" wich indicates zero or more characters
"!" wich indicates important characters
You want to capture the output of a command as a text file. What will you do?
I'll add the greater-than character (”>”) to the end of our command line, followed by the name of the file to write to
I'll type: "cat output.txt"
The command "cat" comes from ‘concatenate’, meaning “to link together”
True
False
Is there a way to easily create small text files with content?
Yes, just combine "echo" with a redirect. For example: echo "No one reads this anyways." > Important.txt
No, u have to create a text file and then fill it with your text.
The command "echo" just prints its arguments back out again.
True
False
You should be extra careful when using redirection to make sure that you don’t accidentally overwrite a file you need.
True
False
{"name":"UNIX for neuefische", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of UNIX commands and concepts with our engaging quiz designed for beginners. Whether you're just starting out or looking to refresh your skills, this quiz will help you understand key commands and their functionalities in the UNIX environment.Features:21 multiple-choice questionsIncludes practical command usageImmediate feedback on your answers","img":"https:/images/course7.png"}
Powered by: Quiz Maker