Soulin's Cloud Note
Please feedback if any question or issue
2050年4月23日 星期六
2021年9月6日 星期一
How to get IP by command? (Linux)
How to get IP by command? (Linux)
Ubuntu:
ip addr show | grep -o 'inet [0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+' | grep -o [0-9].*
Centos:
ifconfig | grep -o 'inet [0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+' | grep -o [0-9].*
2021年2月1日 星期一
env: bash\r: No such file or directory
env: bash\r: No such file or directory
When you execute script file, you got error "env: bash\r: No such file or directory"
Fix it by follow command
#sed $'s/\r$//' ./install.sh > ./install.new.sh
#./install.new.sh
2020年8月3日 星期一
How to make Ubuntu support "exFAT" file system
How to make Ubuntu support "exFAT" file system
When meet "mount:unknown filesystem sype 'exfat'"
$sudo apt-get install exfat-utils exfat-fuse
2020年6月17日 星期三
How to check CPU&memory loading under centos
How to check CPU&memory loading under centos
#yum install epel-release
#yum install htop
#yum install epel-release
#yum install htop
2020年6月12日 星期五
How to mount a windows/samba windows share under Linux
How to mount a windows/samba windows share under Linux
You have windows to open share folder, and you want your linux client can access this folder.
From linux client
#mount -t cifs -o "username=XXX,password=XXX" //[windows_IP]/[Windows_folder] /mnt
You have windows to open share folder, and you want your linux client can access this folder.
From linux client
#mount -t cifs -o "username=XXX,password=XXX" //[windows_IP]/[Windows_folder] /mnt
2020年6月8日 星期一
How to get CPU current avarage frequency
How to get CPU current avarage frequency
#turbostat -s Bzy_MHz -num 1 -i 1 | sed '2!d'
#turbostat -s Bzy_MHz -num 1 -i 1 | sed '2!d'
訂閱:
文章 (Atom)
-
[Office] 自從您上次存檔後檔案 (filename.xls) 可能已由另一位使用者變更 當您嘗試將 Microsoft Excel 活頁簿儲存到網路伺服器時,如果該伺服器正在執行例如 Services for Macintosh 的中繼服務,或是在開啟活頁簿時出現...
-
Use AMISCE tool to update BIOS configuration under linux Test fucntion without change dump file 1.Copy SCELNX_64 to Linux_Flash folder 2...
-
I would like to thank you for all your support during the past years and hope that you will continue to extend the same to my replacement, ...