09 2017 档案
摘要:If we spend any time in the Linux community,we hear many options as to which of many Linux distributions is "best." Often,these discussions get really
阅读全文
摘要:In this chapter we will look at a seemingly trivial detail - our shell.This examination will reveal some of the inner working of the shell and the ter
阅读全文
摘要:There is an joke about a visitor to NewYork City asking a passerby for directions to the city's famous classical music venue(聚集地点,会场): Visitor:Excuse
阅读全文
摘要:As we discussed earlier,the shell maintains a body of (大量)information during our shell session called the environment.Data stored in the environment i
阅读全文
摘要:Modern operating systems are usually multitasking,meaning that they create the illusion(错觉)of doing more than one thing at once by rapidly switching f
阅读全文
摘要:Operating systems in the Unix tradition differ from those in the MS-DOS tradition in that they are not only multitasking systems,but also multi-users
阅读全文
摘要:I often kiddingly describe Unix as "the operating system for people who like to type." Of course,the fact that it even has a command line is a testame
阅读全文
摘要:In this chapter we are going to look at some of the "magic" that occurs on the command line when you press the enter key.While we will examine several
阅读全文
摘要:In this lesson we are going to unleash what may be the coolest feature of the command line.It's called I/O redirection.The "I/O" stands for input/outp
阅读全文
摘要:Up to this point,we have seen a series of mysterious commands,each with its own mysterious options and arguments.In this chapter,we will attempt(试图) t
阅读全文
摘要:At this point,we are ready for some real work!This chapter will introduce the following commands: cp:Copy files and directories mv:move/rename files a
阅读全文
摘要:Now that we know how to move around(equal nagtive) the file system,it's time for a guided tour of our Linux system.Before we start however,we're going
阅读全文
摘要:The first thing we need to learn to do (desides just typing) is how to navigate the file system on our Linux system.In this chapter we will introduce
阅读全文
摘要:shell When we say command line,we are really reffering to the shell.Shell is a programm that takes keyboard commands and passes them to the operating
阅读全文
摘要:Robert:I am a new student.My name is Robert Sophie:Nice to meet you.My name is Sophie Robert:Are you french? Sophie:Yes,I am.Are you french ...too? Ro
阅读全文
摘要:Good morning Good morning , Mr Black This is SuSan,......a new student ,she is a French SuSan,this is Hans,he's German Nice to meet you,SuSan. ...This
阅读全文
摘要:My coat and my umbrella ,please!Here it is my ticket. Thank you,sir! Number 5. Here's your coat and your umbrella. This is not my umbrella. Sorry,sir.
阅读全文
摘要:Excuse me! Yes? Is this your handbag? Pardon? Is this your handbag? Yes,it is.Thank you very much!
阅读全文
摘要:整数测试: -le:小于等于 -lt:小于 -ge:大于等于 -gt:大于 -eq:等于 -ne:不等于 字符测试: ==:测试是否相等,相等为真,不等为假 !=:测试是否不等,不等为真,等为假 -n string:测试字符串是否为空,空则真,不空则假 -z string:测试指定字符串是否不空,不
阅读全文
摘要:vi:Visual Interface vim:VI improved 全屏编辑器,模式化编辑器 vim模式: 编辑模式(命令模式) 输入模式 末行模式 # vim /path/to/somefile 如果存在:打开某文件 如果不存在:新建文件 vim +#:打开文件,并定位于第#行 vim +:打
阅读全文
摘要:三大文本处理工具:grep,sed(流编辑器),awk(报告文本生成器) sed基本用法:sed是一种流编辑器,它是文本处理中非常中的工具,能够完美的配合正则表达式使用,功能不同凡响。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区
阅读全文
浙公网安备 33010602011771号