Saturday, April 27, 2013

What UNIX book can I buy that is a recent edition and has tutorial practice exercises?

Q. I need to learn UNIX commands and would like a book that explains it and then gives you exercises to practice.

A. I wouldn't even bother. For a couple of reasons. One of which is that the older books have a LOT of still-relevant information. Also, there are a LOT of good free tutorials on the Web. University of Surrey, Department of Electrical Engineering has produced some excellent tutorials. Professor Stonebank has done this one:

http://www.ee.surrey.ac.uk/Teaching/Unix/index.html

By the way, the Desktop you see in the graphics is Gnome.

There is another good one at:
http://www2.ocean.washington.edu/unix.tutorial.html

The Linux Document Project, believe it or not, has a LOT of good material. Linux after all is a kernel which was written to run G'NU Tools and X-Windows -- both of which were written on UNIX. This particular tutorial was written by Eric Raymond, who is an authority on both Operating systems.

http://tldp.org/HOWTO/Unix-and-Internet-Fundamentals-HOWTO/

UNIX is primarily used by universities and other such groups these days. That means there is a HUGE body of high quality free documentation out there, if you are willing to look.

How to write a UNIX shell utility to find a matching filename in the current directory?
Q. How do I do this?

Write a utility that acts as a front end to find, this utility takes the name of a file as its single parameter and displays the full pathname of every matching filename, searching downwards from the current directory.

It's supposed to be done in C-shell in UNIX. But I really have no idea how to do this. Any help would be appreciated. Thank you.

A. I think Unix (officially trademarked as UNIX, sometimes also written as Unix with small caps) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs, including Ken Thompson, Dennis Ritchie, Brian Kernighan, Douglas McIlroy, and Joe Ossanna.

How to transfer folder from Mac to unix server?
Q. I am running OSX and using Terminal to ssh connect to a remote unix server. I need to transfer a folder containing files from my Mac to my account on the unix server. Should I sftp or stay in ssh? What commands do I use to transfer the folder? Any help would be appreciated.

A. You can use either sftp or scp.

sftp is an interactive session, similar to the following:

you@OSX $ sftp user@unix_server

sftp> cd <target_dir>

sftp> put <directory_to_be_copied_to_unix>

sftp> exit


Alternatively, you can use scp to copy the files from OSX to Unix server

you@OSX $ scp -rp <directory_to_be_copied> user@unix_server:/<destination_folder>



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment