Skip to content

RamazanInce/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

CLI

Home Work #2 Write ONE shell script to do following:

  1. create a directory. Enter a directory. Create an empty file named blank.
  2. Then write the content "Hello" five times to the file greetings.txt. Then copy the file greetings.txt and paste its contents into 1.txt, 2.txt, 3.txt, 4.txt and 5.txt.
  3. Then write the text "cat" to pets.txt Then append the text "dog" to pets.txt Then append the text "hamster" to pets.txt
  4. Then write the text "cat" to commands.txt Then append the text "ls" to commands.txt Then append the text "pwd" to commands.txt
  5. Then find unique strings from these two files pets.txt and commands.txt and store the unique strings in lovelyCommands.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages