LINUX:
Check disk utility
$df -l
RAR:http://note.drx.tw/2008/04/command.html
Package:
$tar cvf FileName.tar DirName
Extract:
$tar xvf FileName.tar
Without GUI, without FTP, we can still use SCP to transfer file
(met this problem when using UCR bolt server and , we can't setup anything without root authority)
http://itman.pixnet.net/blog/post/26644715-ssh---%E4%BD%BF%E7%94%A8-scp-%E6%8C%87%E4%BB%A4
$scp /home/chenyang/m5_out.tar cyu059@bolt.cs.ucr.edu:/home/cyu059/m5_out.tar
MAC:
Force format hardisk:
$diskutil list
$sudo diskutil eraseDisk FAT32 CAM_STORE MBRFormat /dev/disk2
Home-brew
https://mac-osx-for-newbie-book.kejyun.com/software/SoftwareManageHomebrew.html
Enter hidden folder
Mac下/usr/local目录默认是对于Finder是隐藏,如果需要到/usr/local下去,打开Finder,
然后使用command+shift+G,在弹出的目录中填写/usr/local就可以了。
訂閱:
張貼留言 (Atom)
-
(1) Vector Common method: vector<int> v; vector v(10, 0); // {0,0,0,0,0,0,0,0,0,0} v[i] // acc...
-
Q: For a given size = n array, how to choose k element fairly? A: This is a rather easy question if n is small. What if the size is unkn...
-
給定一個數列,要輸出隨機排列的序列: 方法1. c++提供 next_permutation() http://www.cplusplus.com/reference/algorithm/next_permutation/ 結果: ...
沒有留言:
張貼留言