RHEL common commands 1, shut down the shutdown-hnowhaltpoweroffinit0www.2cto.com2, restart reboot3, view the current directory pwd4, add the system user useraddnewuser5, change the user password passwdnewuser and then enter the password, enter the Confirm password. 6 ,... common RHEL commands 1. shutdown-h now halt power off init 0 www.2cto.com 2. restart reboot 3. view the current directory pwd 4. Add system user useradd newuser 5. change user password passwd newuser then enter the password, enter the password. 6. ssh connection to the ssh root@192.168.0.204 7. scp command scp root@192.168.0.204:/root/tmp /*. zip. /8, rsync command rsync-vaz root@192.168.0.204:/root/tmp /*. zip./
Similar to the scp command, it is said that the speed is faster than scp. it may be compressed before transmission, and extracted after transmission. 9. start oracle sqlplus/as sysdba startup lsnrctl start emctl start dbconsole www.2cto.com 10 in linux and disable oracle in linux.
Sqlplus/as sysdba shutdown abort or shutdown immediate lsnrctl stop emctl stop dbconsole 11. count the file size in the directory du-h -- max-depth = 1 | sort-n 12. install the rpm package rpm -ivh *. rpm 13. View cpu information cat/proc/cpuinfo 14. view the last 10 rows of tail *. txt 15. view the first five lines of head * in the file *. txt 16. start the graphic interface startx www.2cto.com 17, view the history Command history 18, change the pre-defined domain name and ip vi/etc/hosts 19, and change the host name first step: # hostname oratest Step 2: modify hostname in/etc/sysconfig/network Step 3: modify cutesunshineriver of the/etc/hosts file
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service