Operation files and directories: copy:
? 1 2 <code class="hljs ruby">$ cp file1 file2 $ cp -r dir1 dir2</code>
Move:
? 1 2 <code class="hljs ruby"><code class="hljs ruby">$ mv file .. $ mv file dir/</code></code & gt;
rename:?
1 2 & lt; code class = " hljs ruby " & gt; & lt; code class = " hljs ruby " & gt; & lt; code class = " hljs ruby " & gt; $ mv file1 file2 $ mv dir1 dir2 # dir2 if present, for the movement operation & lt; /code & gt; & lt; /code & gt; & lt; /code & gt;
remove:
1? 2 <code class="hljs ruby"><code class="hljs ruby"><code class="hljs ruby"><code class="hljs ruby">$ Rm file $ rm -r dir</code></code></code></code>
Create file:
? 1 2 <code class="hljs ruby"> <code class="hljs ruby"><code class="hljs ruby"><code class="hljs ruby"><code class="hljs ruby">$ touch A.txt $ >a.txt</code></code></code></code></code>
Create directory:
? 1 <code class=" ;hljs ruby"><code class="hljs ruby"><code class="hljs ruby"><code class="hljs ruby"><code class=& Quot;hljs ruby"><code class="hljs ruby">$ mkdir dir</code></code></code></code></code></code> ;
View file:
? 1 2 3 4 5 6 7 8 9 10 <code class="hljs ruby"><code class="hljs ruby"><code class= "hljs ruby"><code class="hljs ruby"><code class="hljs ruby"><code class="hljs ruby"><code class=" Hljs livecodeserver">#General $ cat file #View file type: $ file a.txt #Create and view hidden files/folders: $ touch .a.txt or mkdir .dir $ ls -a #page view files: $ less file #ctrl ++: zoom out Ctrl --: Zoom in j: scroll down k: scroll up /: character look n: find next gg: file header G: end of file q: exit </code></code></code> </code></code></code></code>
*Wildcard:
? 1 2 <code class="hljs ruby"><code class=" ;hljs ruby"><code class="hljs ruby"><code class="hljs ruby"><code class="hljs ruby"><code class="hljs Ruby"><code class="hljs livecodeserver"><code class="hljs ruby">$ rm *.html #Delete all html files $ echo a* # See all starting with a File </code></code></code></code></code></code></code></code>
Packaging and Compression:
? 1 2 3 4 5 6 7 8 9 & lt; code class = " hljs ruby " & gt; & lt; code class = " hljs ruby " & gt; & lt; code class = " hljs ruby " & gt; & lt; code class = " hljs ruby " & gt; & lt; code class = " hljs ruby " & gt; & lt; code class = " hljs ruby " & gt; & lt; code class = " hljs livecodeserver " & gt; & lt; code class = " hljs ruby " & gt; <code class="hljs avrasm">#zip file $ zip -r name.zip dir $ unzip name.zip #.tar.gz file $ tar zxvf name.tar.gz $ tar zcvf name.tar.gz /code & gt;; & lt;; & lt; & gt /code dir # .tar.bz2 file $ tar jxvf name.tar.bz2 $ tar jcvf name.tar.bz2 dir & lt /code & gt; & lt; /code & gt; & lt; /code & gt; & lt; /code></code></code></code>zh-CN"],null,[0.78668636],zh-CN"]]]
After reinstalling Win7, I have never tried to install Linux again, occasionally playing, an
Ubuntu is a good Linux operating system, but for newcomers who just installed it, how to connect to
Logging is very important for security. It records the various things that happen every day in the s
fg, bg, jobs, &, nohup, ctrl+z, ctrl+c command one, & At the end of a command, you can put
Vi editor paste copy cut function under Linux
Linux network based three-layer switch and NAT address translation notes
Linux common word processing command summary
Reboot command--Linux command application big dictionary 729 command interpretation
Method for installing RPM format package in Ubuntu system
View file contents under linux cat,more,less
Linux learning user and group commands
The TIME/TIME+ value of the linux top command is
How to use the notes that come with the Win7 system?
How to fix failures that WinXP system cannot update
Win10 version of Groove music, movie and TV application update download
Win10 tray battery icon does not display how to do
How to look at the IE version under Win7 system
Windows10 technology preview task view and multi-desktop function shortcut summary
Win10 hopes to successfully re-enact the success of win7
Let Win8/Win8.1 system restart the three steps of step by step.
Windows can't start windows audio service?
Win8.1 system prompts bugreport.exe application error solution