Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu history to file without line number

#ubuntu history to file without line number
history | cut -c 8- > history_for_print.txt
#history | cut -c 8-
#history > history_for_print.txt
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ubuntu #history #file #line #number
ADD COMMENT
Topic
Name
3+7 =