Where is it that SuSE sets the single letter l to be equal to ls -l for bash users? I want to steal that for kbuntu. -- _____________________________________ John Andersen
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:01 Til: suse-linux-e@suse.com Emne: [SLE] l = ls -l Where is it that SuSE sets the single letter l to be equal to ls -l for bash users? I want to steal that for kbuntu. -- _____________________________________ John Andersen Make a shell script l in /usr/bin "ls -l $*" It works.
On Tuesday 01 August 2006 22:07, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:01 Til: suse-linux-e@suse.com Emne: [SLE] l = ls -l
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
Make a shell script l in /usr/bin "ls -l $*" It works.
But there exists no such shell script that I can find. By the way, your mailer is not set up to handle quoted text properly. I wonder who made it... Microsoft? -- _____________________________________ John Andersen
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:12 Til: suse-linux-e@suse.com Emne: Re: SV: [SLE] l = ls -l On Tuesday 01 August 2006 22:07, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:01 Til: suse-linux-e@suse.com Emne: [SLE] l = ls -l
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
Make a shell script l in /usr/bin "ls -l $*" It works.
But there exists no such shell script that I can find. By the way, your mailer is not set up to handle quoted text properly. I wonder who made it... Microsoft? -- _____________________________________ John Andersen Make a file l in /usr/bin with the command in ls -l $* Chmod 777 /usr/bin/l
On Tuesday 01 August 2006 22:15, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:12 Til: suse-linux-e@suse.com Emne: Re: SV: [SLE] l = ls -l
On Tuesday 01 August 2006 22:07, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:01 Til: suse-linux-e@suse.com Emne: [SLE] l = ls -l
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
Make a shell script l in /usr/bin "ls -l $*" It works.
But there exists no such shell script that I can find.
By the way, your mailer is not set up to handle quoted text properly.
I wonder who made it... Microsoft?
Make a file l in /usr/bin with the command in ls -l $* Chmod 777 /usr/bin/l
Your mailer is still broke. Look: Its not that I don't know how to do it via shell scripts. I want to know how SUSE did it. There is no file named "l" on suse. If there were, "which l" would tell me where it was. -- _____________________________________ John Andersen
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:20 Til: suse-linux-e@suse.com Emne: Re: SV: SV: [SLE] l = ls -l On Tuesday 01 August 2006 22:15, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:12 Til: suse-linux-e@suse.com Emne: Re: SV: [SLE] l = ls -l
On Tuesday 01 August 2006 22:07, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:01 Til: suse-linux-e@suse.com Emne: [SLE] l = ls -l
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
Make a shell script l in /usr/bin "ls -l $*" It works.
But there exists no such shell script that I can find.
By the way, your mailer is not set up to handle quoted text properly.
I wonder who made it... Microsoft?
Make a file l in /usr/bin with the command in ls -l $* Chmod 777 /usr/bin/l
Your mailer is still broke. Look: Its not that I don't know how to do it via shell scripts. I want to know how SUSE did it. There is no file named "l" on suse. If there were, "which l" would tell me where it was. -- _____________________________________ John Andersen Try the command alias
On Tuesday 01 August 2006 22:22, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:20 Til: suse-linux-e@suse.com Emne: Re: SV: SV: [SLE] l = ls -l
On Tuesday 01 August 2006 22:15, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:12 Til: suse-linux-e@suse.com Emne: Re: SV: [SLE] l = ls -l
On Tuesday 01 August 2006 22:07, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:01 Til: suse-linux-e@suse.com Emne: [SLE] l = ls -l
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
Make a shell script l in /usr/bin "ls -l $*" It works.
But there exists no such shell script that I can find.
By the way, your mailer is not set up to handle quoted text properly.
I wonder who made it... Microsoft?
Make a file l in /usr/bin with the command in ls -l $* Chmod 777 /usr/bin/l
Your mailer is still broke.
Look: Its not that I don't know how to do it via shell scripts. I want to know how SUSE did it. There is no file named "l" on suse. If there were, "which l" would tell me where it was.
Try the command alias
That seems to be it. Thanks. -- _____________________________________ John Andersen
All the aliases are set in /etc/bash.bashrc You can set alias in /etc/profile too if you like, or copy suse's bash.bashrc, its got quite a lot of aliases to frequently used commands. -J
From: "Jigish Gohil" <jigish.gohil@gmail.com>
All the aliases are set in /etc/bash.bashrc
You can set
alias in /etc/profile too if you like, or copy suse's bash.bashrc, its got quite a lot of aliases to frequently used commands.
What I cannot understand is that he didn't already understand about /etc/profile, /etc/bashrc, ~/.bash_profile, and ~/.bashrc if he figures he wants to make a contribution to a major distro. {O.O}
On Tuesday 01 August 2006 22:41, jdow wrote:
if he figures he wants to make a contribution to a major distro.
I wanted to replicate it in my copy of kbuntu. What the hell do you monitor a mutual help list for if all you have to contribute are snide remarks about people asking for help? -- _____________________________________ John Andersen
On 02/08/06 00:41, jdow wrote:
From: "Jigish Gohil" <jigish.gohil@gmail.com>
All the aliases are set in /etc/bash.bashrc
You can set
alias in /etc/profile too if you like, or copy suse's bash.bashrc, its got quite a lot of aliases to frequently used commands.
What I cannot understand is that he didn't already understand about /etc/profile, /etc/bashrc, ~/.bash_profile, and ~/.bashrc if he figures he wants to make a contribution to a major distro. I can understand it quite easily: he never ran into it before, and never had any need to go looking in the various profile-related files.
Your whole remark is a) condescending, and b) a gross non sequitur. People who participate in this, or any, mailing list contribute what they can, where they can, and they ask for help when they need it. It is not the business or the concern of anyone else who asks what questions, for whatever reasons. Your contributions to this thread have merely served to significantly decrease the signal-to-noise ratio of this list.
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
Nonono these dists are not worth it :p
But there exists no such shell script that I can find.
I wonder who made it... Microsoft?
Where did you pick that up?
Look: Its not that I don't know how to do it via shell scripts. I want to know how SUSE did it. There is no file named "l" on suse. If there were, "which l" would tell me where it was.
If you used `type l` you would have known. Jan Engelhardt --
On Thursday 03 August 2006 00:12, Jan Engelhardt wrote:
I want to steal that for kbuntu.
Nonono these dists are not worth it :p
Actually, Kbuntu is not all that bad. I disagree with their philosophy of letting joe user make any number of changes with just their own password, rather than Root's password, because that means your kids could install all sorts of stuff with their own login. That an the fact that its Debian are my only complaints. ;-) -- _____________________________________ John Andersen
Check bash.bashrc for alias l="l -alf" you well need to add an alias to your .bash file
Look: Its not that I don't know how to do it via shell scripts. I want to know how SUSE did it. There is no file named "l" on suse. If there were, "which l" would tell me where it was.
jhb wrote:
Check bash.bashrc for alias l="l -alf" you well need to add an alias to your .bash file
The type command shows what kind of command it is. $ type l l is aliased to `ls -alF' Once you know it's an alias, you can search the usual suspects, to see where it's set.
Check /etc/bash.bashrc and your well find a list of alias add the one you want to kbunta
Look: Its not that I don't know how to do it via shell scripts. I want to know how SUSE did it. There is no file named "l" on suse. If there were, "which l" would tell me where it was.
On Friday 04 August 2006 20:08, jhb wrote:
Check /etc/bash.bashrc and your well find a list of alias add the one you want to kbunta
Thanks for your help, but.... Does NOBODY read a thread before jumping in with a reply to the first post? -- _____________________________________ John Andersen
On Saturday 05 August 2006 08:44, John Andersen wrote:
On Friday 04 August 2006 20:08, jhb wrote:
Check /etc/bash.bashrc and your well find a list of alias add the one you want to kbunta
Thanks for your help, but....
Does NOBODY read a thread before jumping in with a reply to the first post?
:)) I think it is a measure for the obviousity of the question... ;) Cheers, Leen
On Friday 04 August 2006 23:09, Leendert Meyer wrote:
:)) I think it is a measure for the obviousity of the question... ;)
Or the inability to figure out threaded mail readers..... ;-0 -- _____________________________________ John Andersen
On Saturday 05 August 2006 09:14, John Andersen wrote:
On Friday 04 August 2006 23:09, Leendert Meyer wrote:
:)) I think it is a measure for the obviousity of the question... ;)
Or the inability to figure out threaded mail readers..... ;-0
LOL ... Hmm, new emoticon? Cheers, Leen
On 06/08/01 22:11 (GMT-0800) John Andersen apparently typed:
I wonder who made it... Microsoft?
It's right there in his message headers: Microsoft Office Outlook, Build 11.0.5510 -- "Let us not become weary in doing good, for at the proper time we will reap a harvest if we do not give up." Galatians 6:9 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/
On Wednesday 02 August 2006 12:30, Felix Miata wrote:
On 06/08/01 22:11 (GMT-0800) John Andersen apparently typed:
I wonder who made it... Microsoft?
It's right there in his message headers: Microsoft Office Outlook, Build 11.0.5510 --
Yes, I know. That's why I mentioned it. I did as much as I could to encourage him to set it right. He was trying to help me with my question, so I didn't want to beat him about the head and shoulders for his choice of MUAs. -- _____________________________________ John Andersen
On Thursday 03 August 2006 06:45, John Andersen wrote:
On Wednesday 02 August 2006 12:30, Felix Miata wrote:
On 06/08/01 22:11 (GMT-0800) John Andersen apparently typed:
I wonder who made it... Microsoft?
It's right there in his message headers: Microsoft Office Outlook, Build 11.0.5510 --
Yes, I know. That's why I mentioned it.
I did as much as I could to encourage him to set it right.
He was trying to help me with my question, so I didn't want to beat him about the head and shoulders for his choice of MUAs.
Recently I discovered that Outlook can prefix quoted text with e.g. "> " ( greater_than + space) 8-O. It was one of those few things I could change, so I did that at once! ;P So it seems it's just MS's quirky default setting, and maybe the OP not knowing that he could change it (if he would like to ...). OTOH, perhaps he's running Outlook Express, and perhaps OE lacks this feature... Cheers, Leen
So it seems it's just MS's quirky default setting, and maybe the OP not knowing that he could change it (if he would like to ...).
OTOH, perhaps he's running Outlook Express, and perhaps OE lacks this feature...
MSOE is always quirky. In German for example, subjects to replies are prefixed with "AW:" rather than "Re:", supposedly to stand for "Antwort" (reply). Too bad that "Re" is not an abbreviation of "reply" but Latin "res". Jan Engelhardt --
On Sunday 06 August 2006 01:54, Jan Engelhardt wrote:
MSOE is always quirky. In German for example, subjects to replies are prefixed with "AW:" rather than "Re:", supposedly to stand for "Antwort" (reply). Too bad that "Re" is not an abbreviation of "reply" but Latin "res".
Language specificity hardly constitutes a quirk in my book. There are lots of reasons to dis MSOE, but this is not one of them. -- _____________________________________ John Andersen
From: "Tage Danielsen" <tage@htd-information.dk>
Fra: John Andersen [mailto:jsa@pen.homeip.net]
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
Make a shell script l in /usr/bin "ls -l $*" It works.
John, if you have to ask go learn your shell commands a little bit better. In particular study the alias command. (Of course, you could, too, Tage. {^_-}) There are several places within the login sequence where the alias command could be installed. I also have aliases for ls -A, ls -lA and some others that I use a lot. {^_^} Joanne
On Tuesday 01 August 2006 22:36, jdow wrote:
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
Make a shell script l in /usr/bin "ls -l $*" It works.
John, if you have to ask go learn your shell commands a little bit better. In particular study the alias command. (Of course, you could, too, Tage. {^_-}) There are several places within the login sequence where the alias command could be installed. I also have aliases for ls -A, ls -lA and some others that I use a lot.
Yes, I had to ask, because I've never (knowingly) used alias before. You will have to forgive me, I've only been using linux since redhat 5.1. But since you admit there are several ways to do this, why jump on someone for asking exactly how suse did it? -- _____________________________________ John Andersen
From: "John Andersen" <jsa@pen.homeip.net>
Yes, I had to ask, because I've never (knowingly) used alias before. You will have to forgive me, I've only been using linux since redhat 5.1.
Red Hat 5.1 is where I learned the Alias trick. I discovered a few of their aliases by accident. Actually I had suspected they were there. The Amiga people adopted a lot of the 'ix world tricks, some clever mainframe tricks, some clever VMS tricks, and so on. I figured alias would be on 'ix. But I tripped over "ll", I think it was, early on. (That is an alias for "ls -l".) It's surprising you never ran across it. It's a wonderful tool! (And I'm a little testy today. I explained to someone why I tend to sign nearly anonymously most of the time. I was probably one of the very first online stalking victims in the world. It was a nasty nasty experience. I've been very wary ever since.) {^_^} Joanne
On Wednesday 02 August 2006 02:07, Tage Danielsen wrote:
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
Possibly alias can help you here. http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=27 Bryan **************************************** Powered by Mepis Linux 3.4-3 KDE 3.5.2 KMail 1.9.1 This is a Microsoft-free computer Bryan S. Tyson bryantyson@earthlink.net ****************************************
On Wed, 2006-08-02 at 08:07 +0200, Tage Danielsen wrote:
-----Oprindelig meddelelse----- Fra: John Andersen [mailto:jsa@pen.homeip.net] Sendt: 2. august 2006 08:01 Til: suse-linux-e@suse.com Emne: [SLE] l = ls -l
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
Why a shell script? Just use an alias. If the file doesn't in your home create it with the touch command: touch .alias or just vi .alias and add: alias l = `ls -l` save it and then . .alias to freshen your env. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
On 02/08/06 00:01, John Andersen wrote:
Where is it that SuSE sets the single letter l to be equal to ls -l for bash users?
I want to steal that for kbuntu.
This is the sort of stuff that typically gets stuffed into a profile file or shell rc file. In this case, you can find this and a whole bunch of other aliases set in /etc/bash.bashrc (SuSE 9.3, may vary with other versions). Typical places to look for user environment settings, including aliases and environment variables, umask value, and so on, are ~/.profile, ~/.alias, ~/.bashrc, various files in /etc, and anything in /etc/profile.d.
participants (12)
-
Bryan S. Tyson
-
Darryl Gregorash
-
Felix Miata
-
James Knott
-
Jan Engelhardt
-
jdow
-
jhb
-
Jigish Gohil
-
John Andersen
-
Ken Schneider
-
Leendert Meyer
-
Tage Danielsen