3rd July: Linux exercise_day1

mkdir test01;

touch test01;

linux的touch命令不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件。

文件权限修改:修改linux文件权限命令:chmod

chmod 755 test02

文件链接:硬链接,符号链接;ln的用法

ln -s test02 test03. 在创建连接前,不能新建连接后的文件test03。

 

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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