Search Results

Search: Posts Made By: Meghna
Forum: UNIX and Linux Applications 03-02-2011
3,759
Posted By Meghna
^M not found
hi:

I had an existing script in production and I commented some lines and implemented the same. The scripts fails with a cc of 127 and I get the msg:
^M: not found

I checked the file format...
1,873
Posted By Meghna
Thanks a lot sun2ecliptic and curleb
Thanks a lot sun2ecliptic and curleb
1,873
Posted By Meghna
Thanks sun2ecliptic. But: ls -al | awk...
Thanks sun2ecliptic.

But:
ls -al | awk {'print $3,$9'} | sed '1,3d' > file
will output the user & file name information into the file. How can I format this information such that the user id is...
1,873
Posted By Meghna
Formatting the o/p of ls command to a file
HI,

I require only the file name and the user information from the ls output into a file. The layout of the file is already defined as:
User id is in the first 7 bytes
FName is in the next 50...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy