10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I want to copy all files from the list below to a path /qa0/repo/AS/CPY
(lnx17:qa0:/qa0/repo/AS>) ls -lrt | grep 'Feb 14'
-rw-rw-r-- 1 Ks1 qa0 39 Feb 14 20:11 HHH.dat
-rw-rw-r-- 1 Ks1 qa0 32 Feb 14 20:11 HHH1.dat
-rw-rw-r-- 1 Ks1 qa0 29 Feb 14 20:11... (3 Replies)
Discussion started by: arunkumar_mca
2. Shell Programming and Scripting
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
3. Shell Programming and Scripting
I'm able to connect to the remote server (server_name). But when i'm transferring the files, its getting transferred. But the file is not there in the remote location.
I tried with a zero byte and 5 byte file
sftp6 -P <port-no> --password=file:///<file having the pwd>... (1 Reply)
Discussion started by: help_scr_seeker
4. Shell Programming and Scripting
I am having following folder structure.
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
5. 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
6. Shell Programming and Scripting
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
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
8. UNIX for Dummies Questions & Answers
I have 150 txt files named chunk1, chunk2, ........., chunk150. I have a second file called string.txt with more than 1000 unique strings, house, dog, cat ... I want to know which command I should use to count how many times each string appears in the 150 files.
I have tried... (4 Replies)
Discussion started by: Pep Puigvert
9. Windows & DOS: Issues & Discussions
I use sftp batch script to copy file from a remote server to local machine. Problem is when I rerun this shell after copying txt file it do not allow me to copy txt file again.
My question is , is this confrigration problem of remote server. beace same shell work fie with the other remote... (3 Replies)
Discussion started by: Jamil Qadir
10. UNIX for Dummies Questions & Answers
I have a text list of about 3,000 file names (image files), which exist on a server and that I want to copy over to another location. I understand the Unix cp code, but what's the string to have it copy multiple files based on an external list?
Many thanks! (4 Replies)
Discussion started by: rebornhonest