Virtual directory that a program can use to persist data This is used as storage for user accessible programs System maintenance binaries typically used by the root/superuser Security utilities originally developed by our beloved NSA and these are related to Security Enhanced Linux Optional software directory, any apps that are not part of the OS will go hereĪnother Virtual directory, this contains info about running processes (programs) Used to mount external hard drives and similar storage devices manually Lib= libraries, code required by various applicationsĭump of pieces of files are stored here when the system crashesĭir for removable storage dives like USB and CD This is like My documents and each username will get a separate directory under this Misc config files like encrypted passwords are put in this This is one of those virtual directories and this is used for accessing all the connected devices including the storage The Raspian related binary files including those for required to run the GUI of the OS The/sys has all the hardware on the pi and can be access from this directory.įolder for Linux Kernel and other packages necessary to booth/start the Pi Most of these follow the Linux structure and some are specific to Pi. Noted below are some of the frequently used directories in the file system. This is especially useful if you made a small mistake in a looong command and need to correct it, using history you will not be needing retype the whole command. To do so we will have to use the up arrow key to browse through our previous commands with latest commands being the first to appear. ![]() The shell will attempt to autocomplete the string based on the current context such as current directory or programs in frequently used directories like /bin and /usr/bin.Ĭommand history: This is another trick where we could reuse the commands ran earlier. There are 2 important tricks that can make our life easier woking with the commandline.Īutocomplete: Many a times we can just type few letters of a command or a file name and hit tab, this will let the shell know that we are asking the shell to autocomplete our text. The command line is accessed using the LXTerminal program by default. The Command line: Tips and Tricks:Īs mentioned earlier we shall use Command line extensively while working on the Pi. ![]() However we can change the shells with chsh command. The default shell on the Raspbian OS is the Bourne Again Shell or in Short BASH. The LXTerminal provides access to the shell a.k.a. We run commands from the commandline using the LXTerminal program. Most of the tasks we perform on Pi are from the commandline. Traditional editors like VIM and emacs can by installed later as they don’t come preloaded Leafpad is our notedpad for Raspian OS and Leafpad is the default text editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |