Skip to content

Instantly share code, notes, and snippets.

View subhash1101's full-sized avatar

J Vinay Siva Subhash Kotha subhash1101

  • Vishnu Institute of Technology
  • Bhimavarm
  • 17:43 (UTC +05:30)
View GitHub Profile
Practice Drill 1
To create the given directory structure:
$ mkdir -p hello/{five/six/{c.txt,seven/error.log},one/{a.txt,b.txt,two/{d.txt,three/{e.txt,four/access.log}}}}
// The `-p` option is used in `mkdir` to create multiple directories
// `{}` is used to create multiple files or directories inside a directory
$ tree hello
// This command is used to display the directory structure