We explain every GNU/Linux command by examples in this blog!

The title doesn’t sound interesting if you have no idea what is curl. Why we need to use curl to access ftp server, if we can access ftp with tools like ftp in console or gFTP? Well gFTP is a very handy ftp client with gtk front end, as I use it daily to maintain [...]

Recently I was having fun with libcurl, discovered that with curl command I capable of doing HTTP POST with specified User-agent string. For those who have no idea what is curl, curl is a powerful client tool for accessing servers through FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE and LDAP, please find [...]

What is my public IP address? There is a lots of website can provide you the information. What if I wanna grep it for my script? We can use curl and grep for this purpose. First, lets pick few websites that provide the service to reveal my public IP. http://www.ipchicken.com/ – the chicken looks so [...]

To strip flv from youtube links, you have to complete two steps. Firstly extract the encrypted string from a youtube link, next append to get_video.php and download through wget. The youtube links, that people distribute around will looks something like below http://www.youtube.com/watch?v=B6fnR–IDKc Step one, download it and extract the encrypted strings using grep. wget -O [...]

In usual editing, to open a file with vim, we run the command: vim /path/to/file It is also possible to browse a directory using vim: vim /path/to/directory/ When we are inside vim, to save a file, we use the :write command, :read to read an existing file into current buffer; or using :tabnew /path/to/file to [...]

This is what I learn from geek00l today. Tcpdump is a really great tool for network security analyst, you can dump packets that flows within your networks into file for further analysis. With some filters you can capture only the interested packets, which it reduce the size of saved dump and further reduce loading and [...]

To create a tunnel connecting to microsoft VPN server is not a difficult. With the help of pptpconfig GUI, let see how to do it. Installation First of all, you need to make sure whether pptpconfig was installed. Check out ubuntu geek for pptpconfig installation guide for ubuntu linux. You can have more details info [...]

ps is a very useful tool to list all current running processes with various info such as CPU usage, memory usage, process status, process id etc. watch is another good tool to continuously execute some programs in infinite loop. watch allows you to make use of commands such as ps, netstat, lsof into monitoring purpose. [...]

Recently I just discover how to perform ssh reverse tunneling, which is so amazing! I though I know enough about ssh, but ssh is capable of doing more than just connect to a remote server. You can find simple examples of accessing remote server through ssh here. What is the usage for reverse tunneling? Let [...]

Hustle! To setup an Ad Hoc wireless connection between windows and Linux, it spend me half an hour of trying just because desperately wanna get Internet access. I decided to write down because the steps are confusing. Bare in mind the steps shown bellow just work on the case that I gonna illustrate later and [...]