Tag Info

New answers tagged


Yes, Bash Reference Manual says: A full search of the directories in $PATH is performed only if the command is not found in the hash table. But you can disable hashing with set +h: -h - Locate and remember (hash) commands as they are looked up for execution. This option is enabled by default. Try: set +h hash # prints bash: hash: hashing ...


Most likely, for historical reasons and/or backward compatibility. It's part of the GNU core utilities package, so it'll be around until Richard Stallman et al feel it's necessary to purge it from existence.


Apparently this happened between 4.2 and 4.3BSD -- compare http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/usr.bin/file.c and http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD/usr/src/usr.bin/file.c


Solaris 2.2 (released May 1993) is apparently the first, per wikipedia.


Dennis Ritchie set himself a constraint with C that it wouldn't rely on any linker features that weren't also required by Fortran. Hence the 6 character limit on external names.


I'm six years late to answer, but I believe that the extant answers all miss the point of Thompson's quote. I'd spell creat with an 'e'. Ken Thompson is not lamenting the name of the function used to open and possibly create a file. Rather, he is expressing that Unix was done properly, i.e. there is nothing major that should have been done differently. ...


In addition to the other answers, I would like to point out that Unix was developed as a reaction to Multics, CTSS, and other contemporary operating systems, which were significantly more verbose about their naming conventions. You can get a feel for these OSes at http://www.multicians.org/devdoc.html. For example, ...


dr01 is right, but there's also another reason - usability. Back in the day, you didn't have something as comfortable as a keyboard to type on. If you were lucky, you had something akin to an old-school typewriter. If you were unlucky, you had to deal with systems that required actual physical work to operate (as in, it took a lot of force to press the ...


I went to #BitchX on EFnet and asked the question there. People were able to tell me that the original script for ircII made by Trench and HappyCrappy was already called BitchX: A version of their script from late 1995 contains the line assign versionmesg ^BBitchX^B v713 by Trench and Happycrappy They did not know why the original script was called ...


It depends on what you mean by "patch the binary". I change binaries using dd sometimes. Of course there is no such feature in dd, but it can open files, and read and write things at specific offsets, so if you know what to write where, voila there is your patch. For example I had this binary that contained some PNG data. Use binwalk to find the offset, dd ...


Let's try it. Here's a trivial C program: #include <stdio.h> int main(int argc, char **argv) { puts("/usr/tmp"); } We'll build that into test: $ cc -o test test.c If we run it, it prints "/usr/tmp". Let's find out where "/usr/tmp" is in the binary: $ strings -t d test | grep /usr/tmp 1460 /usr/tmp -t d prints the offset in decimal into ...


It's due to the technical constraints of the time. The POSIX standard was created in the 1980s and referred to UNIX, which was born in the 1970. Several C compilers at that time were limited to identifiers that were 6 or 8 characters long, so that settled the standard for the length of variable and function names.


I found this explanation here: bitchx - The rudest irc client (in many ways). Evil? Use Bitchx. Also this wiki page: BitchX is known for its distinct messages when quitting the program. An example is: "Khaled uses BitchX. CTCP TROUT THIS, BITCH!" Where reference is made to the creator of the competitive program mIRC, Khaled Mardam-Bey. Other ...


In "BitchX Tutorial by Ferry Boender" I found following: BitchX can be a real Bitch to work with. I concluded from the Urban Dictionary definition that it might mean that the BitchX is classy software that does the right thing no matter what and doesn't care what anyone thinks about that!

Top 50 recent answers are included