The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
30 views

yum case (in)sensitive

As far as I know, yum list is case insensitive, while yum install and yum remove are case sensitive -- probably as a security feature to prevent unintended system changes. Is there a way to change ...
2
votes
1answer
61 views

bash case-insensitive commands matching

Is it possible for bash to find commands in a case-insensitive way? eg. these command lines will always run python: python Python PYTHON pyThoN
1
vote
2answers
33 views

OS X filesystem case insensitivity corrupts vlc command

vlc -I rc from OS X Terminal bash prompt returns error: VLC media player 2.2.3 Weatherwax (revision 2.2.3-3-g0777f11) [0000000100233778] core libvlc error: No plugins found! Check your VLC ...
1
vote
1answer
50 views

How do I view the case-sensitive file names of iso9660/Joliet+UCS-3 volumes?

I have an ISO that I am trying to use to install software via Wine. I have the ISO mounted as a loopback device. The Windows installer keeps complaining that it cannot locate particular CAB files and ...
0
votes
1answer
67 views

delete line that contains a case insensitive match

I have a file that contains information as so: 20 BaDDOg 31 baddog 42 badCAT 43 goodDoG 44 GOODcAT and I want to delete all lines that contain the word dog. This is my desired output:...
0
votes
1answer
108 views

sort and uniq commands not running as expected when run though cron

Below is a part of script which gives proper output when run manually but gives incorrect output when run using cron: sort < file1.out | uniq -ic |sort -nr> file2.out When run on the command ...
0
votes
2answers
22 views

Surround a pattern, not changing it, while searching for it case-insensitively

Sorry if this has been asked before, but I haven't found anything so far. Here's the thing: I have a string and a pattern, and want to surround the pattern inside the string with brackets. While I ...
7
votes
4answers
2k views

Is the username in Unix case sensitive?

Is ssh abc@servername different from ssh Abc@servername? Does the case of the username matter in Unix? My user authenticates via LDAP.
3
votes
1answer
169 views

bash - ignore case but disallow autocomplete if ambiguous

Recently i face inconvenient when using bash auto complete with ignore case. Let's say i have this directories: [xiaobai@xiaobai test]$ l total 20K 3407873 drwx------. 60 xiaobai xiaobai 4.0K May 25 ...
11
votes
1answer
630 views

How do case-insensitive filesystems display both upper and lower case file names?

This question occurred to me the other day when I was working on a development project that relies on an opinionated framework with regard to file names. The framework (irrelevant here) wanted to see ...
1
vote
1answer
225 views

Batch rename “case duplicates”

I have a folder on my Linux system that is cross-synchronized with other computers, some of them with Windows. The problem is that in that folder there are files that are "case duplicates", i.e. their ...
3
votes
2answers
347 views

Finding duplicate files by name ignoring the case in subdirectories

How is it possible to list duplicate file names on a Linux system ignoring the case including all subdirectories Files should not be compared by their content but only by their names. The output ...
30
votes
1answer
2k views

Why can Shell builtins not be run with capital letters but other commands can?

Why is this? When I do this CD ~/Desktop It doesn't take me to the Desktop. But this: echo "foo bar" | GREP bar gives me: bar
0
votes
0answers
78 views

How Linux is implementing case sensitivity and what are its benefits over windows [duplicate]

Please do not mark it as duplicate ... I already read this post I am asking this question here because due to migration from Windows to Linux, I am facing multiple functionalities break. Linux is ...
10
votes
3answers
320 views

Can I force `man` to do lower case sensitive matching?

When I search man pages, the search is case sensitive, but only with regard to upper case letters. E.g., x will match x and X whereas X only matches x. This is the man-db version of man, used on ...
1
vote
1answer
91 views

Paradox about a-z vs A-Z

I wrote a shell script to recognize the type of character printf "Enter a character: " read var case "$var" in [a-z]) echo "You entered a lower case alphabet." ;; [A-Z]) echo "...
3
votes
4answers
1k views

How to prepare files for rsync on a case insensitive filesystem?

I am transferring a large number of files on a HFS+ filesystem. The files are currently on ext2 partitions. I have conflicts due to case insensitivity of the target partition (HFS+). I want to ...
6
votes
1answer
4k views

grep: Ignoring GREP_OPTIONS to search case-sensitive

I have set GREP_OPTIONS="--ignore-case --color" in ~/.bashrc as I normally want grep to work case-insensitive. However, there are times when I need grep to actually search case-sensitive, but the man ...
1
vote
2answers
320 views

`echo -e 'Q\ns\nV' | sort` doesn't sort

Why do : $ echo -e 'Q\ns\nV' | sort outputs Q s V without changing the order of my list (taking in account the lower/uppercase ?)
18
votes
1answer
44k views

bash - how to uppercase the command line argument?

I searched SO and found that to uppercase a string following would work str="Some string" echo ${str^^} But I tried to do a similar thing on a command-line argument, which gave me the following ...
25
votes
7answers
36k views

How to match case insensitive patterns with ls?

I would like to list all files matching a certain pattern while ignoring the case. For example, I run the following commands: ls *abc* I need to see all the file that have "abc" as a part of the ...
7
votes
4answers
4k views

Case-insensitive file system for production server?

The initial situation looks like this: The corporate software is PHP-based. It is delivered by Apache 2 on a Windows 2003 Server. It is big. It is a legacy of rather unprofessional developers who ...
9
votes
2answers
967 views

Case-preserving search and replace in vim?

In vim, I know I can search with or without case sensitivity. But if I want to search for a string in either upper or lower case, and replace it with a replacement of the same case, is that possible ...
9
votes
4answers
5k views

change entire directory tree to lower-case names

I'm working on a website conversion. The files as they were linked and served from the web server were case insensitive. But, I've made a dump of the site on my linux system and I'm writing scripts to ...