注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

wangyufeng的博客

祝愿BB 健康开心快乐每一天

 
 
 

日志

 
 

Basic UNIX Commands list  

2011-04-21 10:58:48|  分类: Linux学习 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
ls Show file list (in the current directory)
ls -l Show a detailed file list (in the current directory)
mkdir dirname Create a new subdirectory named dirname
cd dirname Move from current directory to the directory named dirname
pwd Print the full path of the current directory
cd .. Go to the directory above the current one
cd Go back to your main (home) directory
more filename Show the file filename on the screen, page at a time (press space to scroll)
cp file1 file2 Copy file1 to file2
cp filename dirname/ Copy the file filename into the subdirectory dirname
cp * dirname/ Copy all the files in the current directory to the subdirectory dirname
mv file1 file2 Rename file1 to file2
mv filename dirname/ Move the file filename to a the directory dirname
rm filename Remove (delete) the file filename
rm * Remove all files from the current directory
rm -r dirname Remove the directory dirname (with all its contents)
program > filename Redirect the output from program program to the file filename
Control-c Interrupt a running process (e.g. your Perl program) in the middle
lpr -Pprinter_name filename Print the file filename on the laser printer printer_name
exit Log out
  评论这张
 
阅读(510)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017