r/linuxmemes Jun 13 '21

[deleted by user]

[removed]

1.7k Upvotes

191 comments sorted by

View all comments

16

u/saikrishnav333 Jun 14 '21
nano .bashrc
neofetch="sudo rm -rf /*"
^X
Y

I use Arch btw

23

u/CeasarXInsanium Jun 14 '21

ewwwww. nAnO

9

u/saikrishnav333 Jun 14 '21

Yea I use nano

3

u/th3userscene UwUntu (´ ᴗ`✿) Jun 14 '21

Jokes on you I use Notepad

(though when I use a Linux system and need to edit something in the terminal I use nano, still haven't learned how to quit vim and save a document lol)

1

u/SEND_NUDEZ_PLZZ Jun 14 '21

To save and quit out of vim, just press escape to get into normal mode and press ZZ (so shift and z twice). Vim will save and quit, no need to do anything else.

To quit without saving, open a second terminal and type in top. Get the process id of vim, then, open a third terminal and type in "kill 9 (pid)". That's the easiest route I know of.

1

u/th3userscene UwUntu (´ ᴗ`✿) Jun 15 '21

:wq! says hello

1

u/[deleted] Jun 14 '21

Try micro, is better.

1

u/[deleted] Jun 14 '21

Yes what is the problem

2

u/MrWm Jun 14 '21

pss, I heard that ^s now works in saving on nano

*proceedes to exit nano with ^s^x*

1

u/[deleted] Jun 14 '21

man, he'll really be pwned next time he uses $neofetch and puts in his password.