12-01-2010
Basic - how do I?
How do I use ls and grep together to count a certain number of files in a directory?
-Thanks
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I am pretty new both to unix and this forum, can anyone help me to give shortcuts to my commands...
eg:-
instead of "cd /usr/bin"
i want to to give " bin " and get to that path.
I'm using HP-UX 11.0
abey (2 Replies)
Discussion started by: abey
2 Replies
2. What is on Your Mind?
hi,
I am pretty new both to unix and this forum, can anyone help me to give shortcuts to my commands...
eg:-
instead of "cd /usr/bin"
i want to to give " bin " and get to that path.
I'm using HP-UX 11.0
abey (2 Replies)
Discussion started by: abey
2 Replies
3. HP-UX
Hi Guys,
I very new to bt-basic even I got 8 years experience on UNIX. I searched through google about bt-basic but nothing really give me solid documentation. Anybody have documentation or manual for this bt-basic? Pls help me (2 Replies)
Discussion started by: shahru
2 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone, I need some help! I know that this is a very simple little problem but I seem to be stuck. I was just wondering if you could show me the right way.
I basicly have to write a single line of commands (using piping) to do the following:
From the file data.txt, select all of the... (2 Replies)
Discussion started by: itk
2 Replies
5. HP-UX
Hi,
Good morning
I want to install HP-Unix in my PC.
I already have windows XP home edition in my PC.
I do not want remove XP,But I need HP-Unix in the same system.
Is it posssible?
If it is what is the name and version of HP-Unix cd?
Where can I get the CD to install.
I have... (4 Replies)
Discussion started by: nandhini
4 Replies
6. UNIX for Dummies Questions & Answers
I know this is pretty basic, but i cant figure it out to save my life. i want it to ask for a variable, as long as that variable isnt -/0 i want it to print out the area. else if the variable is -/0, i want it to print out invalid entry. the only problem is it will still try to print out the... (1 Reply)
Discussion started by: cookiebooy
1 Replies
7. UNIX for Dummies Questions & Answers
Hi ,
I need to know the difference between $((command)) and $(command) and $(($(command))).
"" and '' and ``.
I have tried searching the help files but cant able to find this.
Could you let me knoq about any document.
Thanks (4 Replies)
Discussion started by: Raj999
4 Replies
8. What is on Your Mind?
There isn't much of a relation between 80's BASIC and today's BASIC.
A lot of languages seem similar. The BASIC I worked with was Dartmouth or VSBASIC. Now existing as ATARI BASIC. PERL and JULIA look appealing, it would be nice if there where a program like VSBASIC. 80's... (7 Replies)
Discussion started by: teak
7 Replies
ZGREP(1) General Commands Manual ZGREP(1)
NAME
zgrep - search possibly compressed files for a regular expression
SYNOPSIS
zgrep [ grep_options ] [ -e ] pattern filename...
DESCRIPTION
Zgrep invokes grep on compressed or gzipped files. These grep options will cause zgrep to terminate with an error code:
(-[drRzZ]|--di*|--exc*|--inc*|--rec*|--nu*). All other options specified are passed directly to grep. If no file is specified, then the
standard input is decompressed if necessary and fed to grep. Otherwise the given files are uncompressed if necessary and fed to grep.
If the GREP environment variable is set, zgrep uses it as the grep program to be invoked.
EXIT CODE
2 - An option that is not supported was specified.
AUTHOR
Charles Levert (charles@comm.polymtl.ca)
SEE ALSO
grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1)
ZGREP(1)