📄 linux commands line.htm
字号:
<TD height=17><SPAN class=Stile36 style3>lsusb
-tv</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>show USB devices</TD></TR>
<TR height=17>
<TD height=17><SPAN
class=Stile36 style3>date</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>show system date</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>cal
2007</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>show the timetable of
2007</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>date
041217002007.00 </SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>set date and time -
MonthDayhoursMinutesYear.Secondi</TD></TR>
<TR height=31>
<TD width=376 height=31><SPAN
class=Stile36 style3>clock -w<BR></SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>save changes on BIOS</TD></TR>
<TR height=17>
<TD align=middle colSpan=2 height=17><SPAN
class=Stile20 style3>linux commands line v1.0 -
LinuxGuide.it </SPAN></TD></TR>
<TR height=17>
<TD bgColor=#000000 colSpan=2 height=17><SPAN
class=titolo_cmdline style3>Shutdown, Restart of a
system and Logout </SPAN></TD></TR>
<TR height=17>
<TD height=8><SPAN class=Stile36 style3>shutdown -h
now</SPAN></TD>
<TD width=387
rowSpan=2 bgColor=#e0e0e0 class=descrizione style3>shutdown system</TD></TR>
<TR height=17>
<TD height=8 class=Stile36 style3>init 0 </TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>shutdown -r
hours:minutes &</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>planned shutdown of the
system</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>shutdown
-c</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>cancel a planned shutdown of the
system</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>shutdown -r
now</SPAN></TD>
<TD width=387
rowSpan=2 bgColor=#e0e0e0 class=descrizione style3>reboot</TD></TR>
<TR height=17>
<TD height=17><SPAN
class=Stile36 style3>reboot</SPAN></TD></TR>
<TR height=17>
<TD height=17><SPAN
class=Stile36 style3>logout</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>leaving session</TD></TR>
<TR height=17>
<TD align=middle colSpan=2 height=17><SPAN
class=Stile20 style3>linux commands line v1.0 -
LinuxGuide.it </SPAN></TD></TR>
<TR height=17>
<TD bgColor=#000000 colSpan=2 height=17><SPAN
class=titolo_cmdline style3>Files and Directory
</SPAN></TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>cd
/home</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>enter to directory '/
home'</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>cd
..</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>go back one level</TD></TR>
<TR height=17>
<TD width=376 height=17><SPAN class=Stile36 style3>cd
../..</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>go back two levels</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>cd</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>go to home directory</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>cd
~utente</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>go to home directory</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>cd
-</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>go to previous
directory</TD></TR>
<TR height=17>
<TD height=17><SPAN
class=Stile36 style3>pwd</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>show the path of work
directory</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>ls</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>view files of
directory</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>ls
-F</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>view files of
directory</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>ls
-l</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>show details of files and
directory</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>ls
-a</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>show hidden files</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>ls
*[0-9]*</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>show files and directory
containing numbers</TD></TR>
<TR height=17>
<TD height=17><SPAN
class=Stile36 style3>lstree</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>show files and directories in a
tree starting from root</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>mkdir
dir1</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>create a directory called
'dir1'</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>mkdir dir1
dir2</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>create two directories
simultaneously</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>mkdir -p
/tmp/dir1/dir2</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>create a directory
tree</TD></TR>
<TR height=17>
<TD height=3><SPAN class=Stile36 style3>rm -f
file1</SPAN></TD>
<TD bgColor=#e0e0e0 class=descrizione style3>delete
file called 'file1'</TD></TR>
<TR height=17>
<TD height=8><SPAN class=Stile36 style3>rmdir dir1
</SPAN></TD>
<TD bgColor=#e0e0e0 class=descrizione style3>delete
directory called 'dir1'</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>rm -rf
dir1</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>remove a directory called 'dir1'
and contents recursively</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>rm -rf dir1
dir2</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>remove two directories and their
contents recursively</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>mv dir1
new_dir</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>rename / move a file or
directory </TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>cp file1
file2</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>copying a file</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>cp dir/*
.</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>copy all files of a directory
within the current work directory</TD></TR>
<TR height=17>
<TD height=17><SPAN class=Stile36 style3>cp -a
/tmp/dir1 .</SPAN></TD>
<TD width=387
bgColor=#e0e0e0 class=descrizione style3>copy a directory within the
current work directory</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -