I'm connected to a bash shell on my ubuntu 16.04 server using Putty on Windows.This is what it looks like in Putty when I do sudo fdisk -l:But when I try to pipe the output into less, the colors are not shown:I have tried sudo fdisk -l | less -R and sudo fdisk -l | less -r, but the output never looks the same as the raw output.How can I get the output from less to look the same?
Why doesn't `less` show bold output?
colors;less;fdisk