Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Unix History Question: Why are filenames/dirnames case sentsitive in Unix? Post 66435 by deckard on Monday 14th of March 2005 11:46:20 AM
Old 03-14-2005
Unix History Question: Why are filenames/dirnames case sentsitive in Unix?

I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal with case sensitivity and I hate not really having a good answer for them. The best answer I can give them is that it allows for more filenames in the namespace, but they usually just grunt and reply, "yeah, but who cares". Knowing that Unix seems to have been refined into a really well thought out OS over the decades, I'm sure there must be a reason why case sensitivity was kept (other than legacy compatibility) instead of moving to a case insensitive naming convention. Any gurus out there have any good answers I can give them besides, "You'll get nothing and like it too!!" ;P
 

10 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Unix History Link

Link describe the Step by step formation of Unix http://perso.wanadoo.fr/levenez/unix/ Also: - History - Author of First Unix C Language - Unix Family research Tree - BSD and Sun History chart - Technical Comparison between Unix Diffrences (4 Replies)
Discussion started by: killerserv
4 Replies

2. UNIX for Dummies Questions & Answers

The history of UNIX and the ideas behind it

Hi. I am new here, and this is my first post at the UNIX.com forums. I have read the book Fire in the Valley: The Making of the Personal Computer, and I noticed that neither UNIX nor Linux was mentioned once in the book. Why is this? What was UNIX's place in the early days of personal computers? ... (6 Replies)
Discussion started by: elendil
6 Replies

3. Shell Programming and Scripting

Unix filenames and spaces

I have files on my unix boxes that users have created with spaces. Example: /tmp/project plan ls -l "/tmp/project plan" works fine. $/tmp>ls -l "/tmp/project plan" -rw-r--r-- 1 root other 0 Jan 31 12:32 /tmp/project plan I created a file called test and put just the... (2 Replies)
Discussion started by: x96riley3
2 Replies

4. Shell Programming and Scripting

find filenames like unix commands

Hi, I need to write a small script to search in some specific directories to check if any file is present with a unix command name... Means if the directory contains any files like cat, vi, grep, find etc i need to list those files into a file. Please help Thanks, D (6 Replies)
Discussion started by: deepakgang
6 Replies

5. UNIX for Dummies Questions & Answers

History feature in Unix

Hi, I'm working on two flavours of unix namely HP-UX and sun solaris. In HP-UX, for executing the previous commands, i use the arrow keys. But on sun solaris this is not working. Can anyone explain how to use history feature effectively in sun solaris os? Thanks (4 Replies)
Discussion started by: venkatesht
4 Replies

6. UNIX and Linux Applications

Unix History

Hi everybody Im Megadrink!!! This is my first thred. Ive recently been introduced to Unix and i was interested in Unix's History. Can anyone give me a breif History On Unix. Just when it was invented/released. Maybe someother cool things about it. Thx for the information in advance!! :D (2 Replies)
Discussion started by: Megadrink
2 Replies

7. What is on Your Mind?

Filenames with hyphens - UNIX style?

Hello everyone! Filenames with hyphens instead of everything else that can be as a space - is it particularly UNIX style of naming or a general practice? It kinda is so in my mind that DOS guys use underscores as spaces and UNIX guys use dashes. Is it so? (5 Replies)
Discussion started by: guest115
5 Replies

8. Shell Programming and Scripting

Appending date to UNIX Filenames

Hello, I have a file name in the below format and have to append the date as _$currdate. kchik_UK_lo.txt_$currdate. The above should be the format and I dont want to put entire filename as above in the code, but it should give me the output as the above filename.Can anyone please help... (7 Replies)
Discussion started by: harika03
7 Replies

9. Shell Programming and Scripting

History file in UNIX

commands to view the history file in unix. I am not sure whether it is bash_history.sh (1 Reply)
Discussion started by: ramkumar15
1 Replies

10. What is on Your Mind?

The Great History of UNIX (1969-1999) | 30 Years of UNIX History | YouTube Video

I am pleased to announce this new video in 1080 HD for UNIX lovers honoring thirty years of UNIX history spanning from 1969 to 1999 presented in 150 seconds (two and a half minutes) in 1080 HD, celebrating the 50th anniversary of UNIX. The Great History of UNIX (1969-1999) | 30 Years of UNIX... (8 Replies)
Discussion started by: Neo
8 Replies
ldns-testns(1)						      General Commands Manual						    ldns-testns(1)

NAME
ldns-testns - simple fake nameserver tool SYNOPSYS
ldns-testns [ OPTION ] datafile DESCRIPTION
ldns-testns can be used to provide answers to DNS queries for testing. The answers are premade, and can be tailored to testing needs. The answers can be wildly invalid or unparseable. This program is a debugging aid. It is not efficient, especially with a long config file, but it can give any reply to any query. This can help the developer pre-script replies for queries. It listens to IP4 UDP and TCP by default. You can specify a packet RR by RR with header flags to return. ldns-testns is not meant for production use. OPTIONS
-r Listens to a random port. The port number is printed to stdout. -p port Listens to the specified port. -f num Forks this number of additional instances that serve the same ports and same datafile. They do not exit; printed is 'forked pid: <num>' and you have to kill them yourself. -v Outputs more debug information. It is possible to give this option multiple times to increase verbosity level. -6 Bind to IP6 address instead of IP4. Use together with -p. datafile The data file is read on start up. It contains queries and the packets that should be sent in answer to those queries. The data file format is explained below. DATA FILE FORMAT
The data file format has ';' to denote comment. A number of entries are processed first to last. The first matching entry is used to answer the query with. This is a line based format. DNS resource records are entered in zone-file format. You can use $ORIGIN and $TTL directives. Zone file '(' and ')' to span multiple lines are not allowed. $ORIGIN origin $TTL default_ttl ENTRY_BEGIN ; first give MATCH lines, that say what queries are matched ; by this entry. ; 'opcode' makes the query match the opcode from the reply ; if you leave it out, any opcode matches this entry. ; 'qtype' makes the query match the qtype from the reply ; 'qname' makes the query match the qname from the reply ; 'serial=1023' makes the query match if ixfr serial is 1023. MATCH [opcode] [qtype] [qname] [serial=<value>] MATCH [UDP|TCP] MATCH ... ; Then the REPLY header is specified. REPLY opcode, rcode or flags. (opcode) QUERY IQUERY STATUS NOTIFY UPDATE (rcode) NOERROR FORMERR SERVFAIL NXDOMAIN NOTIMPL YXDOMAIN YXRRSET NXRRSET NOTAUTH NOTZONE (flags) QR AA TC RD CD RA AD REPLY ... ; any additional actions to do. ADJUST copy_id ; 'copy_id' copies the ID from the query to the answer. ; 'sleep=10' sleeps for 10 seconds before giving the answer (TCP is open) ADJUST [sleep=<num>] ; sleep before giving any reply ADJUST [packet_sleep=<num>] ; sleep before this packet in sequence SECTION QUESTION <RRs, one per line> ; the RRcount is determined automatically. SECTION ANSWER <RRs, one per line> SECTION AUTHORITY <RRs, one per line> SECTION ADDITIONAL <RRs, one per line> EXTRA_PACKET ; follow with SECTION, REPLY for more packets. HEX_ANSWER_BEGIN ; follow with hex data ; this replaces any answer packet constructed ; with the SECTION keywords (only SECTION QUERY ; is used to match queries). If the data cannot ; be parsed, ADJUST rules for the answer packet ; are ignored HEX_ANSWER_END ENTRY_END AUTHOR
Written by the ldns team as an example for ldns usage, and for testing purposes. REPORTING BUGS
Report bugs to <ldns-team@nlnetlabs.nl>. COPYRIGHT
Copyright (C) 2006-2008 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 Dec 2006 ldns-testns(1)
All times are GMT -4. The time now is 09:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy