A small tool written in C to retrieve your Linux installation date
❯ phoenix
10 days, 1 hours and 18 minutes
You can use the --long
option to display all values, even when they are 0.
❯ phoenix --long
0 years, 0 months, 10 days, 1 hours and 21 minutes
Phoenix offers a parameter for retrieving raw values, i.e. the system creation date in timestamp (seconds).
❯ phoenix --raw
1750001092
Phoenix also offers the --unique <unit>
option for displaying a single value. The option is therefore incompatible with --long
.
It must be accompanied by a value; the available values are :
years
/y
months
/m
days
/d
hours
/h
minutes
/min
❯ phoenix --unique hours
241 hours
❯ phoenix --unique days
10 days
You can use a translated version of phoenix (currently only available in French).
The translation is available with the --lang <lang>
option. This is compatible with both classic and only one unit modes.
❯ phoenix --lang fr
10 jours, 1 heures et 33 minutes
❯ phoenix --lang fr --unique hours
241 heures
To install this tool, you need :
git
gcc
make
To install the tool, simply run this command sequence:
git clone https://github.com/oriionn/phoenix.git
cd phoenix
make install
To build this tool, you need :
git
gcc
make
To build the tool, simply execute this command sequence:
git clone https://github.com/oriionn/phoenix.git
cd phoenix
make build