Linuxask - linuxask.com - Linux Ask!

Latest News:

How to push all local git branches to remote 19 Aug 2013 | 10:19 pm

How to push all local git branches to remote Answer: Just remember one command: # git push --all origin Related posts: How to push to origin but a different branch using Git Updating a local bra...

How to disable services auto startup if they are installed using home brew 13 Aug 2013 | 08:52 pm

How to disable services auto startup if they are installed using home brew Answer: For services installed using home brew, usually they will tell you how to turn on/off auto start when you use the c...

How to view the keepalived multicast traffic used for master negotiation 7 Aug 2013 | 08:46 pm

How to view the keepalived multicast traffic used for master negotiation Answer: keepalived will advertise their priority frequently in order to provide the fail over capabilities, to view the messa...

How to show all listening ports in Mac OSX 2 Aug 2013 | 08:44 pm

How to show all listening ports in Mac OSX Answer: To show all the listening ports in Mac OSX, try # lsof -iTCP -sTCP:LISTEN Related posts: Find out which programs are listening TCP port Kill al...

How to install redis on Mac OSX using home brew 31 Jul 2013 | 08:52 pm

How to install redis in Mac OSX using home brew Answer: To install redis on Mac OSX using homebrew, use # brew install redis Related posts: Install Redis server in Ubuntu Install bash completion...

How to sum a particular column of a CSV file with awk 29 Jul 2013 | 02:16 pm

How to sum a particular column of a CSV file with awk Answer: Assume you have a CSV file like the following (only contain number) How do you sum the nth column of this file? It is easy with the use...

File content redirection without using cat 25 Jul 2013 | 02:11 pm

File content redirection without using cat Answer: It is not uncommon that people have abused the command `cat` for many purpose, e.g. file I/O redirection You can avoid the cat command by the foll...

How to check how many established connection of my web server? 18 Jul 2013 | 09:16 am

How to check how many established connection of my web server? Answer: Assume you server is listening on port 80, you can check how many established connection to this port with the following comman...

Rewriting last Git commit 11 Jul 2013 | 10:46 am

Rewriting last Git commit Answer: Sometimes, when you regret your last commit and before it is pushed to remote, it is easy with the following commands: Related posts: How to merge a specific file...

How to trace DNS from the root servers 16 Jun 2013 | 08:54 am

How to trace DNS from the root servers Answer: Use the command `dig`, e.g. dig +trace mit.edu ;; global options: +cmd . 19927 IN NS d.root-servers.net. . 19927 IN NS e.root-servers.net. . 19927 IN NS ...

Recently parsed news:

Recent searches: