UNIX Basics

UNIX Basics

University

10 Qs

quiz-placeholder

Similar activities

Fundamentos de Shell Script

Fundamentos de Shell Script

11th Grade - University

12 Qs

Linux quiz 2

Linux quiz 2

University

15 Qs

Linux Tools for Developers

Linux Tools for Developers

University

15 Qs

THE BIG BANG QUIZ

THE BIG BANG QUIZ

1st Grade - Professional Development

15 Qs

Web Apps 03 - MongoDB

Web Apps 03 - MongoDB

University

12 Qs

Week 7 Quiz

Week 7 Quiz

University

9 Qs

ULI101 SLG -- Week 2

ULI101 SLG -- Week 2

University

8 Qs

Quiz 11 Perancangan dan Pemrograman Web 2022-2

Quiz 11 Perancangan dan Pemrograman Web 2022-2

University

10 Qs

UNIX Basics

UNIX Basics

Assessment

Quiz

Computers

University

Hard

Created by

Naveen Yadav

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

“ls” command in UNIX

Lists the files in a directory

Compare the size of two files

Gives the currently logged session details

Compares two numerals and prints the lower value

Answer explanation

“ls” command in UNIX lists all the contents in a directory. Ls can be used with many options to display additional details

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which among the following is not a part of UNIX operating system

Programs

Libraries

Kernel

Shell

Answer explanation

The UNIX operating system is made up of three parts; the kernel, the shell and the programs

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In UNIX, the shell act as an interface between user and

Kernel

Operating System

Hardware

Programs

Answer explanation

The shell acts as an interface between the user and the kernel. When a user logs in, the login program checks the username and password, and then starts another program called the shell. The shell is a command line interpreter (CLI). It interprets the commands the user types in and arranges for them to be carried out.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Everything in UNIX is

None

a Process

a file or a process

a File

Answer explanation

Everything in UNIX is either a file or a process. A process is an executing program identified by a unique PID (process identifier). A file is a collection of data. They are created by users using text editors, running compilers etc.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used for changing directory in UNIX?

mkdir

cd

chgdir

cddir

Answer explanation

The command cd directory means change the current working directory to ‘directory’. The current working directory may be thought of as the directory you are in, i.e. your current position in the file-system tree.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In UNIX, file permissions are not set for

User

Other users

Devices

User Groups

Answer explanation

Every directory and file on the system has an owner, and also an associated group. It also has a set of permission flags which specify separate read, write and execute permissions for the ‘user’ (owner), ‘group’, and ‘other’ (everyone else with an account on the computer)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Unix, how can you read the manual – help pages – about a command

Type ‘help’ and the command

Type ‘options’ and the command

Type ‘details’ and the command

Type ‘man’ and the command

Answer explanation

To see what all a Linux command can do, type “man ”. This will show you the manual of the specified

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?