Forrest logo
back to the redshift tool

redshift:tldr:dc169

redshift: Turn on Redshift with 70% screen brightness during day and 40% brightness at night.
$ redshift -b ${0-7}:${0-4}
try on your machine

The command "redshift -b ${0-7}:${0-4}" is used to set the color temperature of a computer screen using the Redshift utility.

Here's a breakdown of the command:

  • "redshift": This is the name of the command-line utility that is being executed. Redshift is a program that adjusts the color temperature of the screen based on the time of day, helping to reduce eye strain and improve sleep quality.

  • "-b": This is an option for the redshift utility which specifies that we want to set the color temperature manually.

  • "${0-7}:${0-4}": This is the value provided to the "-b" option. The format is "daytime:nighttime". Here, "${0-7}" represents the desired color temperature during the daytime, and "${0-4}" represents the desired color temperature during nighttime. The numbers 0-7 and 0-4 are placeholders and can be replaced with actual values.

The color temperature is measured in units of Kelvin (K), with lower values representing warmer/natural tones and higher values representing cooler/bluish tones. So, by specifying the desired color temperature for daytime and nighttime, the redshift utility will adjust the screen color temperature accordingly.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the redshift tool