Difference between revisions of "Line"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 25: Line 25:
 
* <code>[[grep .]]</code>
 
* <code>[[grep .]]</code>
 
* [[Cisco IOS]]: <code>[[line vty]]</code>
 
* [[Cisco IOS]]: <code>[[line vty]]</code>
 +
* [[End of line]]
  
 
== See also ==
 
== See also ==

Revision as of 14:52, 16 March 2023

This article is a Draft. Help us to complete it.

wikipedia:line

Count lines:

Concatenate lines:

New line:

Merge every two lines:

  • cat /path/tofile.txt | paste -d " " - -[1]
  • cat /path/tofile.txt | xargs -n2 -d'\n'

Activities

Related

See also

  • https://stackoverflow.com/a/9605450
  • Advertising: