Welcome to the Linux Foundation Forum!

Linux basics


some linux basics

Basic terminal commands:


commands a-z:


Piping commands:


a bunch of helpful sed one liners



the grep command



chmod (detailed) changing permissions:


chown (detailed) changing ownerships:


bash basics: http://linuxbasics.org/tutorials/advanced/realworld/start

(there's alot of redundancy here, but this stuff is everwhere :P)

uncompress a .zip file | unzip -d file.zip

uncompress a .tar file | tar vxf file.tar

uncompress a .gz file | gunzip -d file.gz

uncompress a .bz2 file | bunzip2 -d file.bz2

uncompress a .tar.gz file | tar xzvf file.tar.gz

uncompress a .tar.bz2 file | tar xvjf file.tar.bz2

ok, so you just downloaded your 'source.file.compressionformat'

extracted it, now you need to compile it.. (if it calls for being compiled)

cd extractedfilesdir

ls -f, look for documentation like a README or INSTALL or README_FIRST, something to that effect..

and example type: cat README | more

..and read thoroughly, this will give you detailed instructions.

to configure a source

start off with: ./configure --help | more

this will give you the option to enable disable change installation paths so on so forth

so your basic configure would be:


./configure --with-feature=enable --prefix=/usr/local/mysource

then if all goes well:


su -

make install

if all goes well

the source will compile and be installed in /usr/local/mysource

sometimes files are downloaded as 'bin' files

or 'sh'

(be careful with these and make sure the source from which you are obtaining them from is safe )

once downloaded ;

chmod +x filename.bin or filename.sh

(this makes the file executable)

then type ./filename.bin or ./filename.sh

(as before there's many different types, these are just the most basic)

This isn't anywhere near what linux is capable of, but you've got to learn to crawl before you walk

..My objective here is to motivate people to learn and use the console

..The most powerful user-interface in linux. It don't have to be pretty to be STRONG! :)


  • amnesia
    amnesia Posts: 60
    If you guys have any questions in general pertaining to the nature of this post -- By all means, you can ask me personally via a message or post a question in this thread


Upcoming Training