Notes
Notes
4 Mayy 2024
Linux platform
oneworks
killercoda.com
Commands
mkdr : make directory
cd: Change directory eg cd abc.txt /home/ubuntu/
.. : move to home directory
pwd: present work directory
ls: list
touch: to create file
cat: to open/read the file
Nano file.txt to open create a file in nano text editor
ctrl +x to exit the editor.
clear: to clear every text from terminal only not files
:w to save file
:q to exit the insert editor
Press I to switch to insert mode as by default it is cmd mode
we can use VI (ADVANCE VERSION OF NANO) is Similar to NANO COMMAND.
to move and rename at same time: mv <existing file name> <folder>/<new name> eg mv
abc.txt b1/index.txt
2024-05-12 10:09:14.717