GNU/Linux

Well, this feels weird!

Posted by on 2010/12/21 at 12:30 pm

Well, this feels weird!

FacebookGoogle BookmarksTwitterFriendFeedGoogle GmailBlogger PostGoogle ReaderHotmailWordPressShare

ps magic

Posted by on 2010/11/12 at 9:12 pm

Find Out The Top 10 Memory Consuming Process # ps -auxf | sort -nr -k 4 | head -10 Find Out top 10 CPU Consuming Process # ps -auxf | sort -nr -k 3 | head -10

FacebookGoogle BookmarksTwitterFriendFeedGoogle GmailBlogger PostGoogle ReaderHotmailWordPressShare

Debian: Change keyboard layout

Posted by on 2010/11/12 at 1:11 am

Since I always forget it: setxkbmap “us,el” -variant “,extended” -option “grp:alt_shift_toggle” This will change the english and greek layout in any linux distribution by pressing alt and shift. eof

FacebookGoogle BookmarksTwitterFriendFeedGoogle GmailBlogger PostGoogle ReaderHotmailWordPressShare

playing with grep, svn status and xargs

Posted by on 2010/10/28 at 4:39 pm

svn status | grep ‘?’ | grep -v ‘.class’ | xargs svn add and this is why I love linux. (or unix since I’m currently developing on a macbook pro)

FacebookGoogle BookmarksTwitterFriendFeedGoogle GmailBlogger PostGoogle ReaderHotmailWordPressShare

Vim Code format and syntax highlight

Posted by on 2010/09/15 at 1:29 pm

I’m mostly working on remove servers using console text editors. My favorite is vim and I love the syntax highlighting feature. (Quick tip: vim /etc/vim/vimrc add the following lines: if has(“syntax”) syntax on endif ) One other usefull feature I adore is the code formatter feature: Just type [esc] =G and vim will format the [...]

FacebookGoogle BookmarksTwitterFriendFeedGoogle GmailBlogger PostGoogle ReaderHotmailWordPressShare