วันอังคารที่ 30 เมษายน พ.ศ. 2556

Ubuntu Operations

- at Folder view, Ctrl-h to toggle showing hidden files (files started with ".")
- at Folder view, Ctrl-l to show folder path (Esc to turn off)
- Ctrl+Alt+cursor keys to switch between desktops
- to view command history, e.g. last 50 commands, type
history 50
- to view command history under sudo, type
grep sudo /var/log/auth.log
- to check if currently use Unity2D or Unity3D, type
ps -A | grep metacity
if found, then Unity2D,

- to sync folder content
rsync -azriv --dry-run /src/folder/ /dest/folder/
   -a archive mode; equals -rlptgoD (no -H,-A,-X)
   -z compress file data during the transfer
   -r recurse into directories
   -i output a change-summary for all updates
   -v increase verbosity
   --delete delete extraneous files from destination dirs
   --dry-run perform a trial run with no changes made

ไม่มีความคิดเห็น:

แสดงความคิดเห็น