User Tools

Site Tools


cmds

This is an old revision of the document!


Basic commands to know and love

As a beginner to linux and starting fresh with demand peripherals, it is important to understand some common set of commands in order to better operate your RPi(or linux system). I have already noticed that when starting out it is incredibly easy to copy and paste how to guide commands, achieve the results you want, and think you understand the system. However, without those copy and paste guides… ability to use the system cease. Here are some of the most basic and so far most often used commands with my Rpi, paired with a simple explanation of what they can offer you.

Common Directory

I think it is great to be able to use a mouse to traverse a User Interface, but the simplicity of linux allows for all action take place within the terminal. The cd command allows the user to set which directory they wish to operate in.\\For instance, cd /Desktop sets the current directory to Desktop. This action is no different than opening your C:/ folder in windows and clicking on the Desktop folder with your mouse. The main difference is that we do no see the folder open. Once again the simplicity of operating only in the terminal.
Another great command I have found with the cd command is cd - Unlike the main cd command which allows us to set which path we wish to be in the cd - command takes us to the previous folder we were just in. Trust me! As I am just starting out it has saved me a bunch of time.
Typically when I found myself wanting to move around my system it would look like this.
cd Documents
cd dpserver
cd
cd Documents
This kind of mess is long and combersome. With a litte more know how it can be cleaned up as such.
cd Documents
cd dpserver
cd -
Now I can do some work in the dp server directory move back to documents and entry whichever folder I need to without having to go back to the main directory again.

cmds.1523377718.txt.gz · Last modified: 2018/04/10 16:28 by jeff