03-31-2005
Hello,
Is there something similar in csh.
Am doing:
?> rm filename
filename: No such file or directory
How to suppress this message???
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to run the script bellow but its given me "syntax error at line 20 :'done' unexpected." error message"
can someone check to see if the script is ok? and correct me pls.
Today is my first day with scripting.
Gurus should pls help out
#!/bin/ksh
# Purpose: Check to see if file... (3 Replies)
Discussion started by: ibroxy
3 Replies
2. Forum Support Area for Unregistered Users & Account Problems
Hi all,
I am trying to register but it seems my IP address is being seen or black listed as a spam address.
I get the following message:
"Registration denied. Sorry, The UNIX and Linux Forums runs an active policy of not allowing spammers. Please contact us via by posting in this forum if... (0 Replies)
Discussion started by: codenjanod
0 Replies
3. Shell Programming and Scripting
Is there a way to suppress the output that script command displays - "Script command started..." (4 Replies)
Discussion started by: ggayathri
4 Replies
4. UNIX for Dummies Questions & Answers
The operating system is Solaris. There is a perl interpreter that is located at /opt/perl5.10.0/perl. when i give
ls -ltr /opt/perl5.10.0/perl
I get an error message saying that "/opt/perl5.10.0/perl Not a directory"
At the next instant when i give the same command it lists the properties of... (5 Replies)
Discussion started by: sreeharshasn
5 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. UNIX for Dummies Questions & Answers
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Red Hat
We are having issues with our Postfix. The POP and IMAP services randomly stops working an sent e-mails return a "Command time limit exceeded".
We've found out that running these command fix the problem:
service cyrus-imapd stop
rm /var/lib/imap/tls_sessions.db*
rm... (2 Replies)
Discussion started by: GustavoAlvarado
2 Replies
LEARN ABOUT REDHAT
xltworking
XltWorking(3X) XltWorking(3X)
NAME
XltWorking - Convenience function to display a Working dialog, and update the bar graph in the dialog.
SYNOPSIS
#include <Xlt/Xlt.h>
Boolean XltWorking(widget, question, percent_done)
Widget widget;
String question;
int percentdone;
DESCRIPTION
XltWorking Creates a dialog containing a message string, a bar showing the percentage of the task complete, and an abort button. When
called with a percent_done value of zero the dialog is managed, and a timer installed to update the bar every second. If question is not
NULL, the message string in the dialog is set to this. When called with a percent_done of 100, the dialog is un-managed. If called with a
percent_done of -1, only the message is changed. Any value between 0 and 100 will cause the bar graph to be updated the next time the timer
fires, and processes any pending timer and X events. If the return value is True, the user has requested that the task should be aborted.
widget The widget to wait for.
question
The message to display in the working dialog. Or NULL, meaning no change.
percent_done
The percentage of the task complete. 0 will cause the dialog to be managed. 100 will cause the dialog to be un-managed. -1 will
update the question only. Any value between 0 and 100 will update the bar graph.
RETURN VALUE
Boolean, if True the abort button was pushed, or the window was closed by the window manager.
RELATED INFORMATION
XltWorking(3X)