Linux Commands Flashcards

1
Q

Basic Linux commands - change ownership or change how well something is locked down

A

chown - for ownership/group

chmod - for file permissions

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

Basic Linux commands - check mounted drives

A

mount

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

Basic Linux commands - how do you view the amount of ram?

A

free

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

Basic Linux commands - disk usage

A

df -h

du

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

Basic Linux commands - cpu intensive processes running

A

top -c

htop

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

Basic Linux commands - how would you edit a file?

A

VI or Nano

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

Basic Linux commands - How would you show me all the files in a directory?

A

ls

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

Basic Linux commands - need to create a new directory

A

mkdir

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

Basic Linux commands - How would you write out the contents of an entire file?

A

cat

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

Basic Linux commands - how would you securely copy a file from one place to another

A

scp

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

Basic Linux commands - how would you install an application on linux?

A

use YUM

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

Basic Linux commands - how would you use check to see if another server is on the network without connecting to it

A

ping

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

Basic Linux commands - how do you check the network configuration settings on a linux server?

A

ifconfig

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

Basic Linux commands - how do you check the ports being used currently or by a process?

A

netstat -anp

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

Basic Linux commands - how do you check processes on a server

A

ps -ef | grep (if needing a specific item)

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

Basic Linux commands - how do you move a files?

A

mv

17
Q

Basic Linux commands - how do you delete a directory?

A

rmdir

18
Q

Basic Linux commands - Allows regular users to run programs with the security privileges of the superuser or root

A

sudo

19
Q

Basic Linux commands - change directory

A

cd

20
Q

Basic Linux commands - how do you check the working directory you are in

A

pwd

21
Q

Basic Linux commands - how do you download files from the internet?

A

wget

22
Q

Basic Linux commands - how do you return the unix name, os, kernel, etc?

A

uname command

23
Q

Basic Linux commands - how do you see the time taken between IP address hops?

A

traceroute