Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> Basic Unix File command!
kev112
Posted: May 10 2005, 08:34 AM
Quote Post


Newbie
*

Group: Members
Posts: 1
Member No.: 986
Joined: 10-May 05



Hi there,

I am looking for a command which will create a file called outputa.txt, which will show the contents of my directory a and its sub-directories and permissions.

I done this a while ago but have forgotten the command, please help!

Thanks
Kev
PMEmail Poster
Top
andyb1ack
Posted: May 10 2005, 04:06 PM
Quote Post


User Level: 4
****

Group: Members
Posts: 98
Member No.: 513
Joined: 9-September 04



# To create file outputa.txt
touch outputa.txt

# Showing the files in your home directory and their permissions
find $HOME -ls
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Shells & Scripting | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.3754 ]   [ 12 queries used ]   [ GZIP Enabled ]




Partners: Cambridge Plus :: <Link Available> :: Electronic Consultancy, UK :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum