Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

The survival guide!


The survival guide!

By ghostghost | 8690 Reads |
0     0

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:

1.cd <directory> Change directory to <directory> Note: ../ is to go back a directory.

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

  2. ls List the stuff in this directory.

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

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

  5. 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.

  6. ./<file> Excecute <file>.

  7. 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.

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

  9. 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.

Wolf.

Comments
Nubzzz's avatar
Nubzzz 18 years ago

great article

ghost's avatar
ghost 18 years ago

<b>Uhu agreeā€¦</b>

ghost's avatar
ghost 17 years ago

Thanx for those :D Helped a lot with basic 6 ^_^

ghost's avatar
ghost 17 years ago

in needed it for that,am i supposed to put the <file> in it?

ghost's avatar
ghost 16 years ago

like ./configure excecute sthe configure

ghost's avatar
ghost 16 years ago

Great for people that are new to linux such as myself. :)

ghost's avatar
ghost 16 years ago

good if u just recently downloaded a linux system, if u haven't i suggest u do

ghost's avatar
ghost 16 years ago

good if u just recently downloaded a linux system, if u haven't i suggest u do