Use administrator permission and command line to open Ubuntu

Source: Internet
Author: User
I read the following Ubuntu Forum today and learned a lot. What I always wanted: to open it with administrator privileges, right-click on the desktop to open the command line, right-click on the file, and open it with command line. These settings can be implemented in windows by setting the registry. The method has not been found in Ubuntu. Although there is a registry-like gconf-editor in Ubuntu, it is still not found. Today, many people have learned about it in the Forum.

I read the following Ubuntu Forum today and learned a lot.

What I always wanted: to open it with administrator privileges, right-click on the desktop to open the command line, right-click on the file, and open it with command line. These settings can be implemented in windows by setting the registry. I have not found any method in Ubuntu. Although there is a registry-like gconf-editor in Ubuntu, I still cannot find it. Today I have learned a lot in the Forum.

Right-click the terminal to open the desktop and right-click the terminal to open the file

Sudo apt-get install nautilus-open-terminal

Right-click files and folders and open them as administrator.

Sudo apt-get install nautilus-gksu

Or sudo nautilus folder

In my opinion, this can also be used: sudo gnome-open a folder.

Time Synchronization with other operating systems such as windows

Sudo nano/etc/default/rcS

Set UTC to no, that is, UTC = no.

How can fstab take effect without restarting the system?

Sudo mount-

How can I view the UUID of a partition?

Ls-l/dev/disk/by-uuid

How can I view the system running time?

Uptime

System Upgrade

Sudo apt-get update

Sudo apt-get upgrade

Sudo apt-get dist-upgrade

Clear old software caches

Sudo apt-get autoclean

Clear all software caches

Sudo apt-get clean

Delete isolated software that is no longer used by the System

Sudo apt-get autoremove

Force stop a process (used when the process failed to be aborted)

Kill-9 process no.

Or killall-9 process name

Graphically abort a program

Xkill the mouse with the skeleton icon. Click the program to be aborted.

View the IP address of the current Internet

W3m-no-cookie-dump www.ip138.com | grep-o '[0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}'

W3m-no-cookie-dump ip.loveroot.com | grep-o '[0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}'

Show Hidden Files

Ctrl + h

Show Address Bar

Ctrl + l

Special URI address

* Computer: //-all mounted devices and networks

* Network: //-browse Available Networks

* Burn: // a data virtual directory for burning CDs/DVDs

* Smb: //-available windows/samba Network Resources

* X-nautilus-desktop: //-desktop project and icon

* File: //-local file

* Trash: //-local recycle bin directory

* Ftp: //-FTP folder

* Ssh: //-SSH folder

* Fonts: //-font folder. You can drag the font file here to complete the installation.

* Themes: //-system topic folder

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.