Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Need Help With Unix Script, need help with script
sonu222
post Nov 26 2004, 02:31 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 26-November 04
Member No.: 4,229



hi i need a script for - a utility script named "fileowner." This script
should take a filename as an argument and output the file owner's
username, userid (uid), and regular name. If the user does not supply
a filename, the script should report a usage error and exit. If the
user gives a file that does not exist, the script report that the file
does not exist and exit.

Here are some sample runs of the fileowner script:

/home/jsmith fileowner foo
jsmith
7503
John Smith
java script:emoticon(':(')
smilie
thank you java script:emoticon(':unsure:')
smilie
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 05:41 PM