modal editing can be fun. it is a weird skill like driving a manual transmission.
that said driving a manual transmission in stop and go traffic on a hot day is a lot like editing in vi sometimes.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
modal editing can be fun. it is a weird skill like driving a manual transmission.
that said driving a manual transmission in stop and go traffic on a hot day is a lot like editing in vi sometimes.
Micro is where its @ <3
I just use this:
#!/bin/bash
keep_generating=1
while [[ $keep_generating == 1 ]]; do
dd if=/dev/random of=$1 bs=1 count=$2 status=none
echo Contents of $1 are:
cat $1
echo
read -p "Try generating again? " -s -n1 answer
while true; do
case $answer in
[Yy] )
echo
break
;;
[Nn] )
keep_generating=0
break
;;
*)
esac
read -s -n1 answer
done
done
Just ask if it's correct. If not destroy the universe. Only The correct will survive, it's O(1)
Nano is my "daily drive", but I'd use vim as well -- takes a couple seconds to search for "how to type in linux vim" and "how to save a file in linux vim" anyways. :^)
I started on Emacs and then didn't use it for a few years and forgot everything so now I'm stuck on Nano. But that's fine because nano does everything I want it to do.
Ed users entered the chat