
You can also use the IP address of the host rather than its name. ping ( ping ) – to check the communication settings with other host.unzip – to extract a compressed zip file.Ĭheck below some of the most common networking commands for Raspberry Pi board.sudo ( sudo –s ) – to run the command terminal as another user.See the process to enable/disable SSH on Raspberry Pi. ssh – to connect another computer with Raspberry Pi 2 through an encrypted connection.cp ( cp ~/file1 /home/seconduser/ ) – copy-paste the file to the other user from the current directory.You can also use this command to copy-paste directory contents. mv ( mv file1 file2 ) – cut-paste the content of file1 to file2.rm (rm file1 ) – to remove a file named as ‘file1’ in the current directory.rmdir ( rmdir mandip ) – removes the directory ‘mandip.’.mkdir ( mkdir mandip ) – creates a new directory named as mandip.I will list down other Pi terminal commands with their examples and usages. To change the directory to a particular path, write the command as stated in the example below:

You can use –l flag along with the above command to see additional info on the contents and –a flag to see files starting with. If you want to see a list of the contents of the current directory on your Raspberry Pi, then write the below command: Now, I will show some of the most fundamental Raspberry Pi terminal commands for the file system, networking, search, and other usages. Shutdown –h 10:05 ( to schedule the shutdown for a specific time, here at 10:05 AM) Raspberry Pi Reboot Commandīelow is the ‘Raspberry Pi Restart Command’ which will automatically shut down and then turn on the Pi setup. That does not mean you have to write them in the Raspberry Pi terminal every single time though. There are certain Pi commands which can be used whenever you boot up your Raspberry Pi or between some of the codings. I will list down some of the most common and useful Raspberry Pi commands here: Raspberry Pi General Commands

Let’s see for the Raspberry Pi codes below: Raspberry Pi Commands Cheat Sheet So having commands cheat sheet on hand is a useful thing in such conditions.

But, many times you cannot remember all the Pi commands or have no time to search for them on the web. There are tons of top Raspberry Pi projects you can make with this tiny, powerful and affordable circuit board. It can not only work as a full-blown desktop PC but also helps you to make your own application software & manage other electronic appliances by connecting it with them remotely. I have finally prepared some of the most useful Raspberry Pi commands cheat sheet and want to share with you today.įrom its first launch in 2012 to the current date, the Raspberry Pi is the most promising single board computer in the market.
