暫時隱藏 Mac 桌面上的檔案
有時候想要把桌面的檔案隱藏,可以用下面的指令隱藏 $ defaults write com.apple.finder CreateDesktop false$ killall Finder 下列指令可還原 defaults write com.apple.finder CreateDesktop true$ killall Finder
有時候想要把桌面的檔案隱藏,可以用下面的指令隱藏 $ defaults write com.apple.finder CreateDesktop false$ killall Finder 下列指令可還原 defaults write com.apple.finder CreateDesktop true$ killall Finder
$ sudo installer -pkg /Volumes/XXXXX/XXXXX.pkg -target /
$ (./XXXXXXXXX 2> error.log > output.log &)
有時候會遇到無法逮開 dmg 檔案問題,出現 xxx.dmg can’t be opened because Apple cannot check it for malicious software. 然後,在系統偏好內也無法解除。只好用下面指令掛載: $ hdiutil attach TurboVNC-2.2.3.dmg
# yum install -y libappindicator-gtk3 libdbusmenu-gtk3 liberation-fonts liberation-narrow-fonts libindicator-gtk3 redhat-lsb-core# rpm -ivh https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm or # yum install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
重開 bmc : 設定動態取得 ip : 設定 ipmi 網路 : 取得產品序號 : 如果只要看某特定產品,在 print 後面加入產品 id 例如 0, 1, 10 …ete : …
How to Configure apt-get behind proxy server for Ubuntu $ sudo vi /etc/apt/apt.confAcquire::http::Proxy “http://xx.xx.xx.xx:3128”;
可以先用下列指令看是否有同步 # timedatectl 假設沒和 ntp server 同步可以用下列指令使其同步 # timedatectl set-ntp yes 如果發現時區設錯可以用下列指令更改 # timedatectl set-timezone Asia/Taipei 如果不要和 ntp server 同步,想要手動校正時間,請參考下面指令 # timedatectl …
# pip install “tables<=3.2.3.1” or # pip install –upgrade “tables==3.5.2”
用下列指令就可以按照檔案順序轉 pdf 格式 $ convert `ls -1 *.jpg` file.pdf or $ i=300; convert `ls -1 *.jpg` -compress jpeg -quality 100 \ -density …