darcy@sh.itjust.works to linuxmemes@lemmy.world · 1 year agocomputersh.itjust.worksimagemessage-square6fedilinkarrow-up175arrow-down13
arrow-up172arrow-down1imagecomputersh.itjust.worksdarcy@sh.itjust.works to linuxmemes@lemmy.world · 1 year agomessage-square6fedilink
minus-squareraubarno 🇱🇹@lemmy.mllinkfedilinkarrow-up3·edit-21 year agoIt won’t work. It’s a dangerous command because a single > destroys your .bashrc. You may want either echo 'neofetch' >> .bashrc or neofetch | sed -e 's:%:a:g' | sed -e "s:^\\(.*\\)$:printf '\1\\\\n':" >> .bashrc or something of that kind. EDIT: tested out the latter command
It won’t work. It’s a dangerous command because a single
>
destroys your.bashrc
. You may want eitherecho 'neofetch' >> .bashrc
orneofetch | sed -e 's:%:a:g' | sed -e "s:^\\(.*\\)$:printf '\1\\\\n':" >> .bashrc
or something of that kind.EDIT: tested out the latter command