1 , Use locate command It is a fast way to find the files location, but if a file just created ,it will can not found use it. You may need run updatedb to update the database 2, Use find command "find" will search on your disk not from the datab…
Linux 中 Vi 编辑器的简单操作 Vi 编辑器一共有3种模式:命名模式(默认),尾行模式,编辑模式.3种模式彼此需要切换. 一.进入 Vi 编辑器的的命令 vi filename //打开或新建文件,并将光标置于第一行首 vi +n filename //打开文件,并将光标置于第n行首 vi + filename //打开文件,并将光标置于最后一行首 vi +/pattern filename //打开文件,并将光标置于第一个与 pattern 匹配处 vi -r fil…