🐧Part II -Linux commands for  day-to-day activities.

🐧Part II -Linux commands for day-to-day activities.

  1. cat: To view what's written in a file.

  2. chmod: To change the access permissions of files.

  3. rmdir: To remove a directory/ Folder.

  4. echo "yesterdays_log">log1.txt or touch: To create a log1.txt file and

    cat: To view the content.

  5. echo: To add content in To-do-list.txt (One in each line) - Open outlook , read mail, work on critical issue, update database, revert back.

  6. head -n 3: To Show only top three lines from the log1.txt file.

  7. tail -n 3: To Show only bottom three lines from the log1.txt file

  8. echo "todays_log">log2.txt or touch: To create another file todays.txt and cat: To view the content.

  9. echo: To add content in log2.txt

  10. diff: To find the difference between log1.txt and log2.txt file.

  11. Top 50 Linux Commands you must know with example 1

😊Happy Learning : )