"Linux/ubuntu Learning 12" Ubuntu under the/etc/profile error modification causes the system cannot log on

Source: Internet
Author: User
Etc/profile Setting environment variable causes unable to log on to resolve 1, because accidentally set in etc/profile environment variable cause unable to log in Etc/profile set export path This will cause a reboot after the system login interface Alt +CT  Rl+f2 into the command mode, if not the root user needs to type "root user not so verbose, gedit edit will not be displayed"/usr/bin/sudo/usr/bin/vi/etc/environment cursor moved to export path** Row, press D two times to delete the row by: Wq--"This is killing me, actually. Press SHIFT and enter": ", and then enter Wq" Save exit type/sbin/reboot

Rebooting the system

Note: If you delete the contents of the file by mistake, you need to complete the shell command in the file and then reboot

"Linux/ubuntu Learning 12" Ubuntu under the/etc/profile error modification causes the system cannot log on

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.