10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have 300 servers listed in servers.txt
I motto is to check if my id "user1" has sudo privileges on the 3000 servers. I m using sudo -l to check if I have privileges or not. If wish to check this either non-interactively; if not; interactively.
Below is the script I wrote:
... (5 Replies)
Discussion started by: mohtashims
5 Replies
2. Shell Programming and Scripting
Hi All,
I have the below requirement.
I want to copy the local file to remote after that i need to run the local script on a remote machine.When i use two ssh commnds i can achieve this. But i want to achieve this using one ssh command.
Below command to copy the local file to remote
ssh -q... (2 Replies)
Discussion started by: mohanalakshmi
2 Replies
3. UNIX Desktop Questions & Answers
Hi
What is the command to run additional available shells on top of default shell. I am using bash
also how can i tell that the additional shells are actually running?
Also what is the advantage of running additional shells on top of your default login shell of bash?
Lastly... (1 Reply)
Discussion started by: Bill Thompson
1 Replies
4. Shell Programming and Scripting
Hi all,
Is it possible to make this possible ?
$ echo $SKY_HOME
/var/sink/SKY
$ echo $SKY_HOME
/home/smily/SKY
$ ssh root@xyz "echo $SKY_HOME"
root@xyz 's password: ******
/home/smily/SKY wrong output
I was expecting the output as
/var/sink/SKY (3 Replies)
Discussion started by: linuxadmin
3 Replies
5. HP-UX
Hello;
Is it possible to run glance over ssh in batch mode ??
Similar to running " top -f " command over ssh..
Need to get glance output for specific pids
Thnx very much (5 Replies)
Discussion started by: delphys
5 Replies
6. Shell Programming and Scripting
Hello;
Am trying to generate runaway proc report using ssh thusly:
===================
ssh -t -t $BOX 'TERMINAL="vt100" top -d1 -h -n 10' >> $FILE
.
.
cat $FILE | mail -s "Latest Top `date`" $MAIL_TO
====================
But the output to e-mail comes out rather garbled ..
Any ideas... (1 Reply)
Discussion started by: delphys
1 Replies
7. Shell Programming and Scripting
I want to use ssh to start a bash script that I have uploaded to a webhost. How do I do that from linux? (2 Replies)
Discussion started by: locoroco
2 Replies
8. Solaris
when i run a command on ALOM via ssh i get following error
ssh root@10.23.12.51 showhosts
Password:
Waiting for daemons to initialize...
Daemons ready
shell: Invalid credentials
how can i run commands without actually loging to the sc (3 Replies)
Discussion started by: fugitive
3 Replies
9. Shell Programming and Scripting
Hi,
I'm running glance ussing ssh from a "HP-UX" machine for a Sun machine.
Here is a sample code:-
x:- HP-UX
y:- Sun
Extracting a value from glance outuput.
ssh x@y "/opt/perf/bin/glance -f -adviser_only -iterations 2 -maxpages 1 > glance.op ; echo `head -1 glance.op | a
wk '{print... (0 Replies)
Discussion started by: bishweshwar
0 Replies
10. Windows & DOS: Issues & Discussions
Okay, so here's my dealio. I have a (rather old) system that runs Windows 98 Second Edition. What i wanna do is be able to run Unix from it. My question is, how do you do that? A friend told me that when you boot up, the computer will ask you which OS you want to run. I'm really not quite clear on... (3 Replies)
Discussion started by: DarkAngel
3 Replies