⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 我最近比较常用的一些linux 指令 - gcc-gnu-linux delphi-window java-anywhere - c++博客.mht

📁 LINUX常用命令大全介绍,最近常用的一些命令
💻 MHT
📖 第 1 页 / 共 5 页
字号:
color=3D#ff0000>=E6=95=B0=E6=8D=AE=E5=BA=93</FONT><BR>=E5=AF=BC=E5=87=BA=E6=
=95=B0=E6=8D=AE=E5=BA=93 </FONT><FONT face=3DTahoma>smscgw=20
            =E4=B8=AD=E7=9A=84</FONT> <FONT face=3DTahoma>smsio_200602 =
=E8=A1=A8=EF=BC=8C=E5=90=8C=E6=97=B6=E9=80=9A=E8=BF=87=E7=AE=A1=E9=81=93=E5=
=8E=8B=E7=BC=A9=E6=88=90zip =E6=A0=BC=E5=BC=8F=EF=BC=8C</FONT>=20
            <BR><FONT face=3DTahoma>pg_dump smscgw --data-only=20
            --table=3Dsmsio_200602 -p 9055 -U postgres -i| gzip &gt;=20
            =
smsio_200602.sql.gz<BR><BR>=E5=B0=86=E5=AF=BC=E5=87=BA=E7=9A=84=E8=A1=A8=E5=
=AF=BC=E5=9B=9E=E5=88=B0=E6=95=B0=E6=8D=AE=E5=BA=93</FONT> <FONT=20
            face=3DTahoma>smscgw </FONT><BR><FONT face=3DTahoma>psql -p =
9055 -U=20
            postgres -d smscgw &lt;=20
            =
smsio_200602.sql<BR><BR>=E5=90=AF=E5=8A=A8postgresql=E5=88=B0=E5=90=8E=E5=
=8F=B0<BR>/usr/local/pgsql/bin/postmaster=20
            -D /usr/local/pgsql/data &gt;logfile 2&gt;&amp;1=20
            =
&amp;<BR><BR>=E5=81=9C=E6=AD=A2postgresql=E6=95=B0=E6=8D=AE=E5=BA=93=20
            =
=E5=AF=B9=E5=BA=94=E4=B8=8A=E6=9D=A1=E6=8C=87=E4=BB=A4<BR>/usr/local/pgsq=
l/bin/pg_ctl&nbsp; -D/usr/local/pgsql/data=20
            stop<BR><BR>=E7=99=BB=E9=99=86=E5=B9=B6use =
smscgw=E6=95=B0=E6=8D=AE=E5=BA=93<BR>psql -p 9055 -d smscgw -U postgres=20
            =
--password<BR><BR>=E6=95=B4=E7=90=86=E6=95=B0=E6=8D=AE=E5=BA=93<BR>vacuum=
db -p 9055 -U DBUser -d DBName=20
            -z<BR><BR></FONT><FONT =
face=3DTahoma>=EF=BC=88=E9=99=86=E7=BB=AD=E8=A1=A5=E5=85=85=E4=B8=AD...=EF=
=BC=89</FONT> <BR><BR>oracle=20
            =
=E5=8E=BB=E8=AE=B0=E5=BD=95=E4=B8=AD=E7=9A=84=E5=9B=9E=E8=BD=A6=E6=8D=A2=E8=
=A1=8C<BR>&nbsp; 1&nbsp; select to_char(starttime, 'yy-mm-dd=20
            hh24:mi:ss'),<BR>&nbsp;=20
            2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
            replace(replace(content , chr(13), ''),chr(10), =
'')<BR>&nbsp;=20
            3&nbsp; from tblmsg<BR>&nbsp; 4&nbsp; where =
freq=3D9<BR>&nbsp;=20
            5&nbsp;&nbsp;&nbsp; --and rownum =3D 1<BR>&nbsp; 6* order by =

            =
starttime<BR><BR>oracel=E5=8E=BB=E8=BE=93=E5=87=BA=E9=9B=86=E4=B8=AD=E7=9A=
=84=E7=A9=BA=E8=A1=8C<BR>&nbsp; set trimpool on<BR>&nbsp;=20
            set pagesize 0<BR>&nbsp; set linesize 5000<BR><BR><BR>ubuntu =

            =E6=97=B6=E9=97=B4=E5=90=8C=E6=AD=A5<BR>sudo ntpdate =
210.72.145.44 =
<BR>#=E5=B0=86=E7=B3=BB=E7=BB=9F=E6=97=B6=E9=97=B4=E5=86=99=E5=85=A5BIOS<=
BR>sudo hwclock=20
            -w<BR><BR><BR>iptables =
<BR>#=E8=BF=99=E4=B8=AA=E6=98=AF=E5=B0=86=E8=AE=BF=E9=97=AE =
211.139.190.219:80&nbsp;=20
            =
=E7=9A=84=E6=95=B0=E6=8D=AE=E5=8C=85=E5=85=A8=E9=83=A8=E8=BD=AC=E5=90=91=E5=
=88=B06655 <BR>/sbin/iptables -t nat -A PREROUTING&nbsp; -p=20
            tcp&nbsp; --dport 6655 -j DNAT --to-destination =
211.139.190.219:80=20
            <BR></DIV>
            <DIV class=3Ditemdesc>=E5=8F=91=E8=A1=A8=E4=BA=8E 2006-03-03 =
10:49 <A=20
            href=3D"http://www.cppblog.com/Khan/">Khan's Notebook</A> =
=E9=98=85=E8=AF=BB(470) <A=20
            =
href=3D"http://www.cppblog.com/Khan/archive/2006/03/03/3670.aspx?opt=3Dad=
min#Post">=E8=AF=84=E8=AE=BA(0)</A>=20
            &nbsp;<A=20
            =
href=3D"http://www.cppblog.com/Khan/admin/EditPosts.aspx?postid=3D3670">=E7=
=BC=96=E8=BE=91</A>&nbsp;<A=20
            =
href=3D"http://www.cppblog.com/Khan/AddToFavorite.aspx?id=3D3670">=E6=94=B6=
=E8=97=8F</A>=20
            <A=20
            =
href=3D"http://www.cppblog.com/Khan/services/trackbacks/3670.aspx">=E5=BC=
=95=E7=94=A8</A>=20
            =E6=89=80=E5=B1=9E=E5=88=86=E7=B1=BB: <A=20
            =
href=3D"http://www.cppblog.com/Khan/category/777.html">=E5=91=A8=E8=BE=B9=
=E6=8A=80=E6=9C=AF</A>=20
            </DIV></DIV>
            <DIV class=3Dseperator>&nbsp;</DIV><IMG height=3D1=20
            =
src=3D"http://www.cppblog.com/Khan/aggbug/3670.html?webview=3D1"=20
            width=3D1> <!--
<rdf:RDF xmlns:rdf=3D"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc=3D"http://purl.org/dc/elements/1.1/"=0A=
xmlns:trackback=3D"http://madskills.com/public/xml/rss/module/trackback/"=
>
<rdf:Description
rdf:about=3D"http://www.cppblog.com/Khan/archive/2006/03/03/3670.html"
dc:identifier=3D"http://www.cppblog.com/Khan/archive/2006/03/03/3670.html=
"
dc:title=3D"=E6=88=91=E6=9C=80=E8=BF=91=E6=AF=94=E8=BE=83=E5=B8=B8=E7=94=A8=
=E7=9A=84=E4=B8=80=E4=BA=9Blinux =E6=8C=87=E4=BB=A4"
trackback:ping=3D"http://www.cppblog.com/Khan/services/trackbacks/3670.as=
px" />
</rdf:RDF>
-->
            <SCRIPT type=3Dtext/javascript>
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('AjaxHolder$scriptmanager1', =
document.getElementById('Form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tAjaxHold=
er$UpdatePanel1'], [], [], 90);
//]]>
</SCRIPT>

            <DIV id=3DAjaxHolder_UpdatePanel1>
            <STYLE>TD {
	FONT-SIZE: 12px
}
.commentTextBox {
	FONT-SIZE: 13px; FONT-FAMILY: Verdana
}
</STYLE>
<!--Beging Temp Save-->
            <STYLE>.userData {
	BEHAVIOR: url(#default#userdata)
}
</STYLE>

            <DIV class=3DuserData id=3DCommentsPersistDiv></DIV>
            <SCRIPT type=3Dtext/javascript>
function pageLoad()
{
    =
Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest(handl=
eInitializeRequest);
    =
//Sys.WebForms.PageRequestManager.getInstance().add_endRequest(handleEndR=
equest);
}

function handleInitializeRequest(sender, args)
{
    var prm =3D Sys.WebForms.PageRequestManager.getInstance();
    var eid =3D args.get_postBackElement().id;
    if (eid.indexOf("DeleteLink")>0)=20
    {
       args.get_postBackElement().innerHTML =3D "<font =
color=3D'red'>=E6=AD=A3=E5=9C=A8=E5=88=A0=E9=99=A4...</font>";        =20
    }   =20
    if (eid.indexOf("btnSubmit")>0)=20
    {
       =
document.getElementById("AjaxHolder_PostComment_ltSubmitMsg").innerHTML=3D=
"=E6=AD=A3=E5=9C=A8=E6=8F=90=E4=BA=A4...";
       =
document.getElementById("AjaxHolder_PostComment_btnSubmit").disabled =3D =
true;
      =20
    }   =20
  =20
}=09

function TempSave(ElementID)
{
	try
	{
	=
CommentsPersistDiv.setAttribute("CommentContent",document.getElementById(=
ElementID).value);
	CommentsPersistDiv.save("CommentXMLStore");
	}
	catch(ex)
	{
	}
=09
}
function Restore(ElementID)
{
	CommentsPersistDiv.load("CommentXMLStore");
	=
document.getElementById(ElementID).value=3DCommentsPersistDiv.getAttribut=
e("CommentContent");
}=09
		=09
		=09
</SCRIPT>
<!--Ene TempSave-->
            <DIV class=3Dcommentform><SPAN =
id=3DAjaxHolder_PostComment_ltSubmitMsg=20
            style=3D"COLOR: red"></SPAN><BR><A name=3DFeedback></A>
            <TABLE cellSpacing=3D1 cellPadding=3D1 border=3D0>
              <TBODY>
              <TR>
                <TD width=3D75></TD>
                <TD></TD>
                <TD></TD></TR>
              <TR>
                <TD width=3D55>=E6=A0=87=E9=A2=98</TD>
                <TD><INPUT class=3Dcommenttb =
id=3DAjaxHolder_PostComment_tbTitle=20
                  style=3D"WIDTH: 320px" value=3D"re: =
=E6=88=91=E6=9C=80=E8=BF=91=E6=AF=94=E8=BE=83=E5=B8=B8=E7=94=A8=E7=9A=84=E4=
=B8=80=E4=BA=9Blinux =E6=8C=87=E4=BB=A4"=20
                  name=3DAjaxHolder$PostComment$tbTitle></TD>
                <TD><SPAN =
id=3DAjaxHolder_PostComment_RequiredFieldValidator1=20
                  style=3D"VISIBILITY: hidden; COLOR: =
red">=E8=AF=B7=E8=BE=93=E5=85=A5=E6=A0=87=E9=A2=98</SPAN></TD></TR>
              <TR>
                <TD>=E5=A7=93=E5=90=8D</TD>
                <TD><INPUT class=3Dcommenttb =
id=3DAjaxHolder_PostComment_tbName=20
                  style=3D"WIDTH: 320px" =
name=3DAjaxHolder$PostComment$tbName></TD>
                <TD><SPAN =
id=3DAjaxHolder_PostComment_RequiredFieldValidator2=20
                  style=3D"VISIBILITY: hidden; COLOR: =
red">=E8=AF=B7=E8=BE=93=E5=85=A5=E4=BD=A0=E7=9A=84=E5=A7=93=E5=90=8D</SPA=
N></TD></TR>
              <TR>
                <TD>=E4=B8=BB=E9=A1=B5</TD>
                <TD><INPUT class=3Dcommenttb =
id=3DAjaxHolder_PostComment_tbUrl=20
                  style=3D"WIDTH: 320px" =
name=3DAjaxHolder$PostComment$tbUrl></TD>
                <TD><FONT face=3D=E5=AE=8B=E4=BD=93></FONT></TD></TR>
              <TR>
                <TD align=3Dleft colSpan=3D3>
                  <TABLE class=3DCommentForm=20
                  id=3DAjaxHolder_PostComment_tbCaptchaImage =
cellSpacing=3D0=20
                  cellPadding=3D0 border=3D0>
                    <TBODY>
                    <TR>
                      <TD colSpan=3D3><SPAN=20
                        =
id=3DAjaxHolder_PostComment_Requiredfieldvalidator4=20
                        style=3D"DISPLAY: none; COLOR: =
red">=E8=AF=B7=E8=BE=93=E5=85=A5=E9=AA=8C=E8=AF=81=E7=A0=81</SPAN> <SPAN =

                        id=3DAjaxHolder_PostComment_lblImage=20
                        style=3D"FONT-WEIGHT: bold; COLOR: =
red"></SPAN></TD></TR>
                    <TR>
                      <TD width=3D78>=E9=AA=8C=E8=AF=81=E7=A0=81</TD>
                      <TD><INPUT =
id=3DAjaxHolder_PostComment_CodeNumberTextBox=20
                        =
name=3DAjaxHolder$PostComment$CodeNumberTextBox>*</TD>
                      <TD align=3Dleft><IMG =
id=3DAjaxHolder_PostComment_Img1=20
                        =
src=3D"http://www.cppblog.com/Modules/CaptchaImage/JpegImage.aspx">=20
                      </TD></TR></TBODY></TABLE></TD></TR>
              <TR>
                <TD =
colSpan=3D3>=E5=86=85=E5=AE=B9(=E6=8F=90=E4=BA=A4=E5=A4=B1=E8=B4=A5=E5=90=
=8E,=E5=8F=AF=E4=BB=A5=E9=80=9A=E8=BF=87=E2=80=9C=E6=81=A2=E5=A4=8D=E4=B8=
=8A=E6=AC=A1=E6=8F=90=E4=BA=A4=E2=80=9D=E6=81=A2=E5=A4=8D=E5=88=9A=E5=88=9A=
=E6=8F=90=E4=BA=A4=E7=9A=84=E5=86=85=E5=AE=B9) <SPAN=20
                  id=3DAjaxHolder_PostComment_RequiredFieldValidator3=20
                  style=3D"VISIBILITY: hidden; COLOR: =
red">=E8=AF=B7=E8=BE=93=E5=85=A5=E8=AF=84=E8=AE=BA=E5=86=85=E5=AE=B9</SPA=
N><BR><TEXTAREA class=3DcommentTextBox =
id=3DAjaxHolder_PostComment_tbComment =
onkeydown=3D"ctlent(event,'AjaxHolder_PostComment_tbComment')" =
style=3D"WIDTH: 480px; HEIGHT: 220px" =
name=3DAjaxHolder$PostComment$tbComment rows=3D10 =
cols=3D50></TEXTAREA></TD></TR>
              <TR>
                <TD colSpan=3D3><SPAN =
id=3DAjaxHolder_PostComment_Message=20
                  style=3D"COLOR: red"></SPAN></TD>
              <TR>
                <TD colSpan=3D3><INPUT =
id=3DAjaxHolder_PostComment_chkRemember=20
                  tabIndex=3D-1 type=3Dcheckbox CHECKED=20
                  name=3DAjaxHolder$PostComment$chkRemember><LABEL=20
                  for=3DAjaxHolder_PostComment_chkRemember>Remember=20
              Me?</LABEL></TD></TR>
              <TR>
                <TD height=3D23><INPUT =
id=3DAjaxHolder_PostComment_btnSubmit =
onclick=3D"TempSave('AjaxHolder_PostComment_tbComment');WebForm_DoPostBac=
kWithOptions(new =
WebForm_PostBackOptions(&quot;AjaxHolder$PostComment$btnSubmit&quot;, =
&quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" =
type=3Dsubmit value=3D=E6=8F=90=E4=BA=A4 =
name=3DAjaxHolder$PostComment$btnSubmit>=20
                </TD>
                <TD colSpan=3D2 height=3D23>&nbsp; <A=20
                  id=3DAjaxHolder_PostComment_lnkLogin=20
                  =
href=3D"http://www.cppblog.com/login.aspx?ReturnURL=3Dhttp://www.cppblog.=
com/Khan/archive/2006/03/03/3670.aspx?opt=3Dadmin&amp;SourceURL=3D/Khan/a=
rchive/2006/03/03/3670.aspx?opt=3Dadmin">=E7=99=BB=E5=BD=95</A>&nbsp;&nbs=
p;<A=20
                  id=3DAjaxHolder_PostComment_linkLoginComment=20
                  =
onclick=3D"if(document.getElementById('AjaxHolder_PostComment_tbComment')=
.value !=3D '') return =
confirm('=E6=9C=AA=E6=8F=90=E4=BA=A4=E7=9A=84=E8=AF=84=E8=AE=BA=E5=86=85=E5=
=AE=B9=E5=B0=86=E4=BC=9A=E4=B8=A2=E5=A4=B1, =
=E4=BD=A0=E7=9C=9F=E7=9A=84=E8=A6=81=E8=BF=9B=E5=85=A5=E9=AB=98=E7=BA=A7=E8=
=AF=84=E8=AE=BA=E5=90=97?');"=20
                  =
href=3D"http://www.cppblog.com/Khan/archive/2006/03/03/3670.aspx?login=3D=
1#Post">=E4=BD=BF=E7=94=A8=E9=AB=98=E7=BA=A7=E8=AF=84=E8=AE=BA</A>&nbsp;&=
nbsp;<A=20
                  =
href=3D"http://www.cppblog.com/RequireRegister.aspx">=E6=96=B0=E7=94=A8=E6=
=88=B7=E6=B3=A8=E5=86=8C</A>&nbsp;&nbsp;<A=20
                  =
href=3D"http://www.cppblog.com/Khan/archive/2006/03/03/3670.aspx?opt=3Dad=
min#Top">=E8=BF=94=E5=9B=9E=E9=A1=B5=E9=A6=96</A>&nbsp;&nbsp;<A=20
                  id=3DAjaxHolder_PostComment_lbRestore=20
                  =
onclick=3D"Restore('AjaxHolder_PostComment_tbComment'); return false;"=20
                  =

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -