bash - Dave's Blog

Search
My timeline on Mastodon

Tweet from Garrett Serack

2016 Aug 18, 2:57
For the record, yes you can run on Linux in Bash on Windows (aka ) /cc @bitcrazed @bradwilson
PermalinkComments

4chan BBS - Genius sorting algorithm: Sleep sort

2011 Jun 20, 2:20"Genius sorting algorithm: Sleep sort 1 Name: Anonymous : 2011-01-20 12:22 Man, am I a genius. Check out this sorting algorithm I just invented.
#!/bin/bash 
function f() { 
    sleep "$1" 
    echo "$1" 
} 
while [ -n "$1" ] 
do 
    f "$1" & 
    shift 
done 
wait 

example usage: 
./sleepsort.bash 5 3 6 3 6 3 1 4 7
"PermalinkCommentshumor programming code technical 4chan bash sort sleep-sort sleep

Think you've mastered Linux? Prove it, with Suicide Linux

2010 Feb 23, 9:38Think you're a bad ass having installed some obscure and difficult to use Linux distro, then prove how hardcore of a Linux nerd you are with '...Suicide Linux, where any unrecognized command is parsed as "rm -rf /"...'PermalinkCommentshumor geek linux bash technical

Command Not Found (Niath)

2007 Mar 21, 12:14This program will tell you how to install an application if you try to use one that it knows about and that you don't have installed.PermalinkCommentsbash blog opensource tool ubuntu article linux tips

10 Linux commands you've never used

2007 Mar 19, 3:41PermalinkCommentsarticle bash howto linux script shell shortcuts commands reference

BashFaq - Greg's Wiki

2007 Mar 19, 10:54Tutorials and examples for making scripts for the Unix shell Bash.PermalinkCommentshowto linux bash reference shell script tutorial programming tips
Older Entries Creative Commons License Some rights reserved.