《Learning the UNIX Operating System》 第一章:入门

1 Getting Started

Before you can use Unix, a system staff person has to set up a Unix account for you. The account is identified by your username, which is usually a single word or an abbreviation. Think of this account as your office---it's your place in the Unix environment. Other users may also be at work on the same system. At many sites, there will be a whole network of Unix computers. So in addition to knowing your username, you may also need to know the hostname (name) of the computer that has your account. Alternatively, your account may be shared between all computers on the local network, and you may be able to log into any of them.

[译:在你能够使用Unix之前,系统维护人员已经为你准备了一个帐户帐户是用你的用户名来标识的,通常是一个单词或缩写词。把这个帐户想像成你的办公室--在Unix环境中这里是你的地盘。其他的用户也可以在同一个系统上面工作。在许多地方,这可能是一个整个Unix计算机的网络。因而除了知道你的用户名之外,你可能也需要知道有你的帐户的那台计算机的主机名。换句话说,你的帐户可能已经共享在本地网络上的所有计算机之间,并且你也许能登陆到这些计算机中任何一台里面]

[生词:abbreviation 缩写词; will be可能;in addition to 除...之外;in many sites, there will be a whole network of Unix computers ?;Alternatively 换句话说;may be able to 也许能;]

Once you've logged in to your account, you'll interact with your system by typing commands at a command line, to a program called a shell. you'll get acquainted with the shell, enter a few commands, and see how to handle common problems. To finish your Unix session, you'll log out.

[译:一旦你登陆到你的帐户,你将通过在命令行上输入命令来与你的系统交互,是用一个叫shell的程序。你将会熟悉shell,输入少许命令,然后明白怎样处理一般的问题。要结束你的Unix会话,你将退出系统]

Working in the Unix Environment

Each user communicates with the computer from a terminal. To get into the Unix environment, you first connect to the Unix computer. (Your terminal is probably already connected to a computer.* But Unix systems also let you log into other computers across a network. In this case, log into your local computer first, then use a remote login command to connect to the remote computer. See the section "Remote Logins" in Chapter 6)

[译:每个用户从终端与计算机通信。要进入Unix环境里面,你首先要连接Unix计算机。(你的终端或许已经连接到一台计算机。但是Unix系统也允许你通过网络登陆到其他计算机里面。既然这样,首先登陆到你的本地计算机里面,然后使用远程登陆命令连接到远程计算机。见第六章的“远程登陆”部分]

After connecting your terminal, if needed, you start a session by logging in to your Unix account. To log in, you need your username and password. Logging in does two things: it identifies which user in a session, and it tells the computer that you're ready to start work. When you're finished, log out---and, if necessary, disconnect from the Unix computer.

[译:连接你的终端后,如果需要的话,你由登陆到的你的Unix帐户来开始一个会话。要登陆,你需要你的用户名和密码。登陆做两件事情:它标识哪个用户在会话中,并且它通知计算机你准备开始工作。当你已经终止的时候,退出--如果必要的话,从Unix计算机断开连接]

Unix system are case sensitive. Most usernames, commands, and filenames use lowercase letters (though good passwords use a mixture of lower- and uppercase letters). Before you log in, be sure your <CAPS LOCK> key is off.

[译: Unix系统是区分大小写的。 大多数用户名,命令,文件使用小写字母(虽然好的密码是用小写和大写字母混合的)。你登陆之前,确保你的<CAPS LOCK>键是关的。]

Connecting to the Unix Computer

If you see a message from the computer that looks something like this:

        login:

you're probably connected! You can skip ahead to the section "Logging in Nongraphically" and log in.

Otherwise,if someone nearby users the same kind of computer system you do, the easiest way to find out if you're connected is probably to ask for help. (We can't cover every user's situation exactly. There are just too many possibilities.)

If there's no one to ask, look ahead at the section "logging in Nongraphically," later in this Chapter, as well as the section "Starting X" in Chapter 2 and the section "Remote Logins" in Chapter 6. You may recognize your situation.

If that doesn't help, but your computer seems to be running an operating system other than Unix (such as Microsoft Windows), check your menus and icons for one with the name of the Unix computer you're supposed to connect to. You might also find a program named either telnet, eXceed, ssh, VMware, procomm,qmodem, dermit, or minicom, or something relating to remote access.

[]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
书名:Learning the Unix Operating System, Fifth Edition 作者:Jerry?Peek, Grace?Todino-Gonguet, John?Strang 出版日期:2001年10月 ISBN: 0-596-00261-0 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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值