【笔记】Ubuntu20.04常用命令--长期更新

The dpkg :

 ----dpkg -i <package.deb>         <====> install

 ----dpkg -L <installed APP>       Show info about this APP

 ----dpkg -r <package.deb>         Remove

 ----dpkg --list                              Show all installed APPs\

The apt :

 ----apt-get install <name>            install an app from sources.list

 ----apt update                               update the info about sources.list

 ----apt upgrade                             update the Apps

 ----apt-get --purge remove <name>   ---->remove an app which named 'name'

 ----apt  --fix-broken install             deal with the broken

 ----apt -f install -y                          same with that

 ----apt-get remove <package name>          remove but keep settings and files

The Files:

 ----ls                                               show the list of files

 ----cd  <file's name>                       jump to this file whose name is 'file's name'

 ----cd   -L                                        jump back to 'home'

 ----cp file's_name_1 /way.../end of the way          copy file_1 to way_2

The 'grub->':

----ls

----set root = (hdx,y)

File_Way:

 ----sources.list  ------->  /etc/apt/sources.list

 ----Fonts           ------->  /usr/share/fonts

猜你喜欢

转载自blog.csdn.net/Hsk_03/article/details/106089346
今日推荐