命令名:mv 功能:移动一个文件,从一个位置到另外一个位置. 用法:mv source_dir dist_dir eg: renjg@renjg-HP-Compaq-Pro--MT:/var/tmp$ touch test #创建一个文件 renjg@renjg-HP-Compaq-Pro--MT:/var/tmp$ ls test renjg@renjg-HP-Compaq-Pro--MT:/var/tmp$ mv test /home/renjg/WorkSpace/ #讲文件移动到/hom…
命令名:cat 功能:在当前窗口中查看制定位置的文件的内容. eg: renjg@renjg-HP-Compaq-Pro--MT:~/test$ cat /etc/apache2/ports.conf # If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement in # /etc/apache2/sites-enabled…