> For the complete documentation index, see [llms.txt](https://ruggedboard.gitbook.io/ruggedboard/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ruggedboard.gitbook.io/ruggedboard/quick-start-with-rb/play-with-ruggedboard-a5d2x.md).

# Fiddle with RB Command-line

Congratulations!! You have got the Board console ready using "minicom" in Ubuntu Linux or "Putty" in Windows environment.

You are now ready to play with the RuggedBoard-A5D2x.

As the RuggedBoard runs a Yocto based custom Linux OS, you might want to learn a few basic Linux commands that we think might be handy for you to peek though the RB. &#x20;

### Here's a list of a few commands we suggest you to try :

1. `ls` - Lists the Files and Folders
2. `pwd` - Print Working Directory, Prints the current directory the user is working on.
3. `cd` - Change Directory, Used to switch directories from the current directory.
4. `touch` - It is used to create a file without any content. The file created using touch command is empty. Ex: `touch test.txt`, creates a file named test.txt in the current directory.
5. `mkdir`- Make Directory, this command creates a new directory. \
   Ex: `mkdir test`, creates a directory named test.
6. `rm`- Remove, this command is used to remove files or folders.\
   Ex: `rm test.txt`, removes the test.txt file. \
   Ex: `rm -rf test`, removes the test folder created.\
   **Note: It doesn't prompt the user before deleting the file.**
7. `cp`- Copy, used to files.&#x20;
8. `mv`- Move, used to move the files.
9. `ps`- Displays current active processes.
10. `chmod`- Change File Permissions, Ex:`chmod 777 filename` .

### Below Images show how to excute example programs.

**Boxes highlighted in** \
**Blue: Folders**\
**White: Files**\
**Green: C binaries**\
**Red: Outputs**&#x20;

**To Execute a C binaries present in the Examples Folder.**

![To execute a C binary](https://2940024201-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbvnQRGvCTc2Zmsi6BG%2F-LdxItgAPXwQXYn7v17T%2F-LdxLLc1o7zp9B4OeOhp%2Fcprog.jpg?alt=media\&token=28d7d6df-d45a-4ba7-9ae3-56991277966b)

**To execute Python examples present in Examples folder.**

![To execute a pyhton program](https://2940024201-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbvnQRGvCTc2Zmsi6BG%2F-LdxOsPJpfDdBCyroh5A%2F-LdxOvHS-FdZ9CXrdadL%2Fpython.jpg?alt=media\&token=fc1fe240-6b7c-4a99-8141-230ec531bead)
