Posted on 06-16-2016 12:46 PM
Has anyone wrote a script that enables TRIM Force for 3rd Party SSD's using sudo trimforce enable?
Posted on 06-20-2016 04:46 AM
sudo yes | trimforce enable
Posted on 06-23-2016 03:13 PM
TIL about the yes command
YES(1) BSD General Commands Manual YES(1)
NAME
yes -- be repetitively affirmative
SYNOPSIS
yes [expletive]
DESCRIPTION
yes outputs expletive, or, by default, ``y'', forever.
HISTORY
The yes command appeared in 4.0BSD.
4th Berkeley Distribution June 6, 1993 4th Berkeley Distribution
Posted on 10-05-2017 07:08 AM
That's a pretty awesome use of the yes command. Would have never thought about it (I would have gone the expect way…) :-D