30

Solve the following 5 text rebuses, which are in the form of Linux (bash) command lines.


Rebus #1 (solved by Prem)

# type beep sound > file.txt 2> file2.txt

Hints:

1. The solution is a single word that appears in dictionary.com.
2. The word has 10 letters.


Rebus #2 (solved by frodoskywalker)

# cat file.png | wc -w
1000

Rebus #3 (solved by frodoskywalker)

# touch file1; while true; do mv file1 file2; mv file2 file1; done

Rebus #4 (solved by Geobits/karhell)

# echo -e "\e[0;97m\a"

Rebus #5 (solved by karhell)

# fsck /dev/sda1 &

Note: For your answer to be accepted, it must at a minimum contain the correct solution for Rebus #1.

pacoverflow
  • 15,204
  • 2
  • 55
  • 94

6 Answers6

16

Tentative answer :
rebus #1:

Could it be a sound filter ?

Explanation :

type beep sound tells us what beep and sound are.
> file1.txt redirects stdout to file1.txt
2> file2.txt redirects stderr to file2.txt
beep is a legitimate command, so type beep is redirected to file1
sound on the other hand is not, so it gets redirected to file2

Rebus #2 and #3:
Agreed with @frodoskywalker, see their answer for details

A picture is worth a thousand words, and Perpetual motion

Rebus #4:
(thanks @Geobits)

White noise

Explanation :

echo -e outputs its arguments taking ansi escapes into account
\e[0;97m is ansi for bold, high-intensity white
\a is an ascii bell character
A bell makes noise, therefore we have white noise.

Rebus #5:

To run a background check

Explanation:

fsck /dev/sda1 runs a filesystem consistency check on /dev/sda1 (main partition)
& allows the command to run in the background

karhell
  • 556
  • 2
  • 9
14

Rebus #2

A picture is worth a thousand words

Because

You have piped an image (file.png) to wc and asked it to count the words (-w), which returned 1000

Rebus #3

Perpetual motion

Because

You are moving a file forever ('while true')

frodoskywalker
  • 7,369
  • 1
  • 30
  • 49
10

Answer for #1 :

stereotype

Explanation :

stereo == two channels + type , forcing "output" to both STDERR & STDOUT.

Other rebuses have already been answered.

Prem
  • 5,144
  • 2
  • 17
  • 55
  • 1
    Good job. Since Rebus #1 was the most difficult, you get the checkmark. I wonder how long it would have lasted if I hadn't provided any hints? – pacoverflow Jul 18 '15 at 14:40
  • 1
    @pacoverflow , your clue about "one word" did help, and the clue about "10 letters" was helpful to select the one word out of many, starting with "stereo". The other answers acted as clues or inspiration. Nice set of rebuses, and I could solve only 1,2&5, – Prem Jul 18 '15 at 14:50
  • 1
    Oh so you did a search on words containing "stereo"? I figured someone would do a search on words containing "type". – pacoverflow Jul 18 '15 at 14:51
  • @pacoverflow , yes, I went that way because, I initially thought that "type" was used only to generate STDOUT & STDERR so two channels so stereo- (other answers being related to picture&sound&noise), then 10 letters made -type fit. – Prem Jul 18 '15 at 16:33
  • 1
    Brilliant! I thought "sound" was significant, but would never have thought about stereo. +1 to you (would be more if I could) – karhell Jul 20 '15 at 06:33
4

Possible answer for #1

Bleep out (beep out)

Explanation

When you bleep something out the sound goes away, and as karhell was saying the sound isn't a legitimate command

Ian MacDonald
  • 12,806
  • 1
  • 33
  • 63
Bard
  • 728
  • 7
  • 15
3

Another possible answer for #1:

soundcheck

because

The type command indicates what would happen if the name (or names) given as argument(s) were to be entered at the command line. > file.txt means "write the output of this instruction to a file called "file.txt", and 2> file2.txt means "write any error messages to a file called "file2.txt". Sound engineers often repeat the numbers "one" and "two" when checking microphone levels; perhaps this is what is being referred to.

r3mainer
  • 9,671
  • 4
  • 40
  • 45
1

Possible answer to #1:

Tinnitus

Explanation:

You get a beep, but there's no sound

hoffmale
  • 277
  • 2
  • 6