View Full Version : What does #!/usr/bin/girl mean?
fortyseventh
03-13-2008, 10:45 AM
ThinkGeek (To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts.) sells this (To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts.) shirt.
AFAIK #!/usr/bin/girl means execute (the script) using "girl"
Does it actually mean anything?
User been girl?
She's a unix girl/guru?
Execute the (blank) script using binary named girl?
The script should/can be interpreted by "girl" (only)?
#!/usr/bin/girl
This is a unix shell command. #! at the start means execute the file. /usr/bin/ is the directory part. girl is the file to be excuted. I have no idea what that file is, it could be anything. /usr/ is short for user files, /bin/ is short for binaries.
qwerty
03-13-2008, 01:19 PM
#! /path/to/interpreter
is the first line of most scripts that explicity defines which interpreter to use when running the script to ensure that control structures work.
Hense using #!/usr/bin/girl you would be stating that a girl is running(interpretting) unix...
Though you may need to change that path depending on `which girl` the system meant :D.
The legacy /usr/local/share/bin/crazy/girl version is extremely unstable and was put there during a party one night and can sometimes involke init 6.
The solaris /usr/share/bin/lets/be/friends/girl version likes to tell you about guys that aren't you getting it to work, but your stuff never seems to execute.
fortyseventh
03-13-2008, 01:38 PM
Hense using #!/usr/bin/girl you would be stating that a girl is running(interpretting) unix...
That makes sense. Thanks!
schmidt
03-13-2008, 01:44 PM
#! /path/to/interpreter
is the first line of most scripts that explicity defines which interpreter to use when running the script to ensure that control structures work.
Hense using #!/usr/bin/girl you would be stating that a girl is running(interpretting) unix...
Though you may need to change that path depending on `which girl` the system meant :D.
The legacy /usr/local/share/bin/crazy/girl version is extremely unstable and was put there during a party one night and can sometimes involke init 6.
The solaris /usr/share/bin/lets/be/friends/girl version likes to tell you about guys that aren't you getting it to work, but your stuff never seems to execute.
Did the girl use a root exploit or did you just give her root?
And why did she just reboot ? I would clean some logs, and install a root kit (the pregnant.rk maybe?)
HackerX
03-13-2008, 08:32 PM
What does it mean?
Interpret what's contained within the shirt as a girl!
bruceb3
02-26-2011, 10:45 PM
I know that this thread is old and dead, but I am new to this forum and so I searched for UNIX, expecting there to be some reference to UNIX on an INTJ forum (rationals with a bent for technology) and after 15 years as a UNIX admin, /usr/bin/girl was very funny and clever.
insert name
02-27-2011, 09:42 AM
#!/usr/bin/girl
for(i = 1; i > 0; i++)
do
makemeasandwich
sex
done # lol i just had to write this script :P
I'm not much of a Unix guru, but I was surprised that no one mentioned that #!/usr/bin/[env] is called a shebang (To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts.(Unix)).
crabnebula
02-28-2011, 03:53 AM
I'm not much of a Unix guru, but I was surprised that no one mentioned that #!/usr/bin/[env] is called a shebang (To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts.).
Actually only "#!" in combination is called shebang (or hashbang) and does not include the path following it.
#!/usr/bin/girl
for(i = 1; i > 0; i++)
do
makemeasandwich
sex
done # lol i just had to write this script :P
Considering that the girl will have to infinitely make you sandwiches and fuck and that your stamina is limited, it'll lead to producer-consumer problem...
cyd0nia
02-28-2011, 09:18 AM
It means get a girl to carry out the commands instead of the normal bash shell which is invoked with #!/usr/bin/bash. Use a girl as the shell.
zibber
02-28-2011, 09:29 AM
It means get a girl to carry out the commands instead of the normal bash shell which is invoked with #!/usr/bin/bash. Use a girl as the shell.
It also means you will never get laid.
usr/bin/#!/@foreveralone
The UNIX joke I learned 18 years ago was the command sequence `unzip; strip; touch; finger; mount; gasp; yes; umount; sleep`. Searching for it now yields that plus date and more, which make sense, and grep and fsck, which only sort of do. The only one of those commands I haven't used repeatedly is "gasp", since I've never written any assembly code to need preprocessing (sorry, Professor Knuth).
The standard emacs distribution also comes with man pages for sex and condom; I particularly like the line about certain processes being "setiud" (instead of "setuid") to prevent the forking of child processes. =)
Doppelbock
03-03-2011, 08:16 PM
I remember a bunch of them...
$ ar x God
ar: God does not exist
$ cat "food in tin cans"
cat: cannot open food in tin cans
$ lost
lost: not found
% If I had a ( for every $ Congress spent, what would I have?
Too many ('s.
Firebrand
03-07-2011, 08:58 PM
Either "execute your girl" or, given that the command is called a Bang, "Bang your girl".
HackerX
03-07-2011, 09:56 PM
Either "execute your girl" or, given that the command is called a Bang, "Bang your girl".
It's more like - "Start your girl interpreter"
Firebrand
03-08-2011, 05:10 PM
Only for the first interpretation.
SilentRequiem
03-17-2011, 12:09 AM
I am intrigued that nobody answered this:
$ man girl
Should give you a probable answer
Azmorgrim
03-17-2011, 06:45 AM
I am intrigued that nobody answered this:
$ man girl
Should give you a probable answer
I am afraid the sheer number of pages in there might just crash the entire system.
I am afraid the sheer number of pages in there might just crash the entire system.
No, "man man" works fine, but "man girl" just responds "No manual entry for girl." This makes a great deal of sense, actually...
mediumpace
03-17-2011, 09:20 AM
obviously it means she loves to execute people
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.