Skip to content

Instantly share code, notes, and snippets.

@mohdfahad12328
Created October 30, 2021 17:11
Show Gist options
  • Save mohdfahad12328/c01a93439c337a172dd92ddab6a1b793 to your computer and use it in GitHub Desktop.
Save mohdfahad12328/c01a93439c337a172dd92ddab6a1b793 to your computer and use it in GitHub Desktop.
mkdir NITW NITW/BTECH NITW/MTECH NITW/MCA NITW/BTECH/CSE NITW/MTECH/CSIS
touch NITW/BTECH/p1.txt NITW/MTECH/CSIS/Hello.txt
chmod 777 NITW/MTECH/CSIS/Hello.txt
tree NITW
grep -v -i "that" NITW/BTECH/p1.txt > tempfile && mv tempfile NITW/BTECH/p1.txt
grep -E '[[:digit:]]{5}' NITW/MTECH/CSIS/Hello.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment