亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 145-148.html

?? linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
?? HTML
字號:
<HTML>

<HEAD>

<TITLE>Linux Unleashed, Third Edition:Basic Linux Commands</TITLE>

<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=0672313723//-->

<!--TITLE=Linux Unleashed, Third Edition//-->

<!--AUTHOR=Tim Parker//-->

<!--PUBLISHER=Macmillan Computer Publishing//-->

<!--IMPRINT=Sams//-->

<!--CHAPTER=7//-->

<!--PAGES=145-148//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="143-145.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="../ch08/149-152.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<H3><A NAME="Heading17"></A><FONT COLOR="#000077">Becoming Someone Else: The su Command</FONT></H3>

<P>Usually, when you want to temporarily become a different user, you simply switch to another virtual terminal, log in as the other user, log out when you&#146;re done, and return to your &#147;home&#148; virtual terminal. However, there are times when this is impractical or inconvenient. Perhaps all your virtual terminals are busy already, or perhaps you&#146;re in a situation (such as logged on via a telephone and modem) in which you don&#146;t have virtual terminals available.

</P>

<P>In these cases, you can use the <TT><B>su</B></TT> command. &#147;su&#148; stands for &#147;super user.&#148; If you type <TT><B>su</B></TT> by itself, you will be prompted for the <TT><B>root</B></TT> password. If you successfully enter the <TT><B>root</B></TT> password, you will see the <TT><B>root</B></TT> <TT><B>#</B></TT> prompt and have all of <TT><B>root</B></TT>&#146;s privileges.</P>

<P>You can also become any other user by typing <TT><B>su</B></TT> <I>&lt;username&gt;</I>. If you are <TT><B>root</B></TT> when you type <TT><B>su</B></TT> <I>&lt;username&gt;</I>, you are not asked for that user&#146;s password since in principle you could change the user&#146;s password or examine all the user&#146;s files from the <TT><B>root</B></TT> login anyway. If you are an &#147;ordinary&#148; user trying to change to another ordinary user, you will be asked to enter the password of the user you are trying to become.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Note:&nbsp;&nbsp;</B><BR>Although <TT><B>su</B></TT> grants you all the privileges you would get if you logged on as that user, be aware that you won&#146;t inherit that login&#146;s exact environment or run that login&#146;s startup files (if any). This means that <TT><B>su</B></TT> is not really suited to doing extended work, and it&#146;s quite unsuitable for troubleshooting problems with that login.<HR></FONT>

</BLOCKQUOTE>

<H3><A NAME="Heading18"></A><FONT COLOR="#000077">The grep Command</FONT></H3>

<P>&#147;What on earth does <TT><B>grep</B></TT> mean?&#148; you ask. This is a fair question. <TT><B>grep</B></TT> must be the quintessential UNIX acronym because it&#146;s impossible to understand even when it&#146;s spelled out in full! <TT><B>grep</B></TT> stands for <I>Global Regular Expression Parser</I>. You will understand the use of this command right away, but when &#147;Global Regular Expression Parser&#148; becomes a comfortable phrase in itself, you should probably consider taking a vacation.</P>

<P>What <TT><B>grep</B></TT> does, essentially, is find and display lines in a file that contain a pattern that you specify. In other words, it&#146;s a tool that checks for substrings.</P>

<P>There are two basic ways to use <TT><B>grep</B></TT>. The first use of <TT><B>grep</B></TT> is to filter the output of other commands. The general syntax is <TT>&lt;<I>command</I>&gt; <B>| grep</B> &lt;<I>pattern</I>&gt;</TT>. For instance, if you want to see every actively running process on the system, type <TT><B>ps -a | grep R</B></TT>. In this application, <TT><B>grep</B></TT> passes on only those lines that contain the pattern (in this case, the single letter) R. Note that if someone were running a program called <TT><B>Resting</B></TT>, it would show up even if its status were <TT><B>S</B></TT> for sleeping because <TT><B>grep</B></TT> would match the R in <TT><B>Resting</B></TT>. An easy way around this problem is to type <TT><B>grep &#147;R&#148;</B></TT>, which explicitly tells <TT><B>grep</B></TT> to search for an R with a space on each side. You must use quotes whenever you search for a pattern that contains one or more blank spaces.</P>

<P>The second use of <TT><B>grep</B></TT> is to search for lines that contain a specified pattern in a specified file. The syntax here is <TT><B>grep</B> &lt;<I>pattern</I>&gt; &lt;<I>filename</I>&gt;</TT>. Be careful. It&#146;s easy to specify the filename first and the pattern second by mistake! Again, you should be as specific as you can with the pattern to be matched, in order to avoid &#147;false&#148; matches.</P>

<H3><A NAME="Heading19"></A><FONT COLOR="#000077">Summary</FONT></H3>

<P>By this point, you should have tried enough different Linux commands to start getting familiar (if not yet entirely comfortable) with typical Linux usage conventions.

</P>

<P>It is important that you be able to use the man pages provided online by Linux. A very good exercise at this point is to pull up man pages for all the commands we have looked at in the past two chapters: <TT><B>login</B></TT>, <TT><B>passwd</B></TT>, <TT><B>who</B></TT>, <TT><B>adduser</B></TT>, and so on. If any of the commands listed under &#147;See also:&#148; look interesting, by all means take a look at their man pages, too!</P>

<P>In Chapter 8, we head out from &#147;home&#148; and poke around in the Linux file system. As system administrators, we should know what our hard drives contain! For instance, there are special &#147;administrator-only&#148; directories crammed with goodies.</P>

<P>Several more &#147;essential&#148; commands are also introduced. By the end of the next chapter, you will have seen and tried most of the important &#147;user&#148; Linux commands and had a taste of some of the &#147;administrator&#148; commands. If you are interested in other related subjects, you can jump to the following chapters:</P>

<DL>

<DD>Working with the editors that come with Linux is discussed in Chapter 16, &#147;Text Editors: <TT>vi</TT> and <TT>emacs</TT>.&#148;

<DD>Configuring X so you can use a GUI is discussed in Chapter 22, &#147;Installing and Configuring XFree86.&#148;

<DD>Programming under Linux is discussed in Part V, starting with Chapter 25, &#147;<TT>gawk</TT>.&#148;

</DL>

<P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="143-145.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="../ch08/149-152.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本视频一区二区| 亚洲一区二区成人在线观看| 欧美午夜理伦三级在线观看| 日本在线不卡一区| 亚洲欧美日韩国产综合在线| 欧美午夜宅男影院| 成人av网站免费| 久久爱www久久做| 国产精品久久网站| 久久精品免视看| 久久奇米777| 久久毛片高清国产| 欧美va亚洲va| 日韩精品一区二区三区三区免费| 在线观看视频一区二区欧美日韩| 99久久精品免费| 成人av免费观看| 成人动漫精品一区二区| 91色porny在线视频| 91日韩在线专区| 在线观看免费成人| 日韩久久免费av| 精品国产乱码久久久久久免费 | 国产在线国偷精品产拍免费yy| 婷婷中文字幕综合| 久草在线在线精品观看| 美女国产一区二区| 成人毛片老司机大片| 99国产精品久久久久久久久久 | 蜜臀久久久99精品久久久久久| 免费不卡在线视频| 国产精品66部| 91成人免费在线| 日韩免费观看2025年上映的电影| 久久这里只有精品视频网| 亚洲丝袜自拍清纯另类| 日本在线播放一区二区三区| 岛国av在线一区| 制服丝袜一区二区三区| 亚洲精品自拍动漫在线| 亚洲免费在线播放| 国产在线不卡视频| 欧美日韩激情一区二区三区| 久久女同互慰一区二区三区| 亚洲午夜精品在线| 丁香桃色午夜亚洲一区二区三区| 欧美视频自拍偷拍| 国产精品电影一区二区| 奇米综合一区二区三区精品视频| 成人av在线资源网| 久久久久亚洲蜜桃| 美国精品在线观看| 欧美日韩一区二区三区四区| 日韩久久一区二区| 成人性生交大合| 欧美精品一区二| 美女视频网站黄色亚洲| 91黄色免费看| 综合精品久久久| 99精品久久99久久久久| 日韩一区中文字幕| 国产高清精品在线| 国产日产精品一区| 国产成人免费视频网站| 国产性做久久久久久| 国产成a人亚洲| 国产精品久久久久影院老司| 国产黄色91视频| 日本一区二区三级电影在线观看| 精品久久久久久久久久久久包黑料 | 国产网站一区二区三区| 亚洲一本大道在线| 欧美日韩在线观看一区二区| 亚洲综合图片区| 欧美剧情片在线观看| 亚洲国产精品一区二区www| 欧美在线观看视频一区二区 | 国产精品久久久久久久久快鸭 | 国产片一区二区三区| 国产精品一区免费视频| 日韩毛片精品高清免费| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 一二三四区精品视频| 欧美一区永久视频免费观看| 国产一区二区三区免费| 亚洲欧洲性图库| 欧美精品高清视频| 国产成人精品影视| 亚洲一级不卡视频| 国产午夜精品一区二区三区嫩草| 成人综合婷婷国产精品久久 | 亚洲欧美在线另类| 欧美日韩国产大片| 国产精品亚洲一区二区三区在线| 18涩涩午夜精品.www| 26uuu久久综合| 欧美亚洲一区三区| 成人av午夜影院| 奇米色一区二区三区四区| 黄色日韩网站视频| 久久99深爱久久99精品| 亚洲四区在线观看| 美女网站色91| 亚洲三级在线免费| 国产成人精品午夜视频免费| 亚洲一区免费视频| 2019国产精品| 欧美三级欧美一级| av高清不卡在线| 精东粉嫩av免费一区二区三区| 亚洲女子a中天字幕| 欧美国产精品一区二区三区| 欧美一区二区性放荡片| 91福利国产精品| 91丨九色丨蝌蚪丨老版| 国产91精品一区二区麻豆亚洲| 奇米综合一区二区三区精品视频| 亚洲综合在线电影| 亚洲毛片av在线| 亚洲少妇中出一区| 亚洲欧美日韩国产综合在线| 国产精品视频免费看| 国产精品素人一区二区| 欧美久久婷婷综合色| 91精品综合久久久久久| 91精品国产综合久久久久| 欧美日韩免费在线视频| 欧美日韩黄色一区二区| 欧美日本一区二区| 精品va天堂亚洲国产| 国产女人aaa级久久久级 | 欧美色老头old∨ideo| 欧美日韩国产首页在线观看| 制服丝袜日韩国产| 欧美精品一区二区久久久| 国产亚洲欧美日韩俺去了| 综合电影一区二区三区| 亚洲一区二区三区四区五区中文| 视频一区二区不卡| 国产精品主播直播| 91麻豆国产福利精品| 在线综合视频播放| 中文字幕免费在线观看视频一区| 一区二区三区**美女毛片| 欧美aaa在线| 99国产精品久久久久久久久久| 欧美美女一区二区| 中文文精品字幕一区二区| 亚洲网友自拍偷拍| 国产iv一区二区三区| 欧美日韩免费一区二区三区视频| 国产日韩欧美制服另类| 午夜视频在线观看一区二区| 成人性生交大片免费看中文| 日韩精品在线一区| 亚洲成av人片在www色猫咪| aa级大片欧美| 欧美经典一区二区| 日精品一区二区| 欧美日韩一区国产| 中文字幕制服丝袜一区二区三区| 老司机精品视频一区二区三区| 日本久久电影网| 亚洲视频精选在线| 成人av在线资源网站| 国产丝袜欧美中文另类| 国内成人精品2018免费看| 5566中文字幕一区二区电影| 亚洲一区视频在线| 欧美日韩一区二区在线观看视频| 亚洲免费大片在线观看| 99久久精品情趣| 亚洲激情自拍视频| 91国内精品野花午夜精品| 一区二区三区中文在线| 色悠悠久久综合| 亚洲自拍欧美精品| 欧美日韩高清一区二区三区| 午夜精品福利在线| 日韩欧美的一区二区| 国产成人啪午夜精品网站男同| 国产视频一区在线观看| 99精品视频一区二区三区| 亚洲日本va午夜在线影院| 色婷婷精品大在线视频| 肉丝袜脚交视频一区二区| 2014亚洲片线观看视频免费| 国产一区二区不卡| 亚洲靠逼com| 日韩亚洲欧美一区| 国产精品99久久不卡二区| 亚洲欧美在线视频| 91.麻豆视频| 成人精品视频一区二区三区尤物| 亚洲色图清纯唯美| 555夜色666亚洲国产免| 成人三级伦理片| 日韩黄色免费网站| 亚洲色图视频网站| 久久久久久亚洲综合影院红桃|