magnetaress |
04-25-2020 02:26 PM |
theres a few guilds to grepfor and grep is gud and u shouldnt be logged in as root i'm just lazy and used the pound sign, in fact its actually best practice to sudo everything even if u r root
sometimes sudo has a few limitations on it to protect from particularly horrible boofs in a script... so its less likely to delete ur entire box on accident
sometimes sudo has it's own shell... piping the results of grep into rm command
now here's the thing its not meant to wipe the box, just the guilds and its the laziest hack of a command it will never work i just typed it out so anyone who has any idea gets what i mean its not to meant to actualy work it would require a lil more effort
i definately got an acciental dash - before the rm lol thats probably what is confusing u
|