7.09.2014

Linux Fun commands

Try this fun commands on your terminal.
 

1.Cowsay

Fancy a talking cow that will speak out anything you want it to? Here's how you can do that:

$ sudo apt-get install cowsay

$ cowsay "Hi, How are you" 

2.Cowthink

Fancy a thinking cow that can do more than just talking? Here's how you can do that:

$ cowthink "Hmm, I didn't know that"

3.Steam Locomotive

Fancy a steam locomotive running across your terminal? Here's how you can do that:

$ sudo apt-get install sl

4.fortune

Fancy a sensible quote, or your fortune for the day on your terminal? Here's how you can do that:

$ fortune -s

5.The MATRIX

Fancy the Neo style matrix on your terminal? Here's how you can do that:

$ sudo apt-get install cmatrix

6.Reverse text and files

If you're looking to print the reverse of whatever you type in, here's what you have to do:

$ rev

7.Moo

Fancy a cow that does a moo? Here's how you can do that:

$ apt-get moo

8.May the force be with you!

Fancy some Star Wars inside the terminal? Here's how you can do that:

$ telnet towel.blinkenlights.nl 

9.Cconvert images to ascii art

Hre's how you can do that:

$ sudo apt-get install aview

$ asciiview Tux.png -driver curses

10.Burn the console

If you're looking to put your terminal on fire, here's what you'll have to do:

$ aafire

10.01.2013

7.06.2013

Journaling


Journaling avoids the time-consuming check that is automatically performed on a filesystem when it is abruptly unmounted for instance, as a consequence of a system crash.

System Calls


             Operating systems offer processes running in User Mode a set of interfaces to interact with hardware devices such as the CPU, disks,and printers. Putting an extra layer between the application and the hardware has several advantages. First, it makes programming easier by freeing users from studying low-level programming characteristics of hardware devices. Second, it greatly increases system security, because the kernel can check the accuracy of the request at the interface level before attempting to satisfy it. Last but not least, these interfaces make programs more portable, because they can be compiled and executed correctly on every kernel that offers the same set of interfaces. Unix systems implement most interfaces between User Mode processes and hardware devices by means of system calls issued to the kernel.

5.31.2013

Network Commands



• ssh – SSH client (remote login program)                                    :

“ssh is a program for logging into a remote machine and for        
   executing commands on a remote machine”
Usage: ssh [options] [user]@hostname 
eg. ssh ­X guest@10.105.11.20        

                         
• scp – secure copy (remote file copy program) :
                          
“scp copies files between hosts on a network”
Usage: scp [options] [[user]@host1:file1] [[user]@host2:file2]
eg. scp file1.txt guest@10.105.11.20:~/Desktop/

What does Linux mean?


Linux is a free and open source Unix-like computer operating system originally developed for Intel x86-based personal computers by Linus Torvalds. The name Linux is used in many ways ie as a kernel, as an operating system as GNU/Linux (because so many of the Linux programs and commands come from the GNU project), the term Linux is also used for a Linux distribution. During the development Linux Torvalds stored the files to the FTP server (ftp.funet.fi) of Finnish University and Research Network (FUNET) under the name “Freax” ( a portmanteau of “freak”, “free”, and “x” for UniX). One of the administrators for the FTP server at the time, did not think that “Freax” was a good name. So, he renamed the project name to “Linux” (as a a portmanteau of Linus Torvalds and Unix) on the server.

7.06.2012

Basic UNIX Commands

init 0,1,2,3,4,5,6 - running modes of an Unix operating system (Solaris)
hostname - Get Hostname
date - Get date and time
cp - copy
ls - list contents in directory
cd - change directory
cd .. - back sirectory
cd \ - change to root directory
mv - move contents
history - show history of commands we used.
grep - to search pattern from a command output
date - to show date
wget <URL> - to download a particular entity from that web location.
gzip - to compress a file
tar - to zip a folder or combination of files
man <command> - to show detailed info of pages
find <location> -name <filename/pattern> - To search a file from that desired location.