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 -l
for detailed information orls -a
to show hidden files.cd
: Changes the current directory. For example,cd /home
navigates to the/home
directory, andcd ..
moves up one level.touch
: Creates a new, empty file. For example,touch file.txt
creates a file namedfile.txt
.mkdir
: Creates a new directory. For instance,mkdir new_folder
creates a directory called "new_folder."cp
: Copies files or directories. For example,cp file1.txt file2.txt
copiesfile1.txt
tofile2.txt
.mv
: Moves or renames files or directories. For example,mv oldname.txt newname.txt
renames a file, ormv file.txt /destination/
moves it to a new location.rm
: Deletes files or directories.rm file.txt
removes a file, whilerm -r folder
removes a directory and its contents.
Components
If you want to buy a RaspberyPi 5 board try on amazon: https://amzn.to/4dqDhXzor 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!