Command:
~$ ip addr show eth1
to show the ip Address of eth1
>
vs. >>
> overrides the output of LHS to RHS
> > Concatenates (adds) the output of LHS to RHS
$ command > file
internal commands
Built in Commands eg cd, ls, mv
~$ -n is the reverse of
\n
~$ type
shows the type of command
[~I$ cat Daniel > City.t×t
Vs
[~I$ cat Daniel»_space; City.t×t
adds the value of the file or command Daniel into city.txt. It overrides any previous content of city.txt
> > Concatenates
~$ curl ifconfig.me
check my ip address