BVG-7003 Quiz#2

Create a vibrant, visually engaging illustration of a person sitting at a computer terminal with multiple command line windows open, showcasing text like 'ls', 'chmod', and 'cut', in a cozy, tech-inspired workspace.

Test Your Command Line Skills

Welcome to the BVG-7003 Quiz#2, designed to test your command line knowledge and skills. This quiz covers various topics such as file permissions, shell commands, and basic programming constructs.

Participate to:

  • Enhance your understanding of Linux shell commands
  • Prepare for real-world scenarios on servers
  • Challenge yourself and improve your problem-solving abilities
13 Questions3 MinutesCreated by NavigatingNinja42
Email:
Name:
Show every process on the computer or server
Cat
Ls -la
Top
Top -u
How do you visualize the content of file "not_empty"?
Less not_empty
Cat not_empty
More not_empty
None of the above
Which command do you use to extract second and forth columns from the file “gene.gff”?
Cut -f 2,4 gene.gff
Cut -f 2-4 gene.gff
Grep 2,4 gene.gff
Grep -f 2-4 gene.gff
Shells typically end with the letters 'sh' (i.e. zsh, csh, etc.). Find all files that end with the string 'sh' in the /bin directory.
Ls sh
Ls /bin | grep "*sh"
Ls /bin
Grep "*sh" /bin | ls
Assign the variable RAPPER to the value 'ludacris'. 
RAPPER=”Ludacris”
RAPPER=”ludacris”
RAPPER:”Ludacris”
Ludacris="RAPPER”
Which command reads user input from the terminal and assign this value to a variable name ?
Function
Read
For
If

Is following "for" loop to iterate over the list snake, rat, cat and print the words to the Terminal correct?

 

for animal in snake rat cat; do
echo $animal
done
Yes
No
On a server SLURM provides:
Exclusive and/or non-exclusive access to resources (computer nodes) to users for some duration of time so they can perform work
A framework for starting, executing, and monitoring work
Contention for resources by managing a queue of pending jobs
All of the above
Given a file with permission 755, what commands would change the permission to r-xr--r--?
Chmod 544 filename
Chmod u+w,go+x filename
Chmod u-rx,go-r filename
Chgrp 544 filename
Email:
{"name":"BVG-7003 Quiz#2", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Welcome to the BVG-7003 Quiz#2, designed to test your command line knowledge and skills. This quiz covers various topics such as file permissions, shell commands, and basic programming constructs.Participate to:Enhance your understanding of Linux shell commandsPrepare for real-world scenarios on serversChallenge yourself and improve your problem-solving abilities","img":"https:/images/course2.png"}
Powered by: Quiz Maker