Search Results

Search: Posts Made By: secops
1,500
Posted By secops
The command wont always be ssh. I want to keep...
The command wont always be ssh. I want to keep the script as simple and compact as possible.
1,500
Posted By secops
Thanks for pointing that out. If the user...
Thanks for pointing that out.

If the user tried to delete the root directory, wouldn't it stop them because they aren't root?

Basically, I've made a bash script that runs commands passed to it...
1,500
Posted By secops
Perfect, thanks.
Perfect, thanks.
1,500
Posted By secops
./test.sh "echo $test" -- Why doesn't this work?
For example

test.sh:
test="teststring"
cmd=$1
$cmd

For some reason I'm NOT seeing "teststring" when I type: ./test.sh "echo $test"

Any ideas on how to get around this?

I've tried...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy