Highly useful Linux commands & configurations

Discussion in 'all things UNIX' started by Mrkvonic, Feb 16, 2007.

Thread Status:
Not open for further replies.
  1. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,225
    Hello,

    Guys & gals, you will certainly love this!

    I have uploaded the article that explains, step-by-step, the most crucial commands and configurations a Linux user might encounter or need, including compilation from sources, installation of drivers, network and printer sharing and more.

    In detail:

    - Basic tips - avoiding classic mistakes.
    - Commands - an introduction to the command line.
    - Installation of software - including extraction of archives and compilation of sources.
    - Installation of drivers - including compilation, loading, configuration, and addition of drivers to the bootup chain, writing of scripts and addition to the bootup chain.
    - Mounting of drives - including NTFS and FAT32 filesystems and read/write permissions.
    - Installation of graphic card drivers - including troubleshooting of stubborn common problems.
    - Network sharing - how to access shared folders in Windows and Linux from one another.
    - Printer sharing - how to share printers in Windows and Linux from one another.
    - Some other useful commands.

    http://www.dedoimedo.com/computers/linux_commands.html

    Feedback is appreciated.

    Enjoy!

    Mrk
     
  2. rdsu

    rdsu Registered Member

    Joined:
    Jun 28, 2003
    Posts:
    4,537
    Thanks for sharing...

    One day, when I change to Linux, could be useful... ;)
     
  3. Meriadoc

    Meriadoc Registered Member

    Joined:
    Mar 28, 2006
    Posts:
    2,642
    Location:
    Cymru
    Some useful stuff here:thumb:
     
  4. NGRhodes

    NGRhodes Registered Member

    Joined:
    Jun 23, 2003
    Posts:
    2,381
    Location:
    West Yorkshire, UK
    Hi,

    Thats a neat guide, I have done most of the things (all drivers auto detected fine on my machine) in that guide recently when I installed Linux again.

    What might be worth mentioning in a short sentance/diagram is the tree structure of the file system, as I know a number of people who dont realise that its different to Windows at first.

    Also that Drives are called hda hdb etc and partitions are the numbers added t o the drive name, eg hda1 hda2 are the first and 2nd partitions on the drive.

    Also, is it worth mentioning about creating swap partitons ?

    On the installation of software, everyone should try the order 1 > 2 > 3 and if possible submit the updates back to the distro maintainers if possible if doing steps 2 or 3, so that the rest of the community will benifit.
     
  5. trickyricky

    trickyricky Registered Member

    Joined:
    Mar 27, 2005
    Posts:
    475
    Location:
    London, UK
    That looks really useful. I'll have a read when I get the time, but it should help many newbies and older hands too.

    Many thanks!
     
  6. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,225
    Hello,

    Regarding file system and notations, I have already written about in detail in the other articles - Installing SUSE Linux and Installing Kubuntu Linux. If you read them by chronological order, you'll realize they are progressive, with slight extra challenge added every time.

    I did it on purpose. Users should first try SUSE / Ubuntu, get familiar with Linux, then dabble a bit with Slackware, get into some moderate-difficulty distros, then start playing and tweaking with configurations files.

    As to the feedback to developers, that goes without saying...

    Anyhow, thanks for the feedback.

    Cheers,
    Mrk
     
  7. eyes-open

    eyes-open Registered Member

    Joined:
    May 13, 2005
    Posts:
    721
    Well presented as always Mrk :thumb:

    I was indexing some of my links when I came across this one. It lists Windows programs and their counterparts for Linux. Maybe someone will find it useful .......... The information was last updated on 4th Dec,2006 and is available in several languages:-

    Russian, Italian, Spanish, French, German, Hungarian, Chinese.

    Comparitive programs for Linux Users
     
  8. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    /sbin isn't in all distros paths so with ifconfig and fdisk some distros need them run like this -

    /sbin/ifconfig
    /sbin/fdisk

    also, you can get a process's id with this command -

    pidof process_name

    sometimes there are more then one instants of the process you want to kill, the output of pidof will give the processes in the order they started. also, i always kill a process with this command -

    kill -9 process_id, without the 9 option it might not be killed, i think :cautious:

    you can just do this to kill a process though -

    killall process_name it will kill everything with that name though.
     
  9. NGRhodes

    NGRhodes Registered Member

    Joined:
    Jun 23, 2003
    Posts:
    2,381
    Location:
    West Yorkshire, UK
    Makes sense, I skipped the SUSE/Ubuntu stuff, will have a look through them later.

    It might be worth mentioning pre requisites, or the order to read stuff in, as it was not obvious to me.

    Good work !
     
  10. Alphalutra1

    Alphalutra1 Registered Member

    Joined:
    Dec 17, 2005
    Posts:
    1,160
    Location:
    127.0.0.0/255.0.0.0
    Great, only one little addition:

    Instead of just blindly typing in ./configure, make sure to read INSTALL or README as they are almost always included in the sources tarball. Then, you can add options to configure depending on what the install told you to make it more customized to your system or include the feature you want.

    Cheers,

    Alphalutra1
     
  11. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,225
    Hello,
    Alpha, that's one step ahead of the intended idea delivered.... :)
    Sure, you can compile -ansi -pedantic etc...but that's lesson 4.
    Mrk
     
  12. Pedro

    Pedro Registered Member

    Joined:
    Nov 2, 2006
    Posts:
    3,502
    pedantic who?

    Thank you as always. I'll probably print it :)
    You're making this transition smoother:thumb:
    You, Alphalutra1 and Iceni60 made want to swap. I had it in mind, but you explained more clearly the advantages. And repeated, and repeated. Thanks to the trio!
    But Mrk has the documentation, congratulations are in order! Keep up the great work:thumb:
     
  13. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,225
    Hello,
    Thanks everyone, for your feedback. Regarding the more subtle options, you have definitely provided me with some ammo for a sequel :)
    As to new converts, well, you get another month of life for every one you make - or rather make make install :)
    Mrk
     
  14. Pedro

    Pedro Registered Member

    Joined:
    Nov 2, 2006
    Posts:
    3,502
    The link to "Some Useful Linux Commands" seems very good, the others, because of the audience you're targeting, may not be so good. Maybe add them in the bottom of the page:D .
    A-Z doesn't help that much. The best help would categorize by uses, like, unpacking/ basic navigation comands... / copying and related... You know, when you get stuck, and have a way to look it up by categories. That's why the one above is good.

    Just another perspective (from the audience)

    Also, i don't remember how i got these bookmarks, maybe your own site... you could take a peak, for possible links:

    http://www.tldp.org/guides.html
    http://www.freeos.com/articles/3102/
    http://www.reallylinux.com/

    edit- i'm refering to the comands part; From there to the end, the links are to the point, and very good. I'm only refering to this part:
     
    Last edited: Feb 16, 2007
  15. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    here are some more useful help commands to go with the man and --help ones from the link (i'll use firefox as an example)

    you can also do info

    man firefox
    firefox --help
    info firefox
    (try info info to learn how to use it, or info man or man man or man info :D)

    you can get a decription of the man page with this below, it will tell you in a sentence about the file -
    whatis firefox


    to find out which man pages mention your search word you can use apropos
    apropos firefox
    or
    man -k firefox they give the same results

    here's an online book about linux -
    http://rute.2038bug.com/index.html.gz

    here are the man pages online -
    http://www.die.net/doc/linux/man/

    here are some more links -
    http://www.linux.com/
    http://linuxhelp.blogspot.com/
    http://www.unix-tutorials.com/
    http://www.yolinux.com/TUTORIALS/
    http://www.learninglinux.com/HOWTO/HOWTO-INDEX/index.html
    http://linuxgazette.net/ and this http://tldp.org/LDP/LGNET/archives.html
    http://www.linuxjournal.com/xstatic/magazine/archives
    http://lwn.net/Archives/

    i really like this link, but it's down atm :( -
    http://www.linux-tutorial.info/
    here's the cached version -
    http://209.85.165.104/search?q=cach...info/ linux tutorial&hl=en&ct=clnk&cd=1&gl=uk
     
  16. Mr2cents

    Mr2cents Registered Member

    Joined:
    Sep 18, 2004
    Posts:
    497
    Thanks for posting this. Your tutorial is very helpful to a newbie to linux like myself. I really appreciate the hard work you've put in producing these tutorials.

    A little off topic, thanks for providing the link to the dude located in Salt Lake City, who thinks he's a pirate.. I read several of his articles, and have never laughed so hard. I enjoy reading websites like his, and all the hate mail he gets. LOL.
     
  17. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,225
    Hello,
    Ontopic, thanks.
    Offtopic, Maddox is a legend.
    Mrk
     
  18. Pedro

    Pedro Registered Member

    Joined:
    Nov 2, 2006
    Posts:
    3,502
    off topic: some of his writings are...:blink: ... lets just say not right. Keep reading. My opinion.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.