Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24
ssh – unethost無限空間虛擬主機 技術分享部落格

登入linux shell的登入及使用軟體介紹

linux_shell_login_wp

我們在之前介紹過部份linux shell的指令或error fix:
像是: 如何操作 linux grep 指令,搜索內文或是匯出。
[教學]如何快速解決在linux shell下,執行rm會出現Argument list too long的問題
如何在centos上安裝 vim 及 nano 編輯器?

今天來介紹,登入linux shell的方式及軟體

閱讀全文 登入linux shell的登入及使用軟體介紹

已經上傳的檔案,但是透過 filezilla連進ftp,竟無法顯示檔案?

剛剛有客戶跟我們反應,他們透過程式上傳的圖檔,可以正常在網頁上瀏覽,但是使用filezilla 連進ftp後,竟無法顯示部份圖檔;改用cpaenl的檔案總管功能,又可以正常看到檔案,不知為何發生這樣的狀況呢?

閱讀全文 已經上傳的檔案,但是透過 filezilla連進ftp,竟無法顯示檔案?

如何快速調查檔案及資料夾所使用的容量

這篇教學,其實是我們針對unethost.com虛擬主機用戶所提供的,unethost.com的虛擬主機有搭配使用cpanel控制台,並有檔案總管的功能可使用,但唯一缺乏的指令,就是查看每個資料夾所使用的容量,以做空間容量的調節使用。

請參考我們下列說明:

閱讀全文 如何快速調查檔案及資料夾所使用的容量

如何透過shell script來做domain name的篩選

如果從cpanel WHM抓出所有主機的域名(domain name)時,往往會發現,子域名(sub domain) 和頂層域名(top level domain) 是混雜的。

這時候,可以用基本的sed來做篩選。做法如下:
在一個文字檔 list 裡放所有的域名,例如:

aa.bb.com
cc.net
1123.org
1aa.bbcd.com

下指令:
cat list | sed -e “/[^\.]*\.[^\.]*\.[^\.]*/d” | sort

即可抓出所有想要的top level domain。( 這個指令的功能就是把所有的sub domain刪去而已。)