Help Please
Hello im sorry im new to Linux and am having a hard time with a couple things my teacher has asked of me to do
(A) *Write a shell script that prints the username and PATH for the current user (use environment variables).
*Write a script that takes a file name as its argument, check if this files does exist, and if it does then set the file to be executable by everybody.
*You may have to use man test to find what you need to make the if statement work for 2.
( Write a script that asks the user for two arguments
source directory
a file extension (like jpg, txt, doc, etc.)
and then delete all files of that extension in the directory
(C) Write a script that asks the user for two arguments
a user name
a password
and then create a user account with the above information.
If anyone can help me out that would be awesome... with one or all any help right now will be much help
thank you guyz
|