Search Header Logo

Linux Basics

Authored by N. V. Ratnakishor Gade

Other

Professional Development

Used 7+ times

Linux Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Assignment in Linux?

variable = value

variable=value

variable <- value

variable<-value

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Variable substitution in a string

$variable

$(variable)

$((variable))

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Command substitution in a string

$command

$(command)

$((command))

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Mathematical expression evaluation in Linux

$expresson

$(expression)

$((expression))

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How to create a new file in Linux using command line?

touch

mkdir

cp

rm

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How to count the number of lines in a file in Linux?

wc -l

ls -l

grep -c

cat -n

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How to rename a file in Linux using command line?

cp

rm

mv

ls

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?