03-17-2010
I don't know other workaround(s).
The usage of echo in shell scripts is discouraged because of the issues you're facing now.
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
5. 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
6. Shell Programming and Scripting
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies
7. Emergency UNIX and Linux Support
Hi guys.
I have configured ftp server with vsftpd. now here is the crazy question:
vsftpd does not show icons besides folders and files and also it doesn't show folder sizes. (4 Replies)
Discussion started by: majid.merkava
4 Replies
8. 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
9. 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
10. 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
LEARN ABOUT SUNOS
suspend
suspend(1) User Commands suspend(1)
NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)
SunOS 5.10 15 Apr 1994 suspend(1)