Ops Monkey
Monday, December 15, 2014
Shell Scripting: What if shebang(#!) is followed by path of the command /bin/rm i.e #! /bin/rm
What will happen if the following script,
test.sh
, is executed?
#!/bin/rm
echo "Hi"
./test.sh
when executed, will remove the file
test.sh
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment