10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm sorry but I can't find answer for this, what is the meaning of -s option in "if" statement on unix scipting. Please see sample below:
for i in N1 N2 N3 N4
grep $i $opath/N5_CRAI > $opath/N5_$i.crai
chmod 777 $opath/N5_$i.crai
... (7 Replies)
Discussion started by: rymnd_12345
2. Shell Programming and Scripting
I've got $PAGER set to "less". Less is used instead of More everywhere except for when I type a double-tab for filename completion at the Bash command line. Is there any way to get Less to be used when files are listed for filename completion? (0 Replies)
Discussion started by: StarNixGeezer
3. Shell Programming and Scripting
I have line in input file as below:
My expected output for line in the file must be :
Can someone... (7 Replies)
Discussion started by: shis100
First off, sorry for a long post but I think I have no other option if I need to explain properly what I need help for.
I need some advise on how best to check for "faulty" or "stalled/jammed' print queues. At the moment, I have three (3) application servers which also acts as print... (0 Replies)
Discussion started by: newbie_01
I have found a problem on my AIX 5.1 server. day by day the paging size is increasing,what is the reason behind it and if percentage is at 100 what will happen. Oracle 9i is running on my server.
% used 14.6
% free 85.3
How can i decrease the using... (6 Replies)
Discussion started by: dearsumon
6. Shell Programming and Scripting
i need a Prompting read in my script:
read -p "Enter your command: " command
But i always get this Error:
-p: is not an identifier
When I run these in c-shell i get this error
/usr/bin/read: read: bad option(s)
How can I use a Prompt in the read command? (9 Replies)
Discussion started by: wiseguy
7. Shell Programming and Scripting
how to check input is "empty" and "numeric" in ksh?
output show: invalid number input
output show: no input
output show: input is numeric (6 Replies)
Discussion started by: geoffry
I am running my application on a dual cpu debian linux 3.0 (2.4.19 kernel).
For my application:
<sar -U ALL>
CPU %user %nice %system %idle
10:58:04 0 153.10 0.00 38.76 0.00
10:58:04 1 3.88 0.00 4.26 ... (0 Replies)
Discussion started by: jaduks
9. Shell Programming and Scripting
I'm currently using Sun Solaris Unix. How can you make your unix bash or C script usable in all directories and subdirectories and not just the dir the script is located in? Essentially, to make it a command script as universal as a basic unix command like ls or cd.
Thanks for the help! (4 Replies)
Discussion started by: axeldrummer
10. UNIX for Advanced & Expert Users
We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0.
Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ?
I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc.
... (1 Reply)
Discussion started by: sameerdes