7 Flashcards

(4 cards)

1
Q

linux terminal advantage

A

Faster and Efficient – Terminal tasks are quicker and use fewer system resources than GUI.

Remote Access – You can manage systems remotely using SSH without needing a GUI.

Flexible and Customizable – You can automate tasks with scripts and customize commands.

Better Learning – Helps you understand the system deeply and improves troubleshooting skills.

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

copy using cat
append and overwrite

A

cat file1&raquo_space; file2 (append)
cat file1 > file2 (overwrite)

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

run app like (wireshark, ubuntu etc) on terminal

A

sudo wireshark
runs Wireshark with root privileges

su -
wireshark
switches you to the root user

pkexec wireshark
runs Wireshark with elevated privileges

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

3 common ways to navigate the file system through the terminal

A

To navigate to a directory
cd /path/to/directory

To go to your home directory
cd (wiggle -)

To go to the root directory
cd /

To go back to the previous directory
cd -

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