12-19-2003
Quote:
Originally posted by bi89676
I only want to read the ones without the .txt extension?
possible?
I notice you're ignoring Ygor's solution. 2It can be extended like this:
more !(*.txt)
However the only shell with the juice to handle something like that is ksh.
10 More Discussions You Might Find Interesting
1. AIX
Root emailed me this message and thats ok it is supposed to. The thing that concerns me is that the ADMIN password came in plain text. I Xed it out for the purpose of this message of course.
Is there a way for me to set this so the password comes encrypted? OR is not included at all in the... (4 Replies)
Discussion started by: rocker40
4 Replies
2. Shell Programming and Scripting
Good day. :)
I don't know exactly where or how to post this kind of stuff, but I though I'd like to have a look at my "Screen Saver" in progress. Comments welcome.
This uses bash. Just copy and pase into any file. Make o+x and run. Feel free to edit and change all u like.
Thanks.
... (0 Replies)
Discussion started by: Blooper
0 Replies
3. UNIX for Dummies Questions & Answers
Hi
I have read every possible thread here on unix certification.
I was looking for a suggestion as to which is a reasonable certification in terms of price and familiarity in the market.
All the certs mentioned here involve testing in networking,managing users,backups etc which for me is... (1 Reply)
Discussion started by: systemsb
1 Replies
4. Linux
I'm attempting to print to a networked konica printer. No linux drivers that I know of exist, but we've always used HP 5si drivers and have had good results.
We just loaded a box up with CentOS 5, and now when we print any sort of file from the command line (lp -dkonica <filename>), the text is... (0 Replies)
Discussion started by: fender177
0 Replies
5. Shell Programming and Scripting
Hi,
sorry for bothering with this easy problem but I can't understand...
I've a file like this:
"4","0x23a3"
"5","0x4234"
"11",""
"20",""
"11132","0x6456"
I would like to create a file like this:
4,23a3
5,4234
11,999999
20,999999
11132,6456
I've tried:
cat INPUT.txt | sed -e... (7 Replies)
Discussion started by: TheMrOrange
7 Replies
6. Shell Programming and Scripting
Hi folks
There are about 200 csh scripts (I didn't wrote them). Do all those scripts run with tcsh without modification? Is tcsh 100% compatible with the plain-old csh?
$ which csh
/usr/bin/csh
$ which tcsh
/usr/bin/tcsh
$ uname -a
SunOS purzelse 5.9 Generic_117171-07 sun4u sparc... (2 Replies)
Discussion started by: slashdotweenie
2 Replies
7. Shell Programming and Scripting
Hello!
I've got a very big file (from tokenization) which has one word for line.
How is it possible then to rebuild the "original" text, knowing that <s> and </s> are the sentence-delimiters?
My file looks like this:
<s>
&&
tanzania
na
Afrika
kwa
ujumla
ambiwa
na
taifa
kubwa... (6 Replies)
Discussion started by: mjomba
6 Replies
8. Shell Programming and Scripting
Hi everyone,
I want to know, if there is a way to modify one line in a text file with unix script, with out re-writing all the file.
For example, i have this file:
CONFIGURATION_1=XXXX
CONFIGURATION_2=YYYY
CONFIGURATION_3=ZZZZ
supose i have a command or function "modify" that... (7 Replies)
Discussion started by: Xedrox
7 Replies
9. Shell Programming and Scripting
Hello,
I have a Solaris x86 server. I am installing patch cluster on that. Out of so many patches, any one patch is breaking its LDAP authentication and I am not able to figure out, which one is that. I have restored server and planning to apply that patch cluster again.
To figure that patch, I... (0 Replies)
Discussion started by: ron323232
0 Replies
10. UNIX for Beginners Questions & Answers
I´m trying to input a plain text table and I want to output a csv file with semicolon field separator.
I have some problems with the \r and the fields with more of one line.. Some gnu util to do this without problems or awk solution?
I´m attaching the original plain table file and the needed... (2 Replies)
Discussion started by: faka
2 Replies
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)