Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i got some questions about bash, i am using bash-3.1
1. how can i turn off the case sensitivity? you have to type exactly the letters i want to turn this off
2.how do i run files with the extention .run on the command line?
.run files are normally simple shell scripts. Just type "sh <run-file>".
Normally it is not possible to turn off case sensitivity. You can turn make globbing case insensitive and also pattern matching, but not in general.
Under Linux "filename", "FileName" and "Filename" name different files. So if you had a file for each of that name and you enter "FILENAME". What file should be selected??
my shift keys are working, whats wrong with my spelling 0_0
i just figure how to mount/adduser and change wms but i dont know how to switch users on the console yet how do you do this?
so how do you disable the case sensitivity in slackware? having to type lower and upper cases is just slowing down productivity. how do you make it auto detect whatever you typing like in dos?
so how do you disable the case sensitivity in slackware? having to type lower and upper cases is just slowing down productivity. how do you make it auto detect whatever you typing like in dos?
As mentioned earlier, Linux is case-sensitive regarding commands and filenames (and most things). So, you cannot "turn off" case sensitivity.
Dos does not "auto detect" anything when you type-- it simply ignores case, so "dos" and "DoS" and "dOs" will all refer to a file named "DOS". So, if you have one file named "Dos" and you try to create a file named "DOS" it will tell you the file already exists :/
What exactly are you having to type in both cases that is slowing you down so much? I ask because maybe you would like to make some lowercase aliases for commands that are dual-case? For example, if you need to type a command like "PrintItALL", you could make an alias of "printitall" so you could run the command by typing that all in lowercase. Might that help?
If you have a graphical login, look for the menus (probably at the
bottom). There should be a menu called "Sessions" or some such that will list choices like KDE, XVCE, FVWM2, etc., etc.
OTOH, if you enter X by typing startx at the console, then it is determined first by ~/.xinitrc. If there is no ~/.xinitrc, it will be determined by a file called "xinitrc" in either /etc/X11 or /etc/X11/xinit (sorry I'm at work on a M$ box ). That file will probably be a sym-link to xinitrc.<currentwm>.
To change your wm, you can delete ~/.xinitrc and create a new symlink as ~/.xinitrc to the desired xinitrc in the /etc/X11 directory describe above, or (better) make a copy of that xinitrc as ~/.xinitrc, and edit it to your liking.
As long as your bash is compiled with readline support on it you should be able to disable at least the case sensitivity for TAB autocompletion, like this:
Code:
echo 'set completion-ignore-case on' > ~/.inputrc
However, as the other people have said, this is something you shouldn't be doing. The sooner you open your eyes and accept the reality the happier you will be. You can't disable case sensitivity as a whole, and ignoring the case will only bring you problems and nothing else. Often people will give you detailed instructions on how to do the things, if you ignore the case then you will do everything the wrong way, and then you will end wandering why the heck nothing works as it should.
It's the way Linux (and I'd say 100% of UNIX systems) are. It's also the way that real life is. So, people usually write "Dear John" and not "dear john" when writing a letter. It helps to avoid ambiguity and confusion when your best friend is called something like Crystal Lamb. I guess that's also why tredegar above asked about the health state of your SHIFT key, because you don't use any capitals at all in your posts. Not that it harms too much the thread though.
i never use capitals either (its just an extraneous keystroke).
when i was in college we created a my-shell program in lab.
case-insensitivity can theoretically be accomplished by doing something like brushing tr [A-Z] [a-z] across every command the user submits to the command-line but it would likely hinder more than it would help.
my systems are usually 90 % case-insensitive because most commands are lower-case and all my filenames dont have weird punctuation like capitals, spaces, ... so i stay sane and productive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.