Linux SQL Queries Question
Go to solution
Solved by xXxYOLOxSWAGxXx_420BlazeIt,
I need help on identify the errors in the following scripts:
1.
clear
echo -e "/n/r/tThis is a sample shell script. /n/r/tIt displays mounted filesystems"
mount
______ ___________________________________________________
2. #!/bin/bash
clear
echo “This script will change all permissions on your scripts to rwx------!”
ls | xargs -d chmod 700
echo -e “/r/nSuccessfully changed permissions!”
______ ______________________________________________________________________________________________________________________________________________________
Thank you
This isnt SQL.
Use the code tags.
This sounds a lot like a small homework question.
#!/bin/bashclearecho -e "\n\r\tThis is a sample shell script. \n\r\tIt displays mounted filesystems"mount
#!/bin/bashclearecho “This script will change all permissions on your scripts to rwx------!”ls *.sh | xargs chmod 700echo -e “\r\nSuccessfully changed permissions!”
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now