1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 530
/ 2 Years ago, fri, february 18, 2022, 12:09:07
I want to use less as a pager for mysql client. I want to add -F to force quit for short outputs. But I can't combine both correctly.
root@jupiter:/# mysql -p -u root -h localhost --pager=less -F
mysql: unknown option '-F'
is there a way?
Anyway I have some newbie trouble with less:
cat oo.txt # shows me some short garbage
cat oo.txt |less -F # nothing happens, I expect show and quit.
less -F oo.txt # nothing happens, I expect show and quit.
less oo.txt # shows the short garbage and waits for q keystroke (or whatever)
I am connected via putty if that matters.
More From » mysql