![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux学习
文章平均质量分 70
huihuitailang
这个作者很懒,什么都没留下…
展开
-
Linux下查看文件和文件夹大小的df和du命令
[code="java"]liweihui@liweihui-desktop:~/Documents/zbs$ df -hFilesystem Size Used Avail Use% Mounted on/dev/sda1 71G 26G 43G 38% /varrun 759M 116K ...2010-04-28 13:57:36 · 86 阅读 · 0 评论 -
linux挂载U盘
[code="linux"]liweihui@liweihui-desktop:/$ sudo fdisk -l[sudo] password for liweihui: Disk /dev/sda: 80.0 GB, 80000000000 bytes255 heads, 63 sectors/track, 9726 cylindersUnits = cylinders of...原创 2010-05-09 13:01:35 · 65 阅读 · 0 评论 -
个人linux常用命令
1.用于删除vi/vim产生的垃圾文件[code="java"] find -iname '*.swp' |awk '{print "rm " $0}'|bash[/code]2.同步时间[code="java"]ntpdate time.nuri.net [/code]3.重定向:将命令的结果输出到文件,而不是标准输出(屏幕)[code="java"]> 写入文件并覆盖旧文...原创 2010-07-15 14:01:14 · 73 阅读 · 0 评论 -
vim问题
http://forum.ubuntu.org.cn/viewtopic.php?t=240806原创 2010-05-15 16:57:48 · 131 阅读 · 0 评论 -
How to generate an SSH key in Linux?
You can generate a key in Linux using the ssh-keygen command. You should run it in the command line. You will be asked for a file in which the key should be saved to and for a passphrase (password) f...原创 2010-07-29 12:30:07 · 352 阅读 · 0 评论 -
VI替换大全
[size=medium][size=x-small]vi/vim 中可以使用 :s 命令来替换字符串。以前只会使用一种格式来全文替换,今天发现该命令有很多种写法(vi 真是强大啊,还有很多需要学习),记录几种在此,方便以后查询。:s/vivian/sky/ 替换当前行第一个 vivian 为 sky:s/vivian/sky/g 替换当前行所有 vivian 为 sky:...原创 2010-06-23 10:08:25 · 178 阅读 · 0 评论