10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody
I'm a little beginer for shell script as I started last night...
I have this script
cat fichier.txt | while read l ; do
#echo $l
echo $x
x=$(( $x + 1 ))
done
it's return
1
2
3
4 (4 Replies)
Discussion started by: remibemol
4 Replies
2. Red Hat
Having an issue with clustat not displaying the rgmanager info eventhu all the of the cman started successfully. No fencing errors. all of the cluster.conf are the same on all serers ..etc. However when i run the clustat i only see this:
Cluster Status for RESTON-LSMS @ Mon Aug 31 15:13:16 2015... (4 Replies)
Discussion started by: mrn6430
4 Replies
3. Shell Programming and Scripting
if ; then
rm -rf "${x}"_"${y}"_abc_pqr.dat error: `then' unmatchedCan anyone please help me in correcting it.
Please use code tags next time for your code and data. Thanks (2 Replies)
Discussion started by: D_Sethi
2 Replies
4. UNIX for Dummies Questions & Answers
Is it possible to display the clock (timing) on the screen all the time. (3 Replies)
Discussion started by: vino.paal
3 Replies
5. UNIX for Dummies Questions & Answers
so I need to list all the files in a folder with x character, where x is an arbitrary number. I am not sure of the whole command, but I think it's something like the following:
ls grep -l
What am I missing? What should the command be if I am wrong?
Any help would be appreciated. (5 Replies)
Discussion started by: PhobosAnomaly
5 Replies
6. Linux
Hi,
I am having an issue releated to shell-environment on a server.
Let me explain with the example of below script:
#!/bin/ksh
echo " enter:\c"
read a
echo $a
As I am using ksh the expected output from this script should be 'enter:' (expecting the input for read in same... (8 Replies)
Discussion started by: mystition
8 Replies
7. AIX
I have 1 box running 5.2 and another running 5.3. Both use the NIS accounts and NFS home directories. Users can telnet on to both and 'who' displays the login.
However when users run xterms using a remote X server (e.g. Exceed), by telnetting then running
/usr/bin/X11/xterm -d xxx.xxx.xxx.xxx:0
... (1 Reply)
Discussion started by: spitzie
1 Replies
8. AIX
Hi All,
I have been working with two AIX with san and this is the first I got this minor problem on my third AIX. The san/hdisk was recreated so many times because of this problem. When I created a new vg and fs. The fs will be mounted/unmounted properly but if I query the fs on a vg with... (2 Replies)
Discussion started by: itik
2 Replies
9. Post Here to Contact Site Administrators and Moderators
I received the following e-mail notification, but neither this post nor my previous post is showing up.
----------------------------------------------------------------
patwa has just replied to a thread you have subscribed to entitled - Waiting between commands - in
the UNIX for Dummies... (1 Reply)
Discussion started by: cfajohnson
1 Replies
10. Shell Programming and Scripting
Hi there,
I have a scritp that is clearing out old files from some directories, rather than echoing the name of the file when it gets deleted i want to echo a ". " I have tried to just echo it after the deletion but it lists like this
.
.
.
.
I want to show it like this
. . . . . . . . .... (1 Reply)
Discussion started by: nhatch
1 Replies