h1

create a directory with different permission mode

July 29, 2008

—————————————————————
[root@server ~]# mkdir /root/test1 -v -m 1777
mkdir: created directory `/root/test1′
[root@server ~]# ls -lhd /root/test1
drwxrwxrwt  2 root root 4.0K Jul 29 01:42 /root/test1
[root@server ~]#

v = verbose, is not mandatory though

—————————————————————

About these ads

2 comments

  1. Hi! I was surfing and found your blog post… nice! I love your blog. :) Cheers! Sandra. R.


  2. I am glad :) , thanks



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: