DevOps (Day-2)

Table of contents

No heading

No headings in the article.

Basics Linux Commands

  1. ls #->list file and directories.

  2. ls-l #->list the contents.

  3. ls-a #->list the files and directories included hidden files.

  4. pwd #->print present working directory.

  5. cd #->change directory.

  6. cd- #->go to the last working directory.

  7. cd.. #->change directory to one step back.

  8. mkdir #->use to make directory.

  9. mkdir A B C #->to make multiple directories.

  10. mkdir -p A/B/C/D #->to make nested directory.

  11. touch filename.txt #->to make file.

  12. whoami #->to know your name.

  13. vim #->text editor.

  14. cp #->copy and paste file or directory.

  15. rm #->remove file & directory.

  16. mv #-> move file & directory.