COMMAND:: Watch something to happen :: Find all handle of App :: Find files opened by App :: Find which App is using specified socket port 8080 :: Monitor file changes :: Grep except something :: Monitor CPU balance :: Monitor system performance :: Using python to start a HTTP Server to share files :: call command with ! followed by first letter of recent cmd :: pushd and popd to navigation in dir :: - console:: Ctrl + u Erase the current line. Ctrl + k Delete the line from the position of the cursor to the end of the line. Ctrl + w Delete the word before the cursor. Ctrl + r incremental search previously called commands, continue type Ctrl+ r to search next Ctrl + a Move to line beginning Ctrl + e Move to line end Ctrl + d Delete char under cursor Ctrl + _ Undo ESC b Move backward one word ESC f Move forward one word ESC d Delete word right ESC backspace Delete word left let mysql log the queries:: mysql -uroot -pYOUR-PASSWORD -e "SET GLOBAL log_output = 'FILE'; Set GLOBAL general_log_file = '/tmp/mysql.log'; SET GLOBAL general_log = 'ON';" mac os:: - To move files in Finder first press Command+C to copy the selected files, then press Command+Option+V to move the copied files to the current folder. - ctrl+F2 to focus on menu bar - command+shift+/ activate Help and search menu items with name - pbcopy - pbpaste - Quicksilver open directory in iTerm - cmd+D split iTerm window
-->
No comments:
Post a Comment