Basic Linux commands tutorial
These essential commands help you navigate and manage files and directories in the Linux terminal:
-
pwd: Stands for „print working directory” and displays the full path of the current directory you’re in. -
ls: Lists the files and directories in the current directory. You can use options likels -lfor detailed information orls -ato show hidden files. -
cd: Changes the current directory. For example,cd /homenavigates to the/homedirectory, andcd ..moves up one level. -
touch: Creates a new, empty file. For example,touch file.txtcreates a file namedfile.txt. -
mkdir: Creates a new directory. For instance,mkdir new_foldercreates a directory called „new_folder.” -
cp: Copies files or directories. For example,cp file1.txt file2.txtcopiesfile1.txttofile2.txt. -
mv: Moves or renames files or directories. For example,mv oldname.txt newname.txtrenames a file, ormv file.txt /destination/moves it to a new location. -
rm: Deletes files or directories.rm file.txtremoves a file, whilerm -r folderremoves a directory and its contents.
Components
If you want to buy a RaspberyPi 5 board try on amazon: https://amzn.to/4dqDhXz
or aliexpress: https://s.click.aliexpress.com/e/_DEVUTJh
Documentation
Support this blog
If you make purchases using the links that lead to emag.ro, amazon and aliexpress.com, you will support my blog, and 50% of the donations will be directed to the „Dăruiește Viață” foundation. Thank you!
Thank you for your attention!
For questions and/or technical consulting, I am available in the comments section below or via email at simedruflorin@automatic-house.ro. Have a great day, everyone!

