随笔分类 -  Unix

任何Unix平台指令相關
摘要:dos2unix 解決多於換行符號 阅读全文
posted @ 2019-11-27 09:29 Vincent Lee 阅读(111) 评论(0) 推荐(0)
摘要:預設是無法顯示中文的,需要修改連線的 Terminal Setting 阅读全文
posted @ 2018-01-17 14:15 Vincent Lee 阅读(593) 评论(0) 推荐(0)
摘要:1. 背景: 由於 Linux 中預設最高權限的使用者一律為 root, 存在安全性的疑慮。 所以比較安全的作法要將 root 帳號改名為其他名稱,讓要入侵的人需要同時破解出帳號和密碼才可以進入主機,提高安全性。 - 2. 作法: ( 轉載 ) http://www.tsingpost.com/ar 阅读全文
posted @ 2017-07-05 13:18 Vincent Lee 阅读(369) 评论(0) 推荐(0)
摘要:1. 【Linux】釋放記憶體指令(cache) http://jeffreyy.pixnet.net/blog/post/84333764-%E3%80%90linux%E3%80%91%E9%87%8B%E6%94%BE%E8%A8%98%E6%86%B6%E9%AB%94%E6%8C%87%E 阅读全文
posted @ 2017-03-07 10:22 Vincent Lee 阅读(291) 评论(0) 推荐(0)
摘要:chmod 777 *.sh 阅读全文
posted @ 2013-05-28 17:32 Vincent Lee 阅读(355) 评论(0) 推荐(0)
摘要:1. Linux 版號 cat /proc/version 2. CentOS version cat /etc/*release cat /etc/redhat-release cat /etc/redhat-release 3. uname -a ( 2017/05/10 更新 ) [vl97@ 阅读全文
posted @ 2013-02-20 09:56 Vincent Lee 阅读(296) 评论(0) 推荐(0)
摘要:安裝Ant 於 UNIX 阅读全文
posted @ 2013-01-09 15:55 Vincent Lee 阅读(131) 评论(0) 推荐(0)
摘要:3個非常有用的指令1. whereis 找到程式安裝的目錄語法如下:whereis <關鍵字>例如:whereis java執行結果範例如下:[vl77@STIMCAS01 dse-2.1]$ whereis javajava: /usr/bin/java2. updatedbhttp://linux.vbird.org/linux_basic/0220filemanager.php#locate手動更新locate 資料庫3. locate語法如下:locate <關鍵字>例如:locate Cassandra執行結果範例如下:[vl77@STIMCAS01 dse- 阅读全文
posted @ 2013-01-08 17:12 Vincent Lee 阅读(333) 评论(0) 推荐(0)