the command:
$ ls is handy to determine what is in your current directory. To make it human readable however you might want to use $ ls -h. Lets add a little more detail $ ls -lh and to spice it up even a little more we would like to see our 'hidden' files $ ls -lha. Hidden files are file names that start with '.' (example '.bash_history').And as we remember from the first lesson, directories are files to[1]. You can also hide directories with this.
something else I used a lot before but I just now fully realised how it actually worked it
cat. cat is used to print a text to the prompt this is very useful if you'd like to see some info file like $ cat /proc/cpuinfo[1]Directories are basically lists of files subdirectories and their location on the hard drive.
"And as we remember from the first lesson, directories are files to. Do you can also hide directories with this."
BeantwoordenVerwijderenBrilliant