Ubuntu magical command

File Manager

sudo nautilus

Menu which opens to display hidden files, the operation of the file that comes with root privileges, open the file with a text editor, saved directly modified, can not find the file or forget command, very practical graphical interface (familiar to less than basic, but We can show them operational)

snap to install applications

Under gnome graphical interface, compressed packages installed pycharm software, you need to create your own shortcuts, and can not be added to favorites in Ubuntu18 under the applicable snapcommand to install. Ubuntu is a snap application market, similar to Ubuntu's own software store, snap can use the command line snap loginto log in.

Common Commands

  • Installation pycharm

    • snap install pycharm-professional --classic
  • Install the update

    • snap refresh
  • snap application list

    • snap list
  • Find snap Applications

    • sudo snap find packge-name

Deb installation package is packaged rmp

Installation alien, used to package ailen

sudo apt install alien

Bale

alien packge-name

After the extension files can be packaged into double-click deb install

apt-cache lookup application information

Forget the full name of the package, the package can use this command to find the specific name

apt-cache search "packge-name" ---- find all available packages

apt-cache depends ---- look for a dependency package

Terminal Shortcuts

ctrl + l ---- clear screen

ctrl + c ---- termination command

ctrl + d ---- exit the shell

ctrl + z ---- The current process in the background, fg reduction

ctrl + r ---- find from the command history

ctrl + u ---- clear the cursor to the first character (also cut function)

ctrl + w ---- clear the cursor before a word (as well as cut function)

ctrl + k ---- Clear cursor to the end of the line (also cut function)

ctrl + y Ctrl + u ---- Paste or Ctrl + k Cut content

ctrl + t ---- swap two characters before the cursor

Small command

  • efibootmgr ---- view the system boot sequence

  • cat /etc/issue ---- Check system version

Guess you like

Origin blog.csdn.net/qq_27114273/article/details/90289371