0
gui42
8y

It only takes three commands to install Gentoo:

> cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update && . /etc/profile && emerge sync && cd /usr/portage && scripts/bootsrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge gentoo-dev-sources && cd /usr/src/linux && make menuconfig && make install modules_install && emerge gnome mozilla-firefox openoffice && emerge grub && cp /boot/grub/grub.conf.sample /boot/grub/grub.conf && vi /boot/grub/grub.conf && grub && init 6

that's the first one

Comments
  • 0
    Bluntly stole from somewhere else.
    But this is happens to me very often on dockerfile land ¯\_(ツ)_/¯

    Source: http://bash.org/?464385
  • 0
    Well , this is technically 22 linux commands in a single conditional shell statement....
    You fool no one, young one:-)
Add Comment