Linux Blog

GNU find – A Multidimensional Tool

Filed under: Linux Software — TheLinuxBlog.com at 6:30 am on Tuesday, November 30, 2010

This is a guest post by Usama Hashimi. Usama is currently a student of MPhil in Economics and enjoys Learning about Linux, Surfing the Internet, watching movies and Listening to Music.

Beginners are mostly afraid of the command prompt. Whenever they see one, they immediately say “it’s very difficult”. But it’s not true. The command prompt is just as friendly as GUI, provided you use it with proper procedure.
Most people use GUI tools to search for their lost files. They don’t even know that they can use command line tools to search their files. GNU ‘find’ is such like a tool which can not only search files but can even copy, move or delete these files on the fly.
So let’s see that how ‘find’ works.
(Read on …)

Linux Server Monitoring

Filed under: General Linux,Linux Software — TheLinuxBlog.com at 7:30 am on Wednesday, November 24, 2010

Linux Server MonitoringThere is a bunch of Linux Server Monitoring software available. The problem is sifting through it all. The first thing to do is identify what it is you want to monitor then you can find what software will work best for your needs. As far as system monitoring goes there is old school and new school. Any combination of tools could be used and there are also a number of ways you can home brew some monitoring solutions. Click for the large version of the Linux Server Monitoring Image. (Read on …)

C++ preprocessor “/lib/cpp” fails sanity check

Filed under: Shell Script Sundays — TheLinuxBlog.com at 8:59 am on Sunday, November 21, 2010

c-preprocessor-libcpp-fails-sanity-check

Not exactly a shell script, but might be handy.

C++ preprocessor "/lib/cpp" fails sanity check

In my case I had forgot to install g++. Now I feel like a complete idiot, not the first time though.

Linux History Command

Filed under: General Linux,Linux Software — TheLinuxBlog.com at 5:00 am on Wednesday, November 17, 2010

linux find command

History is great. How does the saying go?

“Those who forget about history are doomed to repeat it?”

If that’s the saying I think it is more fitting to say that for those who forget the Linux History Command are doomed to repeat typing. A lot. Seriously, the history command can help you remember the exact Linux find command with the intricate search options you typed a while ago. It could help you open up your x2x or x2vnc sessions after a reboot. Who knows what you’ll use it for. All this comes at a little cost, you’ll have to know how to use it.

(Read on …)

Linux Tunneling Techniques

Filed under: Linux Software — TheLinuxBlog.com at 4:59 am on Wednesday, November 10, 2010


Video completely unrelated.
Ever tunneled or used tunneling for mobile Internet? Perhaps you have needed to otherwise tunnel to bypass a restrictive firewall or for a secure channel on an insecure wireless network. It seems that everyone knows how to tunnel using the ssh socks support and how to use Firefox’s about:config screen to set it to use a socks and remote DNS. While this is great for occasional web browsing it only takes you so far.

tsocks is a great application to let you tunnel other programs over socks. Its easy to install on most distributions and allows you to use many command line applications. I’ve used it on a number of occasions successfully and while it does its job its not the the best solution. This is because it was last updated in 2002 and doesn’t perform DNS lookups. I found myself using it to SSH to an IP address (memorized, or looked up through another SSH session) and using applications on the remote server.

proxychains is a bit of a better tunneling solution, it works the similarly to tsocks but It also resolves DNS and can chain multiple proxies. I’ve used it on numerous occasions with great success. ssh, lynx, lftp, irssi and a whole bunch of others work without any problems. Another plus is it has also been updated in the last 5 years (but not by much.)

One application I haven’t yet had the pleasure of trying on the desktop is 3proxy. I have used it on the iPhone but ended up using the ssh socks method more often. From its yum description and feature list, it sounds very promising and one definitely worth looking into.

Speaking from experience I know its kind of difficult to browse your distributions web repositories to find the files you need and install them (I had to do this since I didn’t have them) so I recommend you download these applications and save yourself some time before you need them on the road.

Linux find command

Filed under: Shell Script Sundays — TheLinuxBlog.com at 6:30 am on Sunday, November 7, 2010

linux find command

For those a little scared of the terminal using the Linux find command may seem a little daunting. To be honest though the find command really isn’t that hard to get the hang of. By effectively learning and using the Linux find command you’ll open up a whole new can of searching capabilities. You’ll increase your capabilities, boost productivity, and be more likely to find what your looking for. Alright, enough of the pep talk already and lets get to the core that is the powerful Linux find command.

(Read on …)

Fedora Menu Bug

Filed under: Linux Video Tutorials — TheLinuxBlog.com at 10:24 am on Friday, November 5, 2010

Here is a video of a little bug in Gnome that I stumbled across. I’m fairly sure it is something to do with my vertical resolution since it is kind of low. I’m wondering if it will still be an issue after the next update.

Geeky Songs

Filed under: General Linux — TheLinuxBlog.com at 5:30 am on Wednesday, November 3, 2010

Geeky Songs

How about a few geeky songs to liven up the dull workday? These are all pretty old as far as the internet goes, but they’re all goodies that can be fun to listen to every once in a while and I promise there will be none of Stallman’s doings after the jump.

(Read on …)