On Tuesday 02 September 2003 23.22, Luca Berra wrote: > On Tue, Sep 02, 2003 at 11:03:07PM +0200, guran wrote: > >When as root I tried to get the version nr for kernel I did not get any > >answer, when I logged out of mc and root I got an answer. > >I don't know if it is a problem: > > the problem is you being a unix newbie (no offense intended, i am just > an old fart) > > repeat with me: > globbing is done by the shell > globbing is done by the shell > globbing is done by the shell > globbing is done by the shell > > >[EMAIL PROTECTED] log]# rpm -qa kernel* > > if you do > rpm -qa kernel* > in the /var/log directory > it matches a directory named kernel there and the line evaluates to > rpm -qa kernel > and there is no pattern named just kernel > > >[EMAIL PROTECTED] guran]$ rpm -qa kernel* > > in your home directory there is probably no file whose name starts with > kernel, and you have nullglob unset, so the word is left as it is, the > line evaluates to: > rpm -qa kernel* > which yelds > > >kernel-source-2.4.22-4mdk > >kernel-2.4.22.4mdk-1-1mdk > > exercise for the reader > 1) what would have happened if you had set nullglob? > 2) what should the correct command be? > > regards, > L. Thanks, I think I feel what it might be about. guran -- Mandrake Linux Cooker 9.2 KDE kernel-2.4.22.4mdk-1-1mdk Version:20030902 14:27
Only in a society that has 'a priori' defined what is the truth can the result from the evolution of life be defined false.
