General :: Case Sensitive Directory
Dec 14, 2010i am trying to set up a couple of pages in some special directories URL...but i need it that if they type URL... for them also to go to the site and not to a 404
View 2 Repliesi am trying to set up a couple of pages in some special directories URL...but i need it that if they type URL... for them also to go to the site and not to a 404
View 2 RepliesThe sort utility in Ubuntu 10.04 (Lucid) always sort by case-insensitive, just like if you specify --ignore-case to it. The two sort just give the same result:
[Code]....
But sometimes I want to sort by case-sensitive, so the upper-case letters come first, then lower-case letter.
my ubuntu 8.04 is GNOME based.I am using kpdf 0.5.10 (using kde 3.5.10)
In find dialog box > options
only case sensitive is available to mark/unselect while
find backwards ,
[code]....
I recently upgraded to Fedora release 12 (Constantine) and noticed that sort is no longer case insensitive.
echo -e "ba
a
A" | sort
a
A
ba
I think it should be:
a
ba
A
The -f flag does not change anything. I have sort (GNU coreutils) 7.6.
Some of my files and directories were mysteriously disappearing and some of my shell scripts were failing after the upgrade to Fedora Core 12. After some debugging I found out that file name globbing is no longer case sensitive in Fedora Core 12, that is
rm -rf [a-z]*
now also trashes all files and directories starting with [A-Z], which explains the removed files and directories
and
ls [a-z]*
now also includes files and directories starting with [A-Z], which caused my shell scripts to fail.
Is this a bug or a 'feature'?
Anybody know of a way to search only for similar case sensitive files? By which I mean doing a wildcard search across a drive & the only results are like: Abc.txt abc.txt VID_001.avi Vid_001.AVI .. etc.
I've already tried searching the forums & google but the closest I've found is regarding files with increasing numbers (music_001.mp3, music_002.mp3, etc), which doesn't quite fit with my issue, as they would be seen as different files on a case insensitive OS.
I recently used D�j� Dup for the first time. I chose to backup my home folder and most dot folders (do most of you backup all your home dir dot folders?). Even though D�j� Dup uses gpg, is there any sensitive data stored in dot folders within my home directory?
BTW, I did an incremental backup up to an older D�j� Dup backup folder on my NTSF external HDD and got an error. Is this because it is NTFS? I then did an incremental backup to a backup folder on my PC (ext4) and got no error. In the picture attached, would that setting mean the backup will continue to grow to a huge size? Would it be better to keep backups for a week?
I am trying to mount a samba share using an fstab entry
//srv1/Corporate /winfiles cifs user,uid=0,rw,noauto,suid,credentials=/root/wnmount_credentials.txt 0 0
The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this
username=********
password=********
Kernel 2.6, Slackware 12.0
mkisofs 2.01
I do 'mkisofs -iso-level 1 -o image John Smith.txt'. Only an example. When I mount image, ls outputs john_smi.txt. So it has shorten to 8.3 and translated ' ' into '_'. This is in accordance with the manual, although it doesn't say the conversion will be done.
Quote:
-iso-level level
.........................
With all iso9660 levels from 1..3, all filenames are restricted to upper case letters, numbers and the underscore (_).
...........................
However, as it did not reject the file name, it should have converted it to all upper case, it seems to me. And -iso-level 2|3 does the same thing.
Code:
root@darkstar:~# mkisofs -iso-level 1 -o image John Smith.txt
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
[code]....
The touchpad on my Lenovo Z560 is to sensitive. I went into the mouse setting and adjusted the pointer speed sensitivity as low as possible but I don't see any difference. The lightest touch will move the pointer. I saw where some have modified the xorg.conf file but I can't find it in Ubuntu 11.04. From what I could find with Google this laptop uses a Synaptics touchpad. I installed Gpointing-device-settings and was able to change the speed but not the sensitivity. How can I make the touchpad less sensitive?
View 10 Replies View RelatedI tried to add my wife , and when I put in a password for her, this error comes up."Please set a valid user name consisting of a lower case letter followed by lower case letters and numbers." I did all that and I still can't set a password for her.
View 3 Replies View RelatedI've written a simple perl code to learn switches in perl.My code is pasted below,
#!/usr/bin/perl
$opt = 1;
switch($opt) {
[code]...
I know this is a rather odd question, but like in the old days you can get one drive bay desktop cases.
View 4 Replies View RelatedAs above can I turn Case Sensitivity off for terminal in linux?
View 3 Replies View RelatedWhen my internet is slow & i try to open a web page then I get message in my firefox 3.6.3 that 'can't find server at www.website.com'. It isn't that URL is wrong but maybe connection to DNS server is slow or something similiar. I remember that wget tries 20 times by default to get the file (browsing is downloading+ decoding+ displaying).Does any web browser or addon tries repeatedly till it is successful in contacting website server? It can tell me 'trying nth attempt at www.website.com'
View 2 Replies View RelatedWhat would be the best way to verify files in a folder are all lower case and if a file is not lower case, output the filename to the screen.
View 11 Replies View RelatedHow you disable it? it makes no sense you have to type all those non capital and capital letters just to access a directory correctly.
in windows you just type the name and it detects whatever you type capital or not...
while learning to write bash scripts, i decided to write some script that, given an integer as input, will tell you the square root of that integer (provided the integer in question is a perfect square). i have already done on using primarily if statements and a while loop. i decided that using a case statement would be a lot simpler and i would be able to make the script more functional. here is what i have so far
[Code]....
i have tried all posible combos of using -ge or >= but i get pretty much the same thing.
the idea is, for now, if the input is greater than or equal to 0 that it will echo test. can you do this sort of thing with case statements? or will it only work if i give it specific values like [1-9] (if this is the case then i dont think the case statement will work for what i want to do)
I am facing problem with the following script. Could you please look into this.echo 'Enter Staging number' case $STGNUM in
1)
for i in {'stg1-greg','stg1-marsha','stg1-peter','stg1-jan','stg2-greg','stg2-marsha','stg2-peter','stg2-jan'};do echo $i; ssh $i sudo -u dev /opt/usr/apps/workflow/stopwf.sh;done;
[code]....
Linux kernel 2.6, Slackware 12.0
How do I set case insensibility in searches running vim? I thought I could find this in the manual or the in browsing help within the program itself, but it was not long before I realized I was mistaken.
I'm rsync'ing a bunch of files between a Windows and a Linux system. Since not all Windows care about case, some of the files on the Windows system no longer have the same casing as they had on the Linux system. But rsync now treats these files as different and uploads a new copy.
Is it possible to have rsync ignore the case?
I am not able to figure out how can I do case-insensitive search using the find command.
I tried
find . -name -i pattern
And it does not work.
Is there a way of making rsync (an offspring of rcp) case insensitive? Perhaps mounting the file system (not linux) in some special way?
View 14 Replies View RelatedIs there any inbuilt functionality in Unix shell script so that i can able to convert lower case string input to an upper case? I dont want to use high level languages like java,python or perl for doing the job.
View 4 Replies View RelatedWhat I want to achieve is, if I have following in my file:
x y
X z
I should be able to find the pair, x Y and replace it with x a. So, basically I want to search for case sensitive 'x' but search and replace case insensitive 'y'. How should I do it? Can this be achieved with 'sed' command?
Is the crontab saved in case of server restarts?
View 2 Replies View RelatedKernel 2.6.21.5, Slackware 12.0 bash 3.1. I have several times tried to log into my linux box and have seen the password prompt written in upper case chars. Can this be caused by something located on the other side of my connexion? Or by malignous software resident in my hard disk?
View 2 Replies View RelatedTwo files contain:
file1:
cat
dog
fish
hamster
file2:
cat
fish
ferret
dog
How do you change the case of the letters in file1.txt to uppercase and compare with file2 all in one command?
I have a device that is only accessible using wireless. By default it starts an ad-hoc wireless I can connect to. The problem is there is no internet access on the ad-hoc. So I'm connecting it to my router using the commands (its a gnu/linux):
iwconfig ath0 mode managed essid "ESSID"
ifconfig ath0 192.168.1.25 netmask 255.255.255.0 up
route add default gw 192.168.1.1
I want to add it to start up script but I don't want to get locked out of the device forever if something happens to the router (its really old). Is there any way to check if the connection failed and create an ad-hoc instead if it failed?
Is there a flag or option to discard case sensitivity to find whether package is installed or not?
from http://www.rpm.org/max-rpm/s1-rpm-query-parts.html
Quote:
Note, however, that RPM is a bit picky about specifying package names. Here are some queries for the C library that won't work:
Code:
rpm -q libc-5.2.1
Let say I want to find out whether PyQt is installed or not but not sure the exact case, i.e. pyqt or Pyqt or ....
is there a way to find whether a package is installed or not without knowing its case exactly?