
Exploring Linux and Shell Programming

Quiz
•
Computers
•
12th Grade
•
Hard
Dr.Sanjeev Gour
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to list files in a directory?
show
ls
list
dir
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you change the permissions of a file in Linux?
Edit the file with a text editor.
Run the 'ls' command to view permissions.
Use the 'chmod' command.
Use the 'chown' command.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the command 'chmod 755 file.txt' do?
Sets file permissions to rwxrwxrwx for file.txt.
Sets file permissions to r--r--r-- for file.txt.
Sets file permissions to rwxr-xr-x for file.txt.
Sets file permissions to rw-r--r-- for file.txt.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the purpose of the 'grep' command.
To display system information and statistics.
To create backups of files in a directory.
To compile source code into executable files.
The purpose of the 'grep' command is to search for and display lines that match a specified pattern in files or input.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a shell script?
A shell script is a type of computer virus.
A shell script is a graphical user interface.
A shell script is a file with a series of commands for the shell to execute.
A shell script is a programming language for web development.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a new directory in Linux?
Use the command 'mkdir
Use the command 'rmdir
Type 'create
Execute 'newdir
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between 'cp' and 'mv' commands?
The 'cp' command compresses files, while the 'mv' command extracts files.
The 'cp' command deletes files, while the 'mv' command copies files.
The 'cp' command moves files, while the 'mv' command deletes files.
The 'cp' command copies files, while the 'mv' command moves or renames files.
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
FILE HANDLING

Quiz
•
12th Grade
20 questions
Flash Card Perintah Dasar Debian

Quiz
•
12th Grade
11 questions
File Management and Computer Literacy

Quiz
•
9th - 12th Grade
15 questions
File Handling in Python

Quiz
•
12th Grade
10 questions
Quiz 9 (15.09.2021)

Quiz
•
1st - 12th Grade
10 questions
MOAC Word 2016 Lesson 1

Quiz
•
8th Grade - University
10 questions
File Type Extensions

Quiz
•
8th Grade - University
10 questions
Windows 10 System Management Tools

Quiz
•
9th Grade - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
12 questions
Classifying Polys - 1.1

Quiz
•
10th - 12th Grade
20 questions
1.1 (b) Add / Sub/ Multiply Polynomials

Quiz
•
12th Grade