3 Flashcards

(7 cards)

1
Q

function of shell in Linux

A

acts as a bridge between the user and the operating system. It takes commands you type, interprets them, and tells the system what to do.

Examples of shells: bash, zsh, sh.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Determine the possible problem occur if the user type a command and the result
yield as ‘Command not found’ ‘.

A

Typo in the command

Command not installed

Wrong path

Permission issue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

advantage of file system

A

Precision – Organizes files clearly and accurately.

Speed – Allows fast access and retrieval of files.

Utilities – Provides tools for managing and protecting files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

difference between CLI and GUI

A

Interface
CLI: Text-based
GUI: Visual (windows, icons, buttons)

Speed
CLI: Faster for experts
GUI: Slower but user-friendly

Control
CLI: More powerful and flexible
GUI: Limited to available options

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Relative Path

A

shows the location of a file or folder starting from the current directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Absolute Path

A

shows the full location of a file or folder starting from the root directory (/)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

how to copy file and folder?

A

file
cp
cp -v (verbose)

folder
cp -r
cp -rv (verbose)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly