What I am trying to do is figure out how to remove a column from a list in a file, or from the command line.
The opposite of cut -cX-Y file1
The file contains (result of who command)
jhabi0 pts/ta Oct 8 16:22
llemo0 pts/1 Oct 8 15:30
rgood0 pts/2 Oct 8 16:30
llemo0 pts/3 Oct 8 15:31
jlinc0 pts/tb Oct 8 16:31
rgood0 pts/4 Oct 8 16:10
jhabi0 pts/te Oct 8 09:17
cpacni pts/tf Oct 8 15:32
grenci pts/5 Oct 8 13:57
rhowa0 pts/th Oct 8 12:05
mmaha0 pts/tk Oct 8 15:40
grenci pts/7 Oct 8 13:58
and I would like to retrieve everything except (cut -c7-21)
pts/ta
pts/1
pts/2
pts/3
pts/tb
pts/tc
pts/td
.
.
Thanks in advance