7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Requirement: I am writing a shell script which take some file from say Server1 and I have to execute some command on Server2 then I have to manipulate the data and based on that I have to produce report.
Problem:I can schedule the shell script on only one server (Server1 or Server2) So, In the... (3 Replies)
Discussion started by: raks2301
3 Replies
2. Shell Programming and Scripting
Linux version : Oracle Linux 6.4
Shell : Bash
The following script will be run as root. During the execution, it should switch to oracle user and execute few commands.
After googling and searching within unix.com , I came up with the following syntax
## Enclosing all commands in double... (7 Replies)
Discussion started by: John K
7 Replies
3. Shell Programming and Scripting
Hello - Is there a command/way we can find out, what shells are supported on a Unix machine?
Please let me know.
Thanks,
Manju (3 Replies)
Discussion started by: manju--
3 Replies
4. Shell Programming and Scripting
Hi,
I have an issue with switching to other directory through shell script. I have used
cd /Music"
but that doesn't help me. Then I have also tried using
alias proj 'Music'
alias
then I get the error permission denied but i set the chmod 777 Music. I am using cShell for my... (3 Replies)
Discussion started by: baluk
3 Replies
5. UNIX for Dummies Questions & Answers
Dear All,
I want to switch a user inside a shell script.My current user say x and user y to whom i want to switch both have login on the same server,the one on which i want to execute my script on.
"I want to do something like this
su - y
Password should be provided in the script itself.And... (6 Replies)
Discussion started by: navjotmannan
6 Replies
6. Shell Programming and Scripting
Hi,
I have a shell script in which I need to switch to another user and execute some commands and then come back to the original user.
To make it more clear -
I have to log in as user root then 'su' to jag - execute a script called backup.sh and then logout and come back to root again..
... (1 Reply)
Discussion started by: bjagadeesh
1 Replies
7. Shell Programming and Scripting
Using Solaris CDE environment and want to write a shell script (pref. Korn) which can:
Upon invokation opens a dtterm new window (no problems, here, i.e. on how to open one)
The new dtterm should be moved by the script to another workspace (consider no one changed the default Solaris naming... (3 Replies)
Discussion started by: baivab
3 Replies