User Tools

Site Tools


linux:shellcommands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:shellcommands [2018/05/05 12:42] – [sed] adminlinux:shellcommands [2018/05/05 12:44] – [sed] admin
Line 367: Line 367:
 The Unix operating system. Unix system The Unix operating system. Unix system
 </code> </code>
-  * <code bash>sed 's/Unix/UNIX/g' intro </code>  =>  Substitute Unix with UNIX +  * Substitute Unix with UNIX: <code bash> 
-The UNIX operating system. Unix system+sed 's/Unix/UNIX/g' intro  
 +</code>  => output:<code> 
 +The UNIX operating system. Unix system</code>
   * <code bash>sed --in-place 's/Unix/UNIX/g' intro </code> =>  Substitute Unix with UNIX in file intro   * <code bash>sed --in-place 's/Unix/UNIX/g' intro </code> =>  Substitute Unix with UNIX in file intro
   * <code bash>sed 's/Unix/UNIX/g' intro </code>  =>  Substitute Unix with UNIX   * <code bash>sed 's/Unix/UNIX/g' intro </code>  =>  Substitute Unix with UNIX
linux/shellcommands.txt · Last modified: 2022/10/29 16:15 by 127.0.0.1