首页 > 编程知识 正文

ubuntu关闭防火墙命令,ubuntu系统常用命令

时间:2023-05-04 00:34:43 阅读:195085 作者:4046

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

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。