Tools for text - Linux Study Group

Group Info

Linux Study Group

Linux Study Group

Created by Joseph Wojcicki

Please join our group to share and discuss Linux

Share:
Joseph wojcicki
Joseph wojcicki Oct 18 '18

cat: (concatenate): to link together


cat filetodisplay.txt


head and tail command:


view lines from beginning or end of a file.

the -n option can be used to allocate how many lines of text you want to be shown


head -n5 filetobedisplayed.txt (5 lines of text) first 5

tail -n7 filetobedisplayed.txt (7 lines of text) last 7

Joseph wojcicki
Joseph wojcicki Oct 18 '18

Less:


Paginates text and provides navigation controls


navigate forward or backwards with "f" and "b" keys

Joseph wojcicki
Joseph wojcicki Oct 18 '18
press (h) for help to learn more of the commands available.
Joseph wojcicki
Joseph wojcicki Oct 18 '18

awk Command: Sed Command: used to programattically manipulate text in streams or files.





Joseph wojcicki
Joseph wojcicki Oct 18 '18

Vim: powerful and flexible command line text editor.



Joseph wojcicki
Joseph wojcicki Oct 18 '18
Nano: lightweight text modification tool
You need to be a group member to post.