記錄一下怎麼在 Terminal 下,利用指令查出系統的部份資訊。


查看 Ubuntu 的版本:
lsb_release -a

Ching-Wei 發表在 痞客邦 留言(0) 人氣()

如果在家有養小動物的習慣的話,
就要注意一下,不要讓你的小動物把家裡的頻寬都吃光光了~~
這時候就可以利用 wondershaper 或 trickle 來限制網路頻寬。

Ching-Wei 發表在 痞客邦 留言(0) 人氣()



一個簡單測一下你顯示卡跑 3D 效能的小東西。
Usage:
  -display   set the display to run on
  -stereo                 run in stereo mode
  -fullscreen             run in fullscreen mode
  -info                   display OpenGL renderer info
  -geometry WxH+X+Y       window geometry

Ching-Wei 發表在 痞客邦 留言(0) 人氣()



從我寫了: 【軟體】JMeter - 壓力測試 - 簡單版 ,已經過了快一年了。天呀~~
時間過的真快。今天終於又跨出一步,寫了 進階版。

Ching-Wei 發表在 痞客邦 留言(0) 人氣()



Sort 指令,可以在 Shell 下,簡單的對資料作排序。
列如
df | sort -n -r -k 5

Ching-Wei 發表在 痞客邦 留言(0) 人氣()



Rainlendar 一款相當好用的桌面行事曆。
之前我也有寫一篇文章來介紹: 【軟體】Windows : Rainlendar - 桌面行事曆
但現在我已改用 Ubuntu 了,結果今天發現 Rainlendar 居然也有 Ubuntu 版本耶。

Ching-Wei 發表在 痞客邦 留言(0) 人氣()



Sysinfo,可以看到你系統的資訊。
還挺方便的。
安裝方式 sudo apt-get install sysinfo

Ching-Wei 發表在 痞客邦 留言(0) 人氣()

# 一定要使用 root 身分才可以執行 Sync
if [ "$(id -u)" != "0" ]; then
   echo "** Error : You must run the script as root." 1>&2
   exit 1
fi


Ching-Wei 發表在 痞客邦 留言(0) 人氣()

今天在改寫之前的 Sync 程式時,需要用到 substr 的功能來截取部份字串。
因為是寫 Shell Script,都不太會,弄了好久,總算是弄好了。
str='1234567890'
取得字串長度:

Ching-Wei 發表在 痞客邦 留言(0) 人氣()



之前遇到影片沒辦法看時,都亂裝一通,雖然最後都可以看影片跟聽歌了,
但下次要在另一台電腦上再灌,又要再亂裝一次,
這次就把該裝的都記錄下來。最下面有總結~~懶的看就直接看最下面吧~

Ching-Wei 發表在 痞客邦 留言(0) 人氣()



剛把我的一顆硬碟 ( NTFS ) 接到 Ubuntu 桌機上。
然後要 mount  的時候,出現了下面的訊息:

Ching-Wei 發表在 痞客邦 留言(0) 人氣()



最近將家裡的電腦也都灌成了 Ubuntu,結果在安裝 ksnapshot 時。
他出現了下面的錯誤訊息:
root@chingwei-desktop:~# apt-get install ksnapshot
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  ksnapshot: Depends: kdebase-runtime (>= 4:4.2.1) but it is not going to be installed
             Depends: kdelibs5 (>= 4:4.2.1) but it is not going to be installed
             Depends: libqt4-dbus (>= 4.5.0~+rc1) but it is not going to be installed
             Depends: libqt4-svg (>= 4.5.0~+rc1) but it is not going to be installed
             Depends: libqt4-xml (>= 4.5.0~+rc1) but it is not going to be installed
E: Broken packages
root@chingwei-desktop:~#

Ching-Wei 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。