Date Modified Category Linux Tags Linux / Bash / Shell

INTRODUCTION TO THE LINUX

Following chapter is nothing else then a wrapper for The Linux Information Project wrb site.

Also, we will skip linux vs unix step, for further details click here.


Linux (often pronounced LIH-nuhks with a short "i") is a Unix-like operating system that was designed to provide personal computer users a free or very low-cost operating system comparable to traditional and usually more expensive Unix systems. Linux has a reputation as a very efficient and fast-performing system. Linux's kernel (the central part of the operating system) was developed by Linus Torvalds at the University of Helsinki in Finland. To complete the operating system, Torvalds and other team members made use of system components developed by members of the Free Software Foundation for the GNU Project.

Keywords: Linus, Free Software Foundation, GNU GPL, operation system


From Anhad Jai Singh

You've probably heard the one about "With great power comes great >responsibility" ( If you haven't, you'll learn when you [su]do.)

[Seriously? ^ No one got this one? Oh come on! :P ]

It's about time you heard the other one:- "Great power requires great sacrifice"


FAQ

Why use/study linux? Solid reasons are given [here](Cleaner explanation can be found here. Addition/repetition to them you will need/benefit from linux during your master/life.

I have machine with windows XX, I am afraid to loose by OP/data Dual boot is not that complicated. Back up everything in case unexpected situations. Do you know google?

Important terminal commands

Following table includes some of the common shell commands. A longer list avaliable here.

Command Effect
ls, ls-a, ll sdfsdfs
pwd Show current directory
mkdir dirname
rm dirname
grep dirname
du dirname
tar dirname

<<<<<<< HEAD

Do it yourself

tar -cvf iso_64_k2.tar.gz *.nc
du -h --max-depth=1 | sort -h

Bonuses:

Wildcards: A wildcard is a character that can be used as a substitute for any of a class of characters in a search, thereby greatly increasing the flexibility and efficiency of searches. Pipeline: Aliases:

PAY ATTENTION

If an error has been made in creating the hierarchy of directories, it is easy to remove the entire hierarchy by using the rm command with its -r option. For example, the following would delete the entire 2006 directory tree, including any files in it:

rm -r 2006

rm -r is a very powerful -- and dangerous -- command, and thus it should be used with caution.

Pop-up Quiz: find a way using sheel commands in order to list size of directories under a given directory, which list is sorted biggest directory to smallest