To see all files in the current folder:
To see all files, including hidden ones, in the current folder:
$ ls -a
To navigate to a folder, in the current folder:
$ cd folder-name
To navigate to a folder, under a different path:
$ cd ~/Desktop
~ before the
/Desktop. If you add
~ before any path, you're always referencing your home folder.
To see all files in your home folder:
$ ls ~
You'll probably see something like this:
Desktop/ Documents/ Downloads/ Music/ Pictures/ Public/ Templates/ Videos/
To see all files in your Desktop folder:
Finally, to navigate to your Desktop folder, you can always, from anywhere, do:
$ ls -a ~
Bash is a command processor that typically runs in your terminal, where you type commands, which cause actions.
.bash_historya history of all your bash terminal commands
.gitconfigcontains your git preferences, if you have git installed.
$ ls ~/.config
$ ls -a ~/.config/lxqt
$ ls -a ~/.config/openbox