Linux / UNIX Tech Support Forum
This is a discussion on Shell Script To Outputs File Permissions of Most Recently Modified File within the Shell scripting forums, part of the Development/Scripting category; Dear All, I was wondering if there are somebody would be able to help me with my task. I was ...
|
Register free or login to your existing account and remove all advertisements. |
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Dear All,
I was wondering if there are somebody would be able to help me with my task. I was asked to write a shell script (/bin/sh) which outputs the file permissions of the most recently modified file in the current directory. If those file permissions are " -rw-r----- " then the name of the file should be appended to a file called "log". Please help me.. |
| Sponsored Links | ||
|
|
![]() |
| Tags |
| bash , file permissions , find , shell script , stat |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] Shell script for ftp the file | vishal_titre | Shell scripting | 4 | 08-21-2009 04:50 PM |
| shell script to search specific file from txt file inside zip file and extract it | aasif.shaikh | Shell scripting | 2 | 05-31-2008 07:44 PM |
| Shell Script Searching For a Record In The File | vinz4ever | Shell scripting | 1 | 05-11-2008 08:35 PM |
| If file modified execute a script | karabaja | Shell scripting | 3 | 11-23-2006 03:39 AM |
| error shell script no such file or directory /bin/sh | Linux software | 1 | 01-08-2006 09:34 PM | |