Results 1 to 10 of 10

Thread: Learing UNIX

  1. #1
    Join Date
    Jul 2011
    Location
    Bangalore, India
    Beans
    41
    Distro
    Ubuntu

    Learing UNIX

    Hello all

    i am interested in learning UNIX. could someone suggest me what book/eBook i need to refer, and most importantly, what compiler i could use. and where to get it from?

    your help is greatly appreciated!
    Stay true to metal \m/

  2. #2
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Learing UNIX

    Quote Originally Posted by Nikhil Kenvetil View Post
    Hello all

    i am interested in learning UNIX. could someone suggest me what book/eBook i need to refer, and most importantly, what compiler i could use. and where to get it from?

    your help is greatly appreciated!

    Hi and welcome,

    learn the CLI in Linux and you are for all intents and purposes learning UNIX

    remember the commands

    Code:
    man
    Code:
    apropos
    and that will cover the commands when you are stuck

    Code:
    man command
    Code:
    apropos <command or action>
    see here to learn CLI http://linuxcommand.org/

    as for compiling i presume you mean C etc ? then

    Code:
    sudo apt-get build essentials
    that is the GNU compiler
    Last edited by haqking; September 17th, 2011 at 11:29 PM.
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  3. #3
    Join Date
    Jul 2011
    Location
    Bangalore, India
    Beans
    41
    Distro
    Ubuntu

    Re: Learing UNIX

    thanks haqking for sharing hte information
    Stay true to metal \m/

  4. #4
    anewguy is offline I Ubuntu, Therefore, I Am
    Join Date
    Jun 2007
    Location
    Sometimes I visit earth
    Beans
    5,435
    Distro
    Ubuntu 12.04 Precise Pangolin

    Wink Re: Learing UNIX

    +1 Linux isn't what could be considered a clone of Unix per se, but every attempt was made to keep things very similar from the outside in. Obviously the kernel, which is really what Linux is, is a written from scratch project, not a copy. The result is indeed what haqking has said - learn the command line - including the bash shell or other shell and you should be fine from that side. We're not just talking simple shell scripts, etc. - there are some very complex things that can be done with the linux shell. Once you learn those you also will have learned that you can do a lot in the linux/unix shell such that it doesn't require writing as many programs as in other OS's.

    From a programming side, I'm not sure - Linux will have it's own header files, etc., so I don't know if you could take the source for a Linux program to a Unix machine (I actually haven't used Unix since about 1992 or so) and have it compile without changes - I've never tried it.

    There may be differences in library calls, etc., especially with lower things - the libusb calls for example - that might be different in Linux versus whatever Unix has for the same type of functionality.

    You can, however, write programs in linux and they will compile and run in Windows with the correct tools. As an example, you can build a GUI'd application in linux, including low-level libusb calls, take it to a Windows machine, and as long as Windows has the libusb library, the GTK development package for Windows and a unix-like environment like MingW so you can compile it, it will run natively in Windows. I've done this.

    Dave

  5. #5
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Learing UNIX

    Quote Originally Posted by Nikhil Kenvetil View Post
    thanks haqking for sharing hte information
    no worries, you are very welcome.

    Enjoy
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  6. #6
    Join Date
    Sep 2011
    Beans
    1

    Re: Learing UNIX

    Here is a direct link to download the whole free ebook.

    http://sourceforge.net/projects/linu...2.pdf/download

    It's very helpful.

  7. #7
    Join Date
    May 2008
    Beans
    1,427
    Distro
    Ubuntu Development Release

    Re: Learing UNIX

    Hands on is a good way to get a general taste:

    1. Become familiar with the most popular web server OS; Red Hat Enterprise Linux (RHEL). Since Red Hat costs money, take a look at CentOS or Scientific Linux which are free clones that remain 100% compatible with RHEL.
    2. Learn about Solaris. It's a commercial UNIX system. There's a free, community-developed version of it called OpenIndiana.
    3. Learn how FreeBSD works; it's the most popular BSD OS.


    I recommend forcing yourself to use Linux as much as possible. Use the command line a lot (don't memorize mouse clicks) and learn the differences between distributions. As for compiling, use GCC. Ubuntu is a great Linux OS, but it is mainly aimed toward desktop users. A lot of things are already done for you, so you don't need to be skilled with Linux (or in many cases even computers) to do things. For this reason, I recommend using something other than Ubuntu if you want to learn quickly. Dig in, break stuff, learn along the way.

    Also, +1 to everything haqking said before me.

  8. #8
    Join Date
    Jul 2011
    Location
    Bangalore, India
    Beans
    41
    Distro
    Ubuntu

    Re: Learing UNIX

    Quote Originally Posted by kaldor View Post
    Hands on is a good way to get a general taste:

    1. Become familiar with the most popular web server OS; Red Hat Enterprise Linux (RHEL). Since Red Hat costs money, take a look at CentOS or Scientific Linux which are free clones that remain 100% compatible with RHEL.
    2. Learn about Solaris. It's a commercial UNIX system. There's a free, community-developed version of it called OpenIndiana.
    3. Learn how FreeBSD works; it's the most popular BSD OS.


    I recommend forcing yourself to use Linux as much as possible. Use the command line a lot (don't memorize mouse clicks) and learn the differences between distributions. As for compiling, use GCC. Ubuntu is a great Linux OS, but it is mainly aimed toward desktop users. A lot of things are already done for you, so you don't need to be skilled with Linux (or in many cases even computers) to do things. For this reason, I recommend using something other than Ubuntu if you want to learn quickly. Dig in, break stuff, learn along the way.

    Also, +1 to everything haqking said before me.
    Thank you Kaldor. Really appreciate it!
    Stay true to metal \m/

  9. #9
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: Learing UNIX

    You didn't say why you want/need to learn UNIX, but it's almost entirely used in a commercial setting, not home setting.

    If that's the case for you, then you should focus on doing System Administration with UNIX, and that's a lot of command line and scripting work.

    I was a UNIX System Admin for several years, and mostly what we did was user account administration, server management, network management, and applications management. And LOTS and LOTS of script work.

    If you really want to learn more about the underpinnings of Linux (and a lot of that will help with UNIX), you should consider moving over to a distro that involves a lot more setup work on your part than Ubuntu. That will give you an opportunity to learn a lot about the Linux filesystem (UNIX has some similarities) and script work.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  10. #10
    Join Date
    Aug 2007
    Location
    Inglis, Florida
    Beans
    734
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Learing UNIX

    I see you've marked the thread as solved but let me give one more recommendation if I may:
    http://www.phys.uu.nl/~0020621/CP/un...inningmage.pdf
    Give me a stable operating system, and I will make it unstable

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •