Donate to us!
Capitalism is an Island of wealth in a sea of poverty
Monday, May 21, 2018
 Need Help?
Members Online
Total Online: 91
Guests Online: 89
Members Online: 2

Registered Members: 105240
Newest Member: dastageerone
Latest Articles

The survival guide!

Arrow Image There are masses of commands, but only 10 you will need everyday!

There are masses of commands ofcourse, but only 10 I find I use everyday so I made a basic survival guide :)

So here they are!

The 10 command(ment)s: <directory>
Change directory to <directory> Note: ../ is to go back a directory.

2. chmod a+x <file>
Change permission of file to all + excecute.

3. ls
List the stuff in this directory.

4. rm <file>
Delete <file>. Note: You may need command 2.

5. top
shows top processes, use kill -9 [PID]
to kill process in top if oyu type k it writes kill

6. vi <file>
Edit file in vi text editor Note: Type ":qa!" without the quotes and press enter to quit WITHOUT saving.
EDIT: nano is better :)
CAT to just read a file.

7. ./<file>
Excecute <file>.

8. mv <file> <newfilename>
Rename <file> to <newfilename>. Note: If the new file name has a directory in it as in "../Desktop/file.txt" will move the file back one directory into desktop and name it file.txt.

9. su
Become root. Note: sudo <command> is a command to do a function as root. (Thanks Haykuro.)

10. shutdown now
Shutdown the computer... NOW!

Also, because I often do not know what linux versions and stuffs I am using means I resort to downloading the source code then compiling and intalling it myself. Linux has two built in compilers.

[11.] cc <file>
Compile c source code. Note: gcc <file> is another compiler.

INSTALL:- tar zxvf file.tar.gz & cd programname&./configure & make &make install &make clean

NB:tar jxvf for tar.bz2

This list is no-where near a full one, just a few commands you might be stuck for on your firs time using linux. And also, if I forget one I know where to look now.



Nubzzzon January 23 2006 - 23:24:43
great article
Kalkranon January 25 2006 - 19:11:44
<b>Uhu agree...</b>
BluMooseon May 21 2006 - 20:49:39
Thanx for those Grin Helped a lot with basic 6 ^_^
champlooon June 05 2006 - 04:58:02
in needed it for that,am i supposed to put the <file> in it?
wolfmankurdon May 07 2007 - 18:22:53
like ./configure excecute sthe configure
Damnationon June 08 2007 - 18:39:52
Great for people that are new to linux such as myself. Smile
omniwrath540on June 12 2007 - 04:53:12
good if u just recently downloaded a linux system, if u haven't i suggest u do
omniwrath540on June 12 2007 - 04:53:39
good if u just recently downloaded a linux system, if u haven't i suggest u do
Post Comment


You must have completed the challenge Basic 1 and have 100 points or more, to be able to post.