ICS113_Unix Commands

Quiz
•
Computers
•
University
•
Hard
W Mao
Used 5+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
cd is equivalent to cd ~.
(Try it yourself in CentOS)
True
False
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following shortcuts move the mouse cursor to end of line ?
(Try it yourself in CentOS)
CTRL-A
CTRL-E
CTRL-K
CTRL-U
3.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which of the following commands will list all the files in the current folder? (Multi-select; try it yourself in CentOS)
ls
ls -a
ls -l
ls -al
4.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
To control access permissions to a file named "viewer.txt" in the current directory, what command is used to give write and execute permissions to the owner and group and no permissions to others?
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Complete the command to move the file abc.txt from the current user's Desktop folder (inside the user's home) into the /etc directory.
Select the best answer. (/etc folder stores system configuration files, executables required to boot the system, and some log files.)
sudo cp /etc ~/Desktop/abc.txt
cp ~/Desktop/abc.txt /etc
sudo cp ~/Desktop/abc.txt /etc
cp /etc ~/Desktop/abc.txt
6.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
Assuming the file data.csv contains comma-separated data, what command is used to cut out fields 7 and 9 and save the result (without error messages) to the file output.log?
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Assuming the file employees.csv contains comma-separated text data listing employee numeric IDs, names and address, where the first field of each line is the numeric ID, write a grep command that uses a regular expression to return all employees with an employee ID ending with 3, 5, or 7.
grep '^[0-9]*[357],' employees.csv
grep '^[0-9]*[357]' employees.csv
grep '^.*[357],' employees.csv
grep '[0-9]*[357]' employees.csv
Similar Resources on Wayground
10 questions
PYTHON PROGRAMMING

Quiz
•
University
9 questions
C# - Ficheiros 1

Quiz
•
10th Grade - University
9 questions
Command Line

Quiz
•
12th Grade - Professi...
10 questions
Wrażenia globlne w Linxie

Quiz
•
10th Grade - University
10 questions
Part 2 - Command Line

Quiz
•
University
10 questions
Graficas Parte 2

Quiz
•
University
12 questions
Pandas and Matplot Quiz

Quiz
•
University
10 questions
Que Tanto Sabes de Tecnologia

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University