subject

Write a bash script which: if run without parameters, prints an error message and exits takes 1 parameter, which must be a valid path (absolute or relative) if run with 1 parameter which cannot be interpreted as a path, prints an error msg and exits if run with more than 1 parameter, uses the first parameter and ignores the rest if the value of the first parameter does not exist, creates it if the value of the first parameter exists but is not a directory, print an error msg and exit if the value of the first parameter exists, copies the script itself to that directory

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
According to alisa miller foreign news bureaus
Answers: 3
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
How do i change the size of my bookmarks in my bookmarks bar in google chrome? ? plz hlp me
Answers: 2
question
Computers and Technology, 25.06.2019 06:30
If she presses the left arrow , what will happened
Answers: 1
You know the right answer?
Write a bash script which: if run without parameters, prints an error message and exits takes 1 para...
Questions
question
Mathematics, 23.12.2020 22:20
question
Mathematics, 23.12.2020 22:20
question
Mathematics, 23.12.2020 22:20
question
Mathematics, 23.12.2020 22:20
question
Mathematics, 23.12.2020 22:20
Questions on the website: 13722363