On 7 July 2016 at 08:06, Lisi Reisz wrote:
>
> So have you followed the suggestion to test whether it is in fact bash that
> you are in fact using?
>
> lisi@Tux-II:~$ echo $SHELL
> /bin/bash
> lisi@Tux-II:~$
In case anyone is unaware, it might be generally helpful to clarify what
this test actual
> On Jul 6, 2016, at 11:33 PM, Peter Ludikovsky wrote:
>
> No, chsh changes the login shell for the user within /etc/passwd. It
> won't affect any currently active shells.
>
> What happens when you do an
> /bin/bash --login
> That should start a login shell. If you still only get the tab
> cha
No, chsh changes the login shell for the user within /etc/passwd. It
won't affect any currently active shells.
What happens when you do an
/bin/bash --login
That should start a login shell. If you still only get the tab
character, check if you've got the line
set -o vi
in /etc/profile, /etc/ba
> On Jul 6, 2016, at 10:38 PM, Peter Ludikovsky wrote:
>
> After an chsh, you have to log out & in again.
I thought of that -- I logged out and back in, no joy. I rebooted, same thing.
I wasn't too surprised. I assumed that rebooting the machine would just put
stuff back the way it was. And t
After an chsh, you have to log out & in again.
Am 07.07.2016 um 00:17 schrieb Glenn English:
>
>> On Jul 6, 2016, at 4:06 PM, Lisi Reisz wrote:
>>
>> So have you followed the suggestion to test whether it is in fact bash that
>> you are in fact using?
>
> Yes. And I wasn't -- it was dash.
>
>
> On Jul 6, 2016, at 5:59 PM, deloptes wrote:
>
> What is the default for the user in /etc/passwd ?
Good question. Another very likely error. And I'd answer it if the massively
obsolete box wasn't powered down and in the give-away bin :-)
I'll look into it tomorrow.
--
Glenn English
Glenn English wrote:
>
>> On Jul 6, 2016, at 4:06 PM, Lisi Reisz wrote:
>
> There were far too many 'sh's in scripts in /etc, so I changes /bin/sh
> from pointing at dash to pointing at bash.
What is the default for the user in /etc/passwd ?
>
> That fixed it.
>
> Lisi, as usual, found the
> On Jul 6, 2016, at 4:06 PM, Lisi Reisz wrote:
There were far too many 'sh's in scripts in /etc, so I changes /bin/sh from
pointing at dash to pointing at bash.
That fixed it.
Lisi, as usual, found the problem :-)
--
Glenn English
> On Jul 6, 2016, at 4:06 PM, Lisi Reisz wrote:
>
> lisi@Tux-II:~$ echo $SHELL
> /bin/bash
> lisi@Tux-II:~$
Ahah! As root, echo $SHELL says /bin/bash. As a user, it says /bin/sh. And sh
is dash. That explains a *lot*. Maybe.
I'll see if I can find the dastardly script that does that.
Thanks
> On Jul 6, 2016, at 4:06 PM, Lisi Reisz wrote:
>
> So have you followed the suggestion to test whether it is in fact bash that
> you are in fact using?
Yes. And I wasn't -- it was dash.
So I:
'chsh -s /bin/bash'
'ls Do\t'
and got a tab.
> lisi@Tux-II:~$ echo $SHELL
> /bin/bash
> lisi@Tux-
On Wednesday 06 July 2016 22:52:58 Glenn English wrote:
> > On Jul 6, 2016, at 2:29 PM, Charlie Kravetz
> > wrote:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA256
> >
> > There should be a set of commands towards the bottom
> > of /etc/bash.bashrc to enable completion. The commands are
> On Jul 6, 2016, at 3:16 PM, Sven Arvidsson wrote:
>
> Are you sure that your user uses bash for the login shell? There was a
> transition from bash to dash some releases ago.
Nope. According to 'man sh', it's dash. I understood that dash is a fixed bash.
But why would it work for root and no
> On Jul 6, 2016, at 2:29 PM, Charlie Kravetz
> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> There should be a set of commands towards the bottom
> of /etc/bash.bashrc to enable completion. The commands are:
>
> # enable bash completion in interactive shells
> #if ! shopt
On Wed, 2016-07-06 at 14:29 -0600, Charlie Kravetz wrote:
> On Wed, 6 Jul 2016 13:48:24 -0600
> Glenn English wrote:
>
> >
> > I put wheezy on a 386 computer last night ('aptitude dist-upgrade'
> > from squeeze -- it'd been in the junk box for a while), and when I
> > hit tab, bash just gives me
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On Wed, 6 Jul 2016 13:48:24 -0600
Glenn English wrote:
>I put wheezy on a 386 computer last night ('aptitude dist-upgrade' from
>squeeze -- it'd been in the junk box for a while), and when I hit tab, bash
>just gives me a tab -- I have to type th
On Fri, Oct 21, 2011 at 03:42:36PM -0400, Stefan Monnier wrote:
> > Sadly, this can't be done in-place, so you'll either need to use mv to
> > replace /etc/conf.file with /etc/conf.file.new or repeat the loop (with
> > no substitution) to copy /etc/conf.file.new into /etc/conf.file.
>
> It can be
> Sadly, this can't be done in-place, so you'll either need to use mv to
> replace /etc/conf.file with /etc/conf.file.new or repeat the loop (with
> no substitution) to copy /etc/conf.file.new into /etc/conf.file.
It can be done "inplace" with `rm' in place or `mv':
(rm /etc/conf.file;
w
Darac Marjal writes:
> Sadly, this can't be done in-place, so you'll either need to use mv to
> replace /etc/conf.file with /etc/conf.file.new or repeat the loop (with
> no substitution) to copy /etc/conf.file.new into /etc/conf.file.
Maybe now with bash, but with perl it can be done in place qu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 20/10/11 18:31, Doug wrote:
>> - --
>> |_|0|_| |
>> |_|_|0| "Heghlu'Meh QaQ jajVam" |
>> |0|0|0| kuLa - |
> What the heck is that, Klingon?
> What does it
On Thu, Oct 20, 2011 at 06:31:16PM BST, Doug wrote:
> >|_|0|_| |
> >|_|_|0| "Heghlu'Meh QaQ jajVam" |
> >|0|0|0| kuLa - |
>
> What the heck is that, Klingon?
> What does it mean? --doug
http://en.wiki
On 10/20/2011 04:37 AM, kuLa wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 20/10/11 09:29, Jesus arteche wrote:
Hey guys,
I want to create a script to change some words in some sonf files at
the start up of the system...do you know the command in bash for search
the word and replace
kuLa (deb...@kulisz.net on 2011-10-20 09:37 +0100):
> On 20/10/11 09:29, Jesus arteche wrote:
> > Hey guys,
> >
> > I want to create a script to change some words in some sonf files
> > at the start up of the system...do you know the command in bash for
> > search the word and replace it??
>
> W
On Thu, Oct 20, 2011 at 09:36:50AM +0100, Raf Czlonka wrote:
> On Thu, Oct 20, 2011 at 09:29:35AM BST, Jesus arteche wrote:
> > I want to create a script to change some words in some sonf files at the
> > start up of the system...do you know the command in bash for search the word
> > and replace
* 2011-10-20T09:29:35+01:00 * Jesus arteche wrote:
> I want to create a script to change some words in some sonf files at
> the start up of the system...do you know the command in bash for
> search the word and replace it??
Sounds like you need "sed" command and its s/.../.../ command. Probably
s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 20/10/11 09:29, Jesus arteche wrote:
> Hey guys,
>
> I want to create a script to change some words in some sonf files at
> the start up of the system...do you know the command in bash for search
> the word and replace it??
Well, I don't know abo
On Thu, Oct 20, 2011 at 09:29:35AM BST, Jesus arteche wrote:
> I want to create a script to change some words in some sonf files at the
> start up of the system...do you know the command in bash for search the word
> and replace it??
You don't need bash for it, sed's your friend, e.g.:
% sed -i
Roberto C. Sanchez wrote:
On Tue, Sep 26, 2006 at 05:19:47PM -0500, Hugo Vanwoerkom wrote:
Ron Johnson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 09/25/06 13:54, Hugo Vanwoerkom wrote:
Hi,
I am looking for a way to time scripts, how long they take to execute.
That has appeared
On Tue, Sep 26, 2006 at 05:19:47PM -0500, Hugo Vanwoerkom wrote:
> Ron Johnson wrote:
> >-BEGIN PGP SIGNED MESSAGE-
> >Hash: SHA1
> >
> >On 09/25/06 13:54, Hugo Vanwoerkom wrote:
> >>Hi,
> >>
> >>I am looking for a way to time scripts, how long they take to execute.
> >>
> >>That has appear
Ron Johnson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 09/25/06 13:54, Hugo Vanwoerkom wrote:
Hi,
I am looking for a way to time scripts, how long they take to execute.
That has appeared in the list before, but now I can't find it.
I could write it myself, but I bet it exists al
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 09/25/06 13:54, Hugo Vanwoerkom wrote:
> Hi,
>
> I am looking for a way to time scripts, how long they take to execute.
>
> That has appeared in the list before, but now I can't find it.
>
> I could write it myself, but I bet it exists already.
* Hugo Vanwoerkom <[EMAIL PROTECTED]> [060925 20:54]:
> I am looking for a way to time scripts, how long they take to execute.
time?
Yours sincerely,
Alexander
--
http://learn.to/quote/
http://www.catb.org/~esr/faqs/smart-questions.html
signature.asc
Description: Digital signature
On Mon, Sep 25, 2006 at 01:54:53PM -0500, Hugo Vanwoerkom wrote:
> Hi,
>
> I am looking for a way to time scripts, how long they take to execute.
>
> That has appeared in the list before, but now I can't find it.
>
> I could write it myself, but I bet it exists already.
>
Use /usr/bin/time, as
Incoming from Pollywog:
> On Sunday 08 May 2005 04:52 pm, s. keeling wrote:
>
> >
> > You're passing it "/bin/ls -l" instead of "/bin/ls". "-l" works in the
> > function to pick up files only, but fails in chmod (you can't "chmod 600
> > -rw-r--r--1 keeling keeling 5973 Oct 7 2004 .em
On Sunday 08 May 2005 05:08 pm, Phil Dyer wrote:
> try this one.
>
> function lsf {
> for i in *; do
> if [ -f "$i" ]; then
> echo "$i"
> fi;
> done;
> }
>
> lsf | xargs chmod 600
Thanks, that works.
8)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pollywog said:
> I have a function defined in my .bashrc as:
>
> function lf { /bin/ls -l | grep "^-" ; }
>
> It prints the files in the CWD without listing other directories.
>
> Suppose I want to 'chmod 600' all the files in the CWD without affect
On Sunday 08 May 2005 04:52 pm, s. keeling wrote:
>
> You're passing it "/bin/ls -l" instead of "/bin/ls". "-l" works in the
> function to pick up files only, but fails in chmod (you can't "chmod 600
> -rw-r--r--1 keeling keeling 5973 Oct 7 2004 .emacs". You
> have to "chmod 600 .ema
Incoming from Pollywog:
> I have a function defined in my .bashrc as:
>
> function lf { /bin/ls -l | grep "^-" ; }
>
> It prints the files in the CWD without listing other directories.
>
> Suppose I want to 'chmod 600' all the files in the CWD without affecting
> directories, I try this:
>
> c
On Sat, 09 Aug 1997 02:22:32 EDT Paul Miller ([EMAIL PROTECTED])
wrote:
> Is there any way to get bash to work like 4dos? -- If you type the first
> couple of characters of a command in history, it will only scroll through
> those commands begining with those characters...
^R aka CTRL-R
man rea
38 matches
Mail list logo