10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a list of zipped files. I want to grep for a string in all files and get a list of file names that contain the string. But without unzipping them before that, more like using something like gzcat.
My OS is:
SunOS test 5.10 Generic_142900-13 sun4u sparc SUNW,SPARC-Enterprise (8 Replies)
Discussion started by: apenkov
8 Replies
2. Shell Programming and Scripting
I want to list the name of files with path having perticular string in it.
search must be start from root (/) dir.
Thanks:) (3 Replies)
Discussion started by: anandgodse
3 Replies
3. UNIX for Dummies Questions & Answers
I have a string containing fields separated by space
Example
set sr="Fred Ted Joe Peter Paul Jean Chris Tim Tex"
and want to display it in a column format, for example to a maximum
of a window of 100 characters
And hopefully display some thing like
Fred Ted Joe ... (3 Replies)
Discussion started by: kristinu
3 Replies
4. Shell Programming and Scripting
I am having following folder structure.
/root/audios/pop
/root/audios/jazz
/root/audios/rock
Inside those pop, jazz, rock folders there are following files,
p1.ul, p2.ul, p3.ul, j1.ul, j2.ul, j3.ul, r1.ul, r2.ul, r3.ul
And I have a file named as "audio.txt" in the path /root/audios,... (11 Replies)
Discussion started by: gopikrish81
11 Replies
5. Solaris
I want equivalent of ftp in sftp for listing of files into local machine from sftp location.
ftp>ls -l list.txt
the above creates a file list.txt in the local machine's current directory.
sftp>ls -l list.txt
it is giving
Couldn't stat remote file: No such file or directory
is there... (1 Reply)
Discussion started by: megh
1 Replies
6. Shell Programming and Scripting
I want to list all the files which are having today's date in its header...
Please let me know if this can be achveived by a single command (8 Replies)
Discussion started by: anandapani
8 Replies
7. UNIX for Dummies Questions & Answers
I have many types of files (Eg: *.log, *.rpt, *.txt, *.dat) in a directory. I want to display all file types except *.txt.
What is the command to display all files except "*.txt" (9 Replies)
Discussion started by: apsprabhu
9 Replies
8. Shell Programming and Scripting
Hi expersts,
in my directory i have *.txt and *.TXT and *.TXT.log, *.txt.log
I want list only .txt and .TXT files in one command...
how to ??
//purple (1 Reply)
Discussion started by: thepurple
1 Replies
9. Solaris
Dear experts,
In a directory i have both *.TXT and *.txt files. I have a script-
for file in `ls *.txt`; do
mv $file /tmp/$file
How to list both *.txt and*.TXT file in one command so that script will move both .txt or .TXT whatever it find.
br//purple (4 Replies)
Discussion started by: thepurple
4 Replies
10. UNIX for Dummies Questions & Answers
:confused:
I have more than 8000 files in a dir, I need to copy to other dir which containing the "sample"
I tried
grep -il "1189609240791-1268115603299237276@216.109.111.119 ' | cp /tmp/inv
Nothing is happening for long time for 100 file dir too,
Any one can help me? (11 Replies)
Discussion started by: redlotus72
11 Replies