share
Unix & Linuxlinux select specific characters from text file
[-1] [1] blueStar
[2020-10-11 22:46:40]
[ bash ubuntu ]
[ https://unix.stackexchange.com/questions/614031/linux-select-specific-characters-from-text-file ]

If i have a text file with the line qwertyuiop, how can i select the first character and after that each characters by jumps of 2 without using more than 1 pipe in my command ? In qwertyuiop i would have qetuo printed in the cmd.

[0] [2020-10-11 22:55:04] waltinator

Read man cut, and

cut -c1,3,5,7,9 text.file
  

do you know of a more versitile option for exemple if i have a word of 500 characters - blueStar
1