标签:linux
1. cd etc
cd /ect
2. ls -l all information (name,permission,ownship)
ls -m only name
3. sudo find -iname (ignore HighLow capital and small letter)
sudo find -iname *php.ini*
4.
sudo mkdir folder
sudo mkdir folder /etc/network/folder
(make directory)
5. sudo rm file
sudo rm folder -R (file exit this folder)
6.
sudo mv file1 file2 (rename)
sudo mv /file1 /etc/file1
7.
sudo cp file file.bak
8. Mounting Drives
sudo mkdir /mnt/drive
sudo fdisk -l (show disk information)
sudo mount /dev/sda5 /mnt/drive
cd /mnt/drive
ls -l
sudo umount /dev/sda5
mount CD
sudo mount /dev/cdrom /mnt/cdrom
本文出自 “SystemAdmin成长记” 博客,请务必保留此出处http://christhai.blog.51cto.com/1584747/1693243
标签:linux
原文地址:http://christhai.blog.51cto.com/1584747/1693243