9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have run one file.but this file is two different directory is there.I wrote the if loop but one directory to find it the file and another directory is not find.
echo `ls -l $mau`
echo "file not there"
b=/scr #not find the directory... (1 Reply)
Discussion started by: rajivgandhi
2. UNIX for Dummies Questions & Answers
I'm new a to Linux command line. I was executing some commands to the data i have when i faced this problem.
I have a directory contanining thousands of files inside, with many many different names.
I wanted to pick the FILENAMES that contains '-1.mol' in thier name, and... (2 Replies)
Discussion started by: Error404
3. Shell Programming and Scripting
I need help to read file in a directory on basis of time stamp.
e.g. If file access in last 2 minutes it should not be copy to remote directory.
Below is my script.
exec < out_interfaces.cfg... (1 Reply)
Discussion started by: qamar.alam
4. UNIX for Dummies Questions & Answers
I have a file.....
xxx 2345 455
abc 345 555
cdf 456 777
fff 555 888
Now my requirement is, Say if, i want to select only those records prior to the record fff 555 888...
how do i go about doing this in unix....
The fff would be hardcoded as it wud be fixed and everytime when i... (7 Replies)
Discussion started by: saggiboy10
5. UNIX for Dummies Questions & Answers
I am going to reitre one solaris 10 server soon.
What are the important config files to backup in case if i want to check how this system was setup (need list in general) ?
Thanks! in advance (1 Reply)
Discussion started by: lramsb4u
6. Shell Programming and Scripting
Hi Everyone !
i want to take all the lines from a file that falls in between some date... and every line in a file has a time stamp..
---some text---- 01/Jan/2010 ---- some other text ----
---some text---- 10/Jan/2010 ---- some other text ----
---some text---- 20/Dec/2010 ---- some... (3 Replies)
Discussion started by: me_newbie
7. Shell Programming and Scripting
as we can find file greater than 1 MB with find command as:
find /dir -name '*' -size +1M
find /dir/* -name '*' -size +1M
but wats its doing is , its finding files only in current directory not in sub-directories. i want files from sub-directories too.
Please help... Thanx in... (3 Replies)
Discussion started by: manoj_dahiya22
8. Shell Programming and Scripting
I need to select the txt files from one folder and pass this filename as parameter and the loop should discontinue after all the files are selected and the iteration should continue only once..
Viz., i have files like abc_2005_f1.txt, abc_2006_f1.txt, abc_2007_f1.txt... in /data... (11 Replies)
Discussion started by: kumar16
9. UNIX for Dummies Questions & Answers
how can I automatically check if important files exist in a directory and if not, automatically put the important files where they are needed
say, I want to put .bashrc and a dozen other important files like it into every user's directory, how can I do this??? how do I check every user's... (4 Replies)
Discussion started by: TRUEST