| Author |
Message |
Bill Marcum *nix forums Guru
Joined: 28 Mar 2005
Posts: 1264
|
Posted: Fri Feb 11, 2005 3:38 pm Post subject:
Re: How to find a newly created directory using any unix command
|
|
|
On 11 Feb 2005 04:15:39 -0800, rajashekar14@yahoo.com
<rajashekar14@yahoo.com> wrote:
| Quote: |
Bill Marcum wrote:
On 11 Feb 2005 01:04:17 -0800, rajashekar14@yahoo.com
rajashekar14@yahoo.com> wrote:
Hi,
How to find a newly created directory/file using any unix command.
find . -mmin -1
ls -lt | head -1
That is I wanted to have the directory name stored in my vairable.
Thanks
Hi Bill,
I am getting follwing error after execution of "find . -mmin -1"
find: bad option -mmin
My fault, I should have said that -mmin only works with some versions of |
find (GNU and maybe BSD). If it works, it should show files less than
one minute old. |
|
| Back to top |
|
 |
rajashekar14@yahoo.com *nix forums beginner
Joined: 02 Feb 2005
Posts: 14
|
Posted: Fri Feb 11, 2005 11:15 am Post subject:
Re: How to find a newly created directory using any unix command
|
|
|
Bill Marcum wrote:
| Quote: | On 11 Feb 2005 01:04:17 -0800, rajashekar14@yahoo.com
rajashekar14@yahoo.com> wrote:
Hi,
How to find a newly created directory/file using any unix command.
find . -mmin -1
ls -lt | head -1
That is I wanted to have the directory name stored in my vairable.
Thanks
|
Hi Bill,
I am getting follwing error after execution of "find . -mmin -1"
find: bad option -mmin |
|
| Back to top |
|
 |
Bill Marcum *nix forums Guru
Joined: 28 Mar 2005
Posts: 1264
|
Posted: Fri Feb 11, 2005 10:17 am Post subject:
Re: How to find a newly created directory using any unix command
|
|
|
On 11 Feb 2005 01:04:17 -0800, rajashekar14@yahoo.com
<rajashekar14@yahoo.com> wrote:
| Quote: | Hi,
How to find a newly created directory/file using any unix command.
find . -mmin -1 |
ls -lt | head -1
| Quote: | That is I wanted to have the directory name stored in my vairable.
Thanks
|
|
|
| Back to top |
|
 |
rajashekar14@yahoo.com *nix forums beginner
Joined: 02 Feb 2005
Posts: 14
|
Posted: Fri Feb 11, 2005 8:04 am Post subject:
How to find a newly created directory using any unix command
|
|
|
Hi,
How to find a newly created directory/file using any unix command.
That is I wanted to have the directory name stored in my vairable.
Thanks |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|