Working with Files

  • mkdir

  • cat

  • cp: copy

  • mv: move

  • rm: remove

  • rf : dangerous but used

Want to write in a file, can choose any one between vim, nano and Emacs editors

Search

  • grep

  • find

Exercise:

Find the file which contains XXXX string in entire your machine (replace XXXX with specific string which you know that it exists in any of your file)

Last updated