10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I am attempting to find and copy the two most recently added files to a specific directory, that fit a specific format.
I was able to find the command to list the two most recently added files in directory: ls -1t | head -n 2 The command lists the two files names in a vertical list,... (11 Replies)
Discussion started by: mattkoz
11 Replies
2. Shell Programming and Scripting
Hi,
I am trying to work on this script that needs to monitor a Directory.
In case there are no files received in that Directory for the last 5 minutes, it has to send out an alert.
Could someone please suggest any approach for the same.
Note: I did check out various previous psts -... (8 Replies)
Discussion started by: rituparna_gupta
8 Replies
3. Shell Programming and Scripting
Hi,
I am looking for a command to search for a specific file which was recently modified in the current directory leaving some unwanted files to be listed.
For example, when I try ls - lrt
it shows the following output.
I want to ommit the files with the name 'resend' and... (3 Replies)
Discussion started by: svajhala
3 Replies
4. Shell Programming and Scripting
Hi,
I'm looking to create a script which will find all the files created in the last 24h in a directory starting with a few different letters and send them to the printer. This would be run through the cron each morning to print the last 24 hours files.
I have started with this to find all... (2 Replies)
Discussion started by: rab
2 Replies
5. UNIX for Dummies Questions & Answers
At work I have two sets of systems, my Primary network and Secondary network. Each consists of 4 servers, 3 of them for doing work (Idaho, Omaha, Juno) and hosting the processes we work on and 1 holds all the home directories (Sword). So Idaho, Omaha and Juno use Sword for home directories (user... (7 Replies)
Discussion started by: wha72
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Can you guys tell me how do i find the most recently changed files, say an hour before, few hours before, a day before etc....
Thanks!!!! (3 Replies)
Discussion started by: raghu_shekar
3 Replies
7. Shell Programming and Scripting
hi gurus,
i would like to know how can i find logs files which were recently modified or updated? :confused:
using this command?
find . -name "*.log" -mtime ??
so what should i put for mtime?
thanks.
wee (9 Replies)
Discussion started by: lweegp
9 Replies
8. Solaris
How to find al the user's home directories? (2 Replies)
Discussion started by: a2156z
2 Replies
9. UNIX for Dummies Questions & Answers
How do I find files those have been updated in the last 24 hours, sort them by size descending and then display the top of the long list? (6 Replies)
Discussion started by: shantanuo
6 Replies
10. Shell Programming and Scripting
Hi all,
I would like to know how to find out the home directory of a particular user..
eg,
If am the root , then my Home directory will be /
if say am just a user logging into the terminal then my home dir would change,
so accordingly i would like to know how to find it out...
I know that... (7 Replies)
Discussion started by: wrapster
7 Replies