a non-geek's blog

Random notes on linux and web development

Posts Tagged ‘command line

Funniest Linux shell commands

with 8 comments

When I found these funniest Linux/Unix shell commands, I just had to share them. Here are my favourites:

% sleep with me
bad character
% If I had a ( for every $ the Congress spent, what would I have?
Too many ('s.
% ^How did the sex change operation go?^
Modifier failed.
% !:say, what is saccharine?
Bad substitute.

What’s your favourite?

Bookmark and Share

Written by nongeekboy

August 29, 2008 at 6:49 am

Posted in fun

Tagged with , , ,

Four things you didn’t know about the “who” command

leave a comment »

Who is a very used command, and, as most of us know,  is a command to find out who’s working on your system.). But the who command can do much more then showing who is logged on. On his blog, Mike presents 4 options to use with who that “make it a great troubleshooting and statistics gathering command”.  These options are:

 

who –r  : Prints the current runlevel

who –b :  Prints the system boot time

who –t  : Prints out the last time the System Clock was changed

who –d : Prints out a list of all the dead processes on your system

 

Read the full article …

Bookmark and Share

Written by nongeekboy

May 27, 2008 at 7:07 am

How to easily install an application in Linux

leave a comment »

Many new linux users are very confused on how to actually install programs in Linux Distribution. It is true that installing new software in MS Windows is very easy. But in Linux is not only easy but very convenient. Why? In this post you will find the answer.
Let’s say that we need a photo managing software. In Windows we would search on internet after a suitable software and after finding one, we would download the package and install it. Now we will do the same thing in Linux. Let’s say that our linux distro is Ubuntu.

1.Will go to Applications -> Add/Remove and click on it:

Add/Remove Menu
2.In the Search box we will write what we are looking for, a “photo managing” application. Hit the Enter key.

Searchbox
3.Under the search box we have the applications which match our filter criteria. There is also a short description of each one of it.
4.Let’s say we would like to try F-Spot Photo Manager. Will check the corresponding box.Click on the “Apply Changes” button.

Selecting the application and starting the installation
5. We are ask to check our options. We want to install F-Spot so click the “Apply” button.

Confirm the installation
6.Linux is a very secured OS so, in order to install a application, the user password is required. Enter it and click the “OK” button.

Paswword request
7.We are anounced that the application has been installed. We don’t want to install anything else (yet) so we close the application

Close the application


This is not the only way to install a program in linux. Depending on the linux distribution you have, you could use another package manager (like yum, synaptic, etc.). Or you could use the faster method: the command line. If you know the name of the application you want to install, simply write:

nongeek@mma:~$ sudo apt-get install application_name

or (in fedora):

nongeek@mma:~# yum install application_name

That’s all. Easy, isn’t it?
Let’s list the benefits:
1.We didn’t search all over the internet. We have the most stable applications gathered in one place (called repository).
2.We installed the application with only one click (and a password).
3.We are not afraid of any malware.
I also recommend for reading what is (in my opinion) the best guide about installing applications in linux on the net: How to install ANYTHING in Ubuntu!

Bookmark and Share

Written by nongeekboy

May 2, 2008 at 2:01 pm

Follow

Get every new post delivered to your Inbox.

Join 201 other followers