10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey Guys,
I am new in unix and no idea to executing command and bash shell and others shell.
Suppose we want to run bash shell then how to do it, witch editor we use in my linux operating system. (7 Replies)
Discussion started by: aaditya321
7 Replies
2. Shell Programming and Scripting
I'm trying to write a script the simplifies the execution of a program:
After starting the program (sh ~/.mfix/model/make_mfix) I am prompted four times for options:
Do you need SMP version? (y/n)
Do you need DMP version? (y/n)
Do you need debug version? (y/n)
Force re-compilation of... (2 Replies)
Discussion started by: lanew
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have this script,
while
do
ps ax|grep 5060 > log.txt
echo " "
sleep 1
done
}
I want to actually put a new line everytime the loop is executed in log.txt , but I do not know how to "embed" the echo " " inside the log.txt.
(so to say... (1 Reply)
Discussion started by: peuceul
1 Replies
4. Shell Programming and Scripting
the problem statement is
Write a shell script, which gets executed the moment the user opens a terminal. It should display the message "Hello your_name, welcome to 172.16.4.120 server”
How to get around this? (2 Replies)
Discussion started by: arindamlive
2 Replies
5. Shell Programming and Scripting
Hi All,
I have created a server health checkup for 22 diferent ips and want to run my script from a single host server -->conduct health chekup on various servers--> Capture the deviations--> Get back all the deviations to the host server where the script was initiated.
Ive checkd out ssh... (3 Replies)
Discussion started by: gemnian.g
3 Replies
6. Shell Programming and Scripting
Hi,
My login shell is c shell
I have a line in .cshrc like
setenv a 1000
I have a line in .profile like
ENV=$HOME/.kshrc
export ENV
and in my .kshrc
a=10
export a
I wrote one korn script
#!/bin/ksh
echo $a (3 Replies)
Discussion started by: shahnazurs
3 Replies
7. Linux
Hi
I tried with bash --login option. but the output is
siva:~$ bash --login
siva:~$
is there any way to make the shell ask for user id and password ( and login as different user instead of using sudo / su )
Thx in advance
Siva (3 Replies)
Discussion started by: Sivaswami
3 Replies
8. Shell Programming and Scripting
Hello,
I'm currently messing around with arrays for the first time in scripting (Unix Korn Shell). All I'm trying to do right now before I make things complicated is read through and print out to screen whether the read file is or is not a directory.
Here is my directory:
ls -l
total... (5 Replies)
Discussion started by: Janus
5 Replies
9. Shell Programming and Scripting
I'm new to SunOS and I need some help.
I'm trying to run the commands below inside the korn shell below on SunOS 5.8 but it does not do anything except echo ABC. No error gets displayed when running the shell.
#!/bin/ksh
echo ABC
export ENV_1=/folder1/subfolder
cd folder2
All 3... (2 Replies)
Discussion started by: stevefox
2 Replies
10. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies