Linux : Simple Tricks And Hacks(1)

Linux is like a magic box, which surprises me everyday.I will share some tricks which might amaze you and incorporate these tricks in your Linux journey.

Hack 1 : vi,vim trick

Yes,you heard me right.
Use :x rather than :wq to save a file.

:x does the same job as :wq. Try this on your own.

Hack 2 : Terminal Trick

Yeyyy, you can do it!
Command + Ctrl + J
Command + Ctrl + M

Theory behind those, ^J is linefeed(\n) and ^M is carriage return(\r).

Yeah! That’s one minute for you.