Learning the Unix Operating System: A Concise Guide for the New User
Jerry Peek, Grace Todino
Format: PDF / Kindle (mobi) / ePub
If you are new to Unix, this concise book will tell you just what you need to get started and no more. Unix was one of the first operating systems written in C, a high-level programming language, and its natural portability and low price made it a popular choice among universities. Initially, two main dialects of Unix existed: one produced by AT&T known as System V, and one developed at UC Berkeley and known as BSD. In recent years, many other dialects have been created, including the highly popular Linux operating system and the new Mac OS X (a derivative of BSD).Learning the Unix Operating System is a handy book for someone just starting with Unix or Linux, and it's an ideal primer for Mac and PC users of the Internet who need to know a little about Unix on the systems they visit. The fifth edition is the most effective introduction to Unix in print, covering Internet usage for email, file transfers, web browsing, and many major and minor updates to help the reader navigate the ever-expanding capabilities of the operating system:
- In response to the popularity of Linux, the book now focuses on the popular bash shell preferred by most Linux users.
- Since the release of the fourth edition, the Internet and its many functions has become part of most computer user's lives. A new chapter explains how to use ftp, pine for mail, and offers useful knowledge on how to surf the web.
- Today everyone is concerned about security. With this in mind, the author has included tips throughout the text on security basics, especially in the Internet and networking sections.
The book includes a completely updated quick reference card to make it easier for the reader to access the key functions of the command line.
Go back to previous ﬁle on command line. /word Search forward for word. q Quit less. ?word Search backward for word. 56 Chapter 3: Using Your Unix Account Protecting and Sharing Files Unix makes it easy for users to share ﬁles and directories. For instance, everyone in a group can read documents stored in one of their manager’s directories without needing to make their own copies—if the manager has allowed access. There might be no need to ﬁll peoples’ email inboxes with ﬁle
the directory. $ grep "Unix" * ch01:Unix is a flexible and powerful operating system ch01:When the Unix designers started work, little did ch05:What can we do with Unix? $ When grep searches multiple files, it shows the filename where it finds each matching line of text. Alternatively, if you don’t give grep a filename to read, it reads its standard input; that’s the way all filter programs work: $ ls -l | grep -rw-rw-rw1 -rw-rw-rw1 -rw-rw-r-1 -rw-rw-r-1 $ "Aug" john john john carol doc doc
remote computer, the remote login program quits and you get another shell prompt from your local computer. Figure 6-1 shows how remote login programs such as telnet work. In a local login, you interact directly with the shell program running on your local system. In a remote login, you run a remote-access program on your local system; that program lets you interact with a shell program on the remote system. Local login shell Remote login telnet Network shell 1. Do a local login. 2. Make
prompt. It works just like the Unix version. 106 Chapter 6: Using the Internet and Other Networks cover the standard ftp program here.) Both computers must be connected by a network (such as the Internet), but they don’t need to run Unix. To start FTP, identify yourself to the remote computer by giving the username and password for your account on that remote system. Unfortunately, sending your username and password over a public network means that snoopers may see them—and use them to log
files. Remove empty directory at pathname. Working with Text: Printing, Searching Cancel an lp print request. Display one or more files. grep "pattern" files Show lines matching pattern in files. less files Display one screenful of each file at a time. (Alternatives: more, pg) cancel request cat files Working with Text: Printing, Searching (continued) lp files lpq lpr files lprm request lpstat pico file pico -w file sort rules files Send files to default printer. Check requests on lpr printer