Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
get history command without line numbers
xdumaine
Programming language:
Shell/Bash
2021-05-16 10:49:40
1
Q:
get history command without line numbers
user1286780
Code:
Shell/Bash
2021-02-26 10:41:00
Just use cut command to cut first 8 chars and get history without numbers history | cut -c 8-
0
Tags
number
line
get
command
history
Related
how to run a command from history linux
bash search history hstr
shell count number of lines
ls line by line terminal
how to get specific lines of shell output
print first lines of file linux
bash how to print lines after a matching line
bash sort bed file by chrom start end
linux search for line in file
New to Communities?
Join the community