Linux Flashcards

1
Q

Command:
~$ ip addr show eth1

A

to show the ip Address of eth1

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

>

 vs.    >>
A

> overrides the output of LHS to RHS

> > Concatenates (adds) the output of LHS to RHS

$ command > file

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

internal commands

A

Built in Commands eg cd, ls, mv

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

~$ -n is the reverse of

A

\n

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

~$ type

A

shows the type of command

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

[~I$ cat Daniel > City.t×t

Vs

[~I$ cat Daniel&raquo_space; City.t×t

A

adds the value of the file or command Daniel into city.txt. It overrides any previous content of city.txt

> > Concatenates

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

~$ curl ifconfig.me

A

check my ip address

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