10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi Folks -
I have a dumb question.
Why does this work:
pushd "/apps/scripts"
./script.sh
popd
But this doesn't:
./apps/scripts/script.shIs it that obvious where I'm overlooking it? (7 Replies)
Discussion started by: SIMMS7400
7 Replies
2. Shell Programming and Scripting
I have two shell scripts in the different directories listed below,
/root/dev/dir1/test.sh
/root/dev/dir2/master.sh
I am executing the master.sh script from the test.sh like below and getting 'Permission denied' error.
#! /bin/sh
#test.sh
path='/root/dev'
$path/dir2/master.sh
But it... (2 Replies)
Discussion started by: vel4ever
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
i am using expect module and trying to login using following code.
ssh 127.0.0.1
expect "word:"
send "$password \n"
kindly let me know the login script using expect module (1 Reply)
Discussion started by: esumiba
1 Replies
4. UNIX for Advanced & Expert Users
Hi Gurus,
I am trying to create a FS using SVM but system is throwing the following error.
newfs /dev/md/rdsk/d1002
newfs: construct a new file system /dev/md/rdsk/d1002: (y/n)? y
/usr/sbin/clri: can't get execution attributes (1 Reply)
Discussion started by: rama krishna
1 Replies
5. Shell Programming and Scripting
I have an expect script that interrogates several hundred unix servers for both access and directories therein using "ssh user@host ls -l /path". The combination of host/path are unique but the host may be interrogated multiple times if there are multiple paths to test.
The expect script is run... (2 Replies)
Discussion started by: twk
2 Replies
6. Shell Programming and Scripting
is it possible to soecify time overnight in 5 days for example:
0 18-7 * * 1-5 /mycode
is this okay to use 18-7 because im not getting the results correctly? (4 Replies)
Discussion started by: vadharah
4 Replies
7. Shell Programming and Scripting
I want to execute a shell script without ./ symbol.
For example:
./my_script ===== my_script (both of them can execute my script)
both of them are the same as result. (7 Replies)
Discussion started by: mehmetned
7 Replies
8. UNIX for Dummies Questions & Answers
I want to execute a shell script without ./ symbol.
For example:
./my_script ===== my_script (both of them can execute my script)
both of them are the same as result. (2 Replies)
Discussion started by: mehmetned
2 Replies
9. UNIX for Advanced & Expert Users
Dear All,
while opening new subscript file using "exec 3> $3" say for e.g.
for some condition output is to be redirected to third argument passed.
I am getting error exec not found .
I think new subscript redirection file not getting opened.
Plz help me out.
Snehal \\ (0 Replies)
Discussion started by: snehal
0 Replies
10. UNIX for Dummies Questions & Answers
I want group to run one of my unix script as me . I when the script is run it should have my permission's not the group .
I tried this :
1.Have a file called y.ksh
cat y.ksh
echo $LOGNAME >ak_test
2.Output file has this permission
-rwx------ ak_test
3.Then I chnaged... (7 Replies)
Discussion started by: akrathi
7 Replies