10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
There is an command that,
SET -x
I am confused with the SET command , i have gone through man page but still.
could anyone advise the same and necessity of the SET command ?
Regards,
Nantha. (2 Replies)
Discussion started by: Nandy
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Guys,
I like to output every command executed in the script to a file.
I have tried set -x which does the same.
But it is not giving the logs of the child script which is being called from my script.
Is there any parameters in the Set command or someother way where i can see the log... (2 Replies)
Discussion started by: mac4rfree
2 Replies
3. UNIX for Dummies Questions & Answers
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies
4. HP-UX
Hi,
I am using hp unix
i want to know the use of the following commands
set --
set - variable
thanks (4 Replies)
Discussion started by: gomathi
4 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
Some clarification regarding the unix set command for ksh env.
I read up the man pages, but ended up more blur. Eg.
- Turns off -x and -v flags and stops examining argu-
ments for flags.
- Does not change any of the flags. This option is
... (1 Reply)
Discussion started by: srage
1 Replies
6. UNIX for Dummies Questions & Answers
I am having some issues with what should be a simple script.
Using C shell, I am trying to do this -
set x = "{test value}"
(the { and } are an important part of the data).
When I try to reference $x, for example -
echo $x
I get this result -
Missing }.
I have tried... (1 Reply)
Discussion started by: keithg
1 Replies
7. Shell Programming and Scripting
i have a script in which i go to a particular dir and list all its file
------------------------------------------------------------------------
#!/bin/ksh
if test -d systemProperties
then
set --`cd systemProperties`
for i in *
do
echo "$i" >> lastm2.txt
done
fi... (2 Replies)
Discussion started by: ali560045
2 Replies
8. Shell Programming and Scripting
Hello
I'm using command "set" to count number of word in file .
But I don't know how to get number of lines in file using commnad "set " ?.
Please Help.
#!/bin/sh
set -- `cat $1`
echo " $# words " # wc -w $1 (4 Replies)
Discussion started by: scotty_123
4 Replies
9. Windows & DOS: Issues & Discussions
Hi.. I am new unix user.
I am now using windows XP. Can I setup unix without formatting my laptop ? I would like to study unix OS to be famililar. Where can I download ( free ) unix OS ? (2 Replies)
Discussion started by: yuki
2 Replies
10. UNIX for Dummies Questions & Answers
I'm using the set command to name and log a file. The problem I'm exeriencing is that, I would like to have the set command overwrite the named logfile and not append to it. Can't seem to get the +o no clobber to work properly. Any help on this would greatly be appreciated.
Jimmy (3 Replies)
Discussion started by: jimmyflip
3 Replies