10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this script in server2
# cat /root/yesno.sh
#!/bin/bash
read -p "are you sure?" -n 1 -r
if $ ]]; then
echo ""
echo "YES"
else
echo "NO"
fi
# sh /root/yesno.sh
are you sure?y
YES (5 Replies)
Discussion started by: anil510
5 Replies
2. Solaris
Hello. I am trying to ssh and run a script from a remote computer. These computers will be both Windows and MACs. I am using Solaris 8 and what I have tried is:
using putty
ssh user@ip_address (remote command) /folder/folder/filename.sh
The issue here is that the user profile has not... (3 Replies)
Discussion started by: jkmtm
3 Replies
3. Solaris
hi ,
I have created a user using useradd command in solaris 10 , when i connect to user oracle remotely from xmanager it is not connecting any idea did we have assign some extra privileges to connect remotely from xmanager.
Thanks in advance (5 Replies)
Discussion started by: zeeshan047
5 Replies
4. Solaris
I have a new T5220 racked at our remote office and the guys who racked it does not know how to configure the SP on the system .. is there any way i can do it remotely ? (1 Reply)
Discussion started by: fugitive
1 Replies
5. Emergency UNIX and Linux Support
Hi,
I am a sysadmin. During long weekends i need to turn off all machines in my lab. Is it possible to shutdown systems using ip address without using ssh.
i read somewhere that shutdown -m "IPADDR" may work. However it seems its a windows specific command.
So my question is how do i... (11 Replies)
Discussion started by: vickylife
11 Replies
6. Shell Programming and Scripting
I need to upload tar or zip files to a unix server than unzip or untar them remotely. Any suggestions on the easiest way to do the remote untar or unzip? For example does someone know of a cgi script or something?
Thanks -jz (3 Replies)
Discussion started by: jwzumwalt
3 Replies
7. Shell Programming and Scripting
ssh user@machine awk '{ split ($1,ar,"!");print ar}' samp >samp1
Error:
Unmatched '.
However on <machine> awk '{ split ($1,ar,"!");print ar}' samp >samp1
executes successfully.
Any suggestions. (1 Reply)
Discussion started by: bishweshwar
1 Replies
8. Shell Programming and Scripting
I need to rsh to many machines and run an " if statement' that checks the versions of the OS and if up to date it tee -a to a file called "uptodate"..then if not update, it tee -a to file called "notuptodate" on my machine
the command that checks the version is cat /etc/version.
now the output... (1 Reply)
Discussion started by: dxrmroue
1 Replies
9. UNIX for Advanced & Expert Users
hi,
could anyone tell me that how can i use a remote CD drive for installing solaris , cause my local Drive has peroblem.
tell me the steps one by one.
Rgrds,
nikk:confused: (6 Replies)
Discussion started by: nikk
6 Replies
10. UNIX for Dummies Questions & Answers
NT CONSULTANT IS NEAR TOTAL UNIX NEWBIE! Please help!
I would like detailed info about how to remotely connect a PC running win'98 that is not on a local network to a unix server which is locally networked to other PCs?
Would like to know how to:
Move files back and forth?
Mount... (2 Replies)
Discussion started by: Kagor
2 Replies