===== File based utilities =====
==== Looking around ====
> Looking through files is done with the ''%%ls%%'' command under Linux, which is an abbreviation for ''%%list%%''.
By default (meaning without parameters) the ''%%ls%%'' command shows the content in the current directory. It does hide elements starting with a dot though. These hidden elements can be shown by adding the ''%%-a%%'' parameter, which stands for ''%%all%%''. If you want detailed information about the elements, add the ''%%-l%%'' parameter for ''%%long listing%%''. You can also specify a file/directory which you want to examine, by just appending the path to the command.
$ ls # shows files and directories
testdir test
$ ls -a # includes hidden ones
. .. testdir test
$ ls -l # detailed view
drwxr-xr-x 1 myuser p12345 0 Apr 13 2017 testdir
-rw-r--r-- 1 myuser p12345 4 Apr 13 11:55 test
$ ls /tmp/
allinea-USERNAME
ssh-6E553lWZCM
ssh-C6a754pJ1d
systemd-private-a4214393983d448fbdc689791806519c-ntpd.service-LrAgBP
tmp7CJZRA
yum_save_tx.2017-04-03.12-07.VCUowf.yumtx
$ ls -alh ~
drwxr-xr-x 5 myuser mygroup 45 Jan 30 2017 .allinea
-rw------- 1 myuser mygroup 21K May 3 17:14 .bash_history
-rw-r----- 1 myuser mygroup 231 Dec 2 2016 .bashrc
drwx------ 1 myuser mygroup 76 Aug 22 2017 Simulation
drwx------ 2 myuser mygroup 76 Dec 12 2016 .ssh
==== Moving around ====
> Moving through directories is done with the ''%%cd%%'' command, which stands for ''%%change directory%%''.
The ''%%cd%%'' command can be called without any arguments, in which case it just switches to the home directory. Otherwise it takes a absolute (starting with a dash) or relative path as an argument and switches to that directory. The argument ''%%-%%'' (just a single dash) will cause cd to switch to the previous directory. This can be used to alternate between two directories without typing their path’s every time.
$ cd /bin # go to an absolute directory
$ cd [~] # go home
$ cd - # go to previous directory
==== Copying & moving files around ====
> Copying and moving files and directories is done with the ''%%cp%%'' and ''%%mv%%'' commands, which stand for ''%%copy%%'' and ''%%move%%'' respectively.
Both commands take at least two parameters, which correspond to the ''%%