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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137
Rep:
Depends on the command and how the developer coded it, if the dev allows -r and -R then you can, try reading the man page for the command in question, whatever that is.
I meant within linux, just taking a class and it's confusing why you could use both the lower and upper case of a letter where most other letters mean two different things, like -a list all filenames where as -A excludes . and .. special files. I'm thinking what Keith replied makes sense with the developer codes it makes sense. Thanks,
For example the "ls" command uses both - for different functions. Each command may be different. Or not. It's maybe boring, but the only way to be sure is to read the doco.
It is pretty unusual for "-r" and "-R" to mean the same thing in a given command. In ls, "R" means "recursive" and "-r" reverses the sorting order. In [I]cp/I] and rsync, "-r" means "recursive", and I don't offhand know what "-R" means in either one without looking at the respective manpages. OK, I see that in cp they do mean the same thing.
I meant within linux, just taking a class and it's confusing why you could use both the lower and upper case of a letter where most other letters mean two different things, like -a list all filenames where as -A excludes . and .. special files. I'm thinking what Keith replied makes sense with the developer codes it makes sense. Thanks,
Just take it slowly, Linux commands are case sensitive. You'll get a hang of it once you get you used to it.
Android is also case sensitive since it uses Java, if you keep repeating the same mistake you'll get a hang of it and you will easily remember next time you made the same mistake.
Last edited by JJJCR; 03-16-2016 at 08:47 PM.
Reason: edit
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.