![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| appending a file using sed in ksh | smac | Shell Programming and Scripting | 3 | 01-02-2008 04:09 PM |
| appending to sed output of one file into the middle of file | go4desperado | Shell Programming and Scripting | 5 | 02-05-2007 02:20 AM |
| Reading specific contents from a file and appending it to another file | dnicky | Shell Programming and Scripting | 5 | 10-04-2005 05:45 AM |
| appending to a file in sftp | borncrazy | Shell Programming and Scripting | 3 | 09-01-2004 01:23 PM |
| appending a file | chumba | UNIX for Dummies Questions & Answers | 1 | 05-24-2001 11:09 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi, once again -
Ok here it is: a).I used the touch command to create a file (touch directory.list) b).I then added this line: - date '+The date is %a %h %d, %Y %nIt is %I:%M %p' > directory.list -So that this date function would go at the top of my script c).Now I want to display a detailed listing(including i-node numbers) of the contents of my dir and append the output to this file(directory.list) Now I've tried this for a few days and the closet I've came is: ls -i > directory.list But when I do this it erases the date function. There has got to be an easier way. I need help Thank you again, I don't why it's overwriting - maybe something to do with the permissions. b |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|