I am using the xgamma command to interrogate and if necessary adjust r,g or b gamma values. (On tahr32 6.0.6)
xgamma --help says "If no gamma is specified, returns the current setting"
Using xgamma command on its own returns the following:
Code: Select all
root# xgamma
-> Red 1.000, Green 1.000, Blue 1.000
In order to extract these values for later use in a script I tried the following:
Code: Select all
root# xgamma > /root/output.txt
-> Red 1.000, Green 1.000, Blue 1.000
root#
But there is no data put into the output.txt file.
Can anyone help me to understand what I am doing wrong please?
Cheers!