Ubuntu 18.04コマンド

4895 ワード

Ubuntu18.04グラフィックインタフェースの下でファイルをコピーできません:(権限が欠けているため)
  Ctrl+Alt+T        :sudo nautilus

*MYSQL:
  :service mysql start
  :service mysql stop

*ドライバパッケージのインストール:
sudo dpkg -i xx.deb

*実行shファイル:
su
./xxx.sh
******  ********
sudo sh ./install.sh

*修正/xx/xxxファイル:
sudo gedit /xx/xxx

*deepin-wine-for-ubuntuインストールソフトウェア:
git clone 'https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git'
cd /hime/soldier/deepin-wine-for-ubuntu
su
./install.sh
 ***http://mirrors.aliyun.com/deepin/pool/non-free/d/***  xxx.bed
  xxx.bed    

*ソフトウェアのアンインストール:
dpkg --list
sudo apt-get --purge remove xxx

*ファイルの解凍:
ZIP:
  ZIP:zip -r archive_name.zip directory_to_compress
  ZIP:unzip archive_name.zip

TAR:
  TAR:tar -cvf archive_name.tar directory_to_compress
  TAR     :tar -xvf archive_name.tar.gz
  TAR     :tar -xvf archive_name.tar -C /xx/xxx/

TAR.GZ:
  TAR.GZ:tar -zcvf archive_name.tar.gz directory_to_compress
  TAR.GZ     :tar -zxvf archive_name.tar.gz
  TAR.GZ     :tar -zxvf archive_name.tar.gz -C /xx/xxx/

TAR.BZ2:
  TAR.BZ2:tar -jcvf archive_name.tar.bz2 directory_to_compress
  TAR.BZ2     :tar -jxvf archive_name.tar.bz2 -C /xx/xxx/