9 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. 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
3. 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
4. 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
5. UNIX for Dummies Questions & Answers
Is it possible to use the ls command and NOT see the total blocks? For example, instead of seeing this...
$ ls -l
total 16
drwxr-xr-x 2 voicem voicem 4096 Dec 3 09:19 directory1
drwxr-xr-x 2 voicem voicem 4096 Dec 1 01:29 directory2
drwxr-xr-x 2 voicem voicem 4096 Dec 2 00:47 directory3... (5 Replies)
Discussion started by: cdunavent
5 Replies
6. 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
7. 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
8. 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
9. UNIX for Dummies Questions & Answers
Hi there,
How can I expand the command filed sizing when using a ps command. With diretories and script names and parameters being set I'm not getting some of the information that I need (at the end of the command line).
I'm using HP_UX 11i.
Cheers,
Neil (2 Replies)
Discussion started by: nhatch
2 Replies