Linux File Commands

Linux File Commands

File creating commands

Touch: This touch command is used to update the timestamps on existing files and as creating new files and empty files.

 

 

Vi: virtual editor vi filename.txt commands used to create a virtual editor

By pressing keys on the keyboard to perform an action in vi


Insert – a,I,o,u

  • :w! – Save the file but keep it open
  • :q! – Quit without saving:
  • :wq! – Save the file and quit

Cat: This cat command is mainly used to read files, But it can also be used to create new files.

 

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter: https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8