Re: glob path question

2024-08-21 Thread tomas
On Wed, Aug 21, 2024 at 09:44:34AM -0400, Cindy Sue Causey wrote: [...] > All these years of using ls and locate myself, just had an ah-ha moment > triggered by the above. Tried my favored (cognitively friendly) grep: [...] Glad you enjoyed it :-) > PS Yeah, I know, some directories go very de

Re: glob path question

2024-08-21 Thread Cindy Sue Causey
Please forgive any formatting glitches. I'm still a brand newbie at sending emails out of Evolution. :) On Wed, Aug 21, 2024 at 8:08AM Michael Kjörling wrote: > > But this file is not listed by 'ls' command. > > > > # ls /etc/policyd-spf.conf > > ls: cannot access '/etc/policyd-spf.conf': No such

Re: glob path question

2024-08-21 Thread tomas
On Wed, Aug 21, 2024 at 02:00:02PM +0200, Corey H wrote: > Hi > > I use this command trying to find a file in /etc whose name contains "spf", > > root@cloud:~# cd /etc/ > > root@cloud:/etc# ls *spf* > policyd-spf.conf > > But this file is not listed by 'ls' command. > > # ls /etc/policyd-spf.c

Re: glob path question

2024-08-21 Thread Michael Kjörling
On 21 Aug 2024 14:00 +0200, from cor...@free.fr (Corey H): > I use this command trying to find a file in /etc whose name contains "spf", > > root@cloud:~# cd /etc/ > > root@cloud:/etc# ls *spf* > policyd-spf.conf > > But this file is not listed by 'ls' command. > > # ls /etc/policyd-spf.conf >

glob path question

2024-08-21 Thread Corey H
Hi I use this command trying to find a file in /etc whose name contains "spf", root@cloud:~# cd /etc/ root@cloud:/etc# ls *spf* policyd-spf.conf But this file is not listed by 'ls' command. # ls /etc/policyd-spf.conf ls: cannot access '/etc/policyd-spf.conf': No such file or directory inst

Re: PATH question

2023-11-17 Thread Charles Kroeger
> apt-get -f install dpkg --configure -a I had to use that this morning after the many nvidia related updates that failed to build the module required to set up the packages in waiting. -- CK

Re: PATH question

2023-11-13 Thread Timothy M Butterworth
On Sun, Nov 12, 2023 at 9:29 AM Thomas George wrote: > As root I edited bashrc as found in root's home directory > On 11/11/23 23:23, Timothy Butterworth wrote: > > On November 11, 2023, at 8:51 PM, Thomas George > wrote: > > >I downloaded the google-chrome deb file to /opt/ > >used dpkg to ins

Re: PATH question

2023-11-13 Thread Timothy M Butterworth
On Sun, Nov 12, 2023 at 9:29 AM Thomas George wrote: > As root I edited bashrc as found in root's home directory > On 11/11/23 23:23, Timothy Butterworth wrote: > > On November 11, 2023, at 8:51 PM, Thomas George > wrote: > > >I downloaded the google-chrome deb file to /opt/ > >used dpkg to ins

Re: PATH question

2023-11-12 Thread Thomas George
Since I began using Linux soon after its inception, 199?, I have just stumbled my way much by trial and error. stumbles related to PATH issue: installed bookworm from dvd. moved distribution ,bashrc's to save.bashrc's copied .bashrc's from buster on another hard disc. These have three virtue

Re: PATH question

2023-11-12 Thread Max Nikulin
On 12/11/2023 21:37, Greg Wooledge wrote: It doesn't help that "apt install ./file" is not documented in the official man pages. People can only learn about it from the wiki, or from word of mouth. It is documented in various guides: https://www.debian.org/doc/manuals/debian-reference/ch02.

Re: PATH question

2023-11-12 Thread Greg Wooledge
On Sun, Nov 12, 2023 at 09:29:28AM -0500, Thomas George wrote: > As root I edited bashrc as found in root's home directory OK. If I'm not mistaken, that file never contained a PATH definition in the first place, so you can put things back to normal simply by deleting the line(s) that you added to

Re: PATH question

2023-11-12 Thread Andy Smith
Hello, On Sun, Nov 12, 2023 at 09:35:33AM -0500, Thomas George wrote: > I don't like to clutter up my download file. Since I normally use dpkg -i > debfile.deb this would add a directory in the download file. When you install a .deb package it only installs to the fully-qualified paths inside the

Re: PATH question

2023-11-12 Thread Greg Wooledge
On Sun, Nov 12, 2023 at 09:25:26AM -0500, Thomas George wrote: > Alternately dpkg -i debfile.deb works. That doesn't install the dependencies. It may leave your packages in a semi-broken state, requiring you to run "apt-get -f install" afterward to fix it. Using "apt install ./debfile.deb" pulls

Re: PATH question

2023-11-12 Thread Thomas George
I don't like to clutter up my download file. Since I normally use dpkg -i debfile.deb this would add a directory in the download file. Tom George On 11/11/23 23:31, Timothy Butterworth wrote: On November 11, 2023, at 11:16 PM, David wrote: >On Sat, 11 Nov 2023 at 18:42, Thomas George wrot

Re: PATH question

2023-11-12 Thread Thomas George
As root I edited bashrc as found in root's home directory On 11/11/23 23:23, Timothy Butterworth wrote: On November 11, 2023, at 8:51 PM, Thomas George wrote: >I downloaded the google-chrome deb file to /opt/ >used dpkg to install the program. Use sudoapt install ./filename.deb you may nee

Re: PATH question

2023-11-12 Thread Thomas George
Alternately dpkg -i debfile.deb works. Tom George On 11/11/23 19:28, The Wanderer wrote: On 2023-11-11 at 19:09, Greg Wooledge wrote: On Sat, Nov 11, 2023 at 10:17:09PM +, David wrote: Looking for an authoritative source of information to show you, I found only this: https://wiki.de

Re: PATH question

2023-11-11 Thread Timothy Butterworth
On November 11, 2023, at 11:16 PM, David wrote: >On Sat, 11 Nov 2023 at 18:42, Thomas George wrote: >> I downloaded the google-chrome deb file to /opt/ Why did you put the chrome.deb in /opt? You found have just kept it in your downloads folder. When you use apt to install the chrome.deb pac

Re: PATH question

2023-11-11 Thread Timothy Butterworth
On November 11, 2023, at 8:51 PM, Thomas George wrote: >I downloaded the google-chrome deb file to /opt/ >used dpkg to install the program. Use sudo apt install ./filename.deb you may need to run sudo apt update first. > >initial attempt failed, two lib files missing. >added the sbin entries

Re: PATH question

2023-11-11 Thread The Wanderer
On 2023-11-11 at 19:09, Greg Wooledge wrote: > On Sat, Nov 11, 2023 at 10:17:09PM +, David wrote: > >> Looking for an authoritative source of information to show you, >> I found only this: >> >> https://wiki.debian.org/DebianPackageManagement#Installing_and_removing_packages >> which says:

Re: PATH question

2023-11-11 Thread Greg Wooledge
On Sat, Nov 11, 2023 at 10:17:09PM +, David wrote: > Looking for an authoritative source of information to show you, > I found only this: > > https://wiki.debian.org/DebianPackageManagement#Installing_and_removing_packages > which says: > You can also install a .deb file with: > # apt in

Re: PATH question

2023-11-11 Thread David
On Sat, 11 Nov 2023 at 18:42, Thomas George wrote: > I downloaded the google-chrome deb file to /opt/ > > used dpkg to install the program. > > initial attempt failed, two lib files missing. > > added the sbin entries to path and tried again Hi, the 'apt install' command does have the capability

Re: PATH question

2023-11-11 Thread Thomas George
I downloaded the google-chrome deb file to /opt/ used dpkg to install the program. initial attempt failed, two lib files missing. added the sbin entries to path and tried again missing files found on the dvd installation disk and google-chrome successfully installed On 11/11/23 13:22, Greg

Re: PATH question

2023-11-11 Thread Greg Wooledge
On Sat, Nov 11, 2023 at 01:03:45PM -0500, Thomas George wrote: > In a newly installed bookworm I edited PATH to > /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin What, exactly, did you edit? > in order to > install google-chrome. Now that makes no sense... unless you ran into the bu

PATH question

2023-11-11 Thread Thomas George
In a newly installed bookworm I edited PATH to /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin in order to install google-chrome.  This worked but the installed PATH had  two other entries, something about games? I failed to save and did not take note of all the installed PATH ent

Re: PATH question

2020-08-04 Thread Gene Heskett
On Tuesday 04 August 2020 15:46:05 Gene Heskett wrote: > On Tuesday 04 August 2020 14:57:49 Greg Wooledge wrote: > > On Tue, Aug 04, 2020 at 02:49:00PM -0400, Gene Heskett wrote: > > > > If so, are you logging in via sddm, > > > > which is what KDE on Debian normally uses? > > > > > > probably not

Re: PATH question

2020-08-04 Thread Gene Heskett
On Tuesday 04 August 2020 14:57:49 Greg Wooledge wrote: > On Tue, Aug 04, 2020 at 02:49:00PM -0400, Gene Heskett wrote: > > > If so, are you logging in via sddm, > > > which is what KDE on Debian normally uses? > > > > probably not, but I'm talking about my own shell, which is probably > > started

Re: PATH question

2020-08-04 Thread Greg Wooledge
On Tue, Aug 04, 2020 at 02:49:00PM -0400, Gene Heskett wrote: > > If so, are you logging in via sddm, > > which is what KDE on Debian normally uses? > probably not, but I'm talking about my own shell, which is probably > started by the tde version of lightdm. So you've configured lightdm to perf

Re: PATH question

2020-08-04 Thread Gene Heskett
On Tuesday 04 August 2020 12:34:21 Greg Wooledge wrote: > On Tue, Aug 04, 2020 at 12:25:11PM -0400, Gene Heskett wrote: > > I just created a /home/me/AppImage directory, moved some appimages > > into it, and added another stanza to add that to my .profile. Do I > > have to logout the 15 processes

Re: PATH question

2020-08-04 Thread Greg Wooledge
On Tue, Aug 04, 2020 at 12:25:11PM -0400, Gene Heskett wrote: > I just created a /home/me/AppImage directory, moved some appimages into > it, and added another stanza to add that to my .profile. Do I have to > logout the 15 processes or so I have running now and effectively restart > the system

PATH question

2020-08-04 Thread Gene Heskett
Greeting all; This box is on stretch. I just created a /home/me/AppImage directory, moved some appimages into it, and added another stanza to add that to my .profile. Do I have to logout the 15 processes or so I have running now and effectively restart the system to make that path take effect?

Re: PATH question

2007-03-21 Thread Vincent Lefevre
On 2007-03-19 16:06:05 +0100, Matus UHLAR - fantomas wrote: > > On 2007-03-15 16:06:40 +0100, Matus UHLAR - fantomas wrote: > > > $PATH is "universal" environment variable. (t)csh maps path to PATH, but > > > only PATH exists in (ba|z|k|)sh > > On 19.03.07 15:07, Vincent Lefevre wrote: > > $path e

Re: PATH question

2007-03-19 Thread Matus UHLAR - fantomas
> On 2007-03-15 16:06:40 +0100, Matus UHLAR - fantomas wrote: > > $PATH is "universal" environment variable. (t)csh maps path to PATH, but > > only PATH exists in (ba|z|k|)sh On 19.03.07 15:07, Vincent Lefevre wrote: > $path exists in zsh and is an array tied to $PATH. ok, so it's the same as in

Re: PATH question

2007-03-19 Thread Vincent Lefevre
On 2007-03-15 16:06:40 +0100, Matus UHLAR - fantomas wrote: > $PATH is "universal" environment variable. (t)csh maps path to PATH, but > only PATH exists in (ba|z|k|)sh $path exists in zsh and is an array tied to $PATH. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 100%

Re: PATH question

2007-03-15 Thread FuziOK
On Wed, Mar 14, 2007 at 11:51:40PM -0700, jeffd wrote: > You can use 'which' to find out which ls is being called, but it goes by > first come first serve: Another choice is 'type', a bash build-in command: type -p= which type -p -a = which -a -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Re: PATH question

2007-03-15 Thread Celejar
On Thu, 15 Mar 2007 16:06:40 +0100 Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: > > > Why are you asking us about the Port Authority Trans-Hudson > > > railroad? ;) > > On 15.03.07 11:02, Celejar wrote: > > Perhaps because: > > > > ~$ echo $path > > $path is (t)csh internal variable > >

PATH question

2007-03-15 Thread Mike McClain
On Thu, 15 Mar 2007 Tony Heal <[EMAIL PROTECTED]> asked: > > I thought I could simply drop the new ls in /usr/local/bin > and the system would see it first when called and use it. WRONG. > > So my questions are: > > 1.why not? > I've been bitten by this myself and somebody on the fido linux li

Re: PATH question

2007-03-15 Thread Bob McGowan
Tony Heal wrote: I have a problem on one of my servers. The ‘ls’ command does not have the –h switch available. So as a workaround until I can determine what caused this and why I wanted to use the ‘ls’ file from another server. I copied /bin/ls from server # 2 onto server # 1 and tested it and

Re: PATH question

2007-03-15 Thread Roberto C. Sanchez
On Thu, Mar 15, 2007 at 04:06:40PM +0100, Matus UHLAR - fantomas wrote: > > > Why are you asking us about the Port Authority Trans-Hudson > > > railroad? ;) > > On 15.03.07 11:02, Celejar wrote: > > Perhaps because: > > > > ~$ echo $path > > $path is (t)csh internal variable > > > ~$ echo $PAT

Re: PATH question

2007-03-15 Thread Matus UHLAR - fantomas
> > Why are you asking us about the Port Authority Trans-Hudson > > railroad? ;) On 15.03.07 11:02, Celejar wrote: > Perhaps because: > > ~$ echo $path $path is (t)csh internal variable > ~$ echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/games $PATH is "universal" environment variable. (t)csh

Re: PATH question

2007-03-15 Thread Celejar
On Wed, 14 Mar 2007 23:45:28 -0500 Ron Johnson <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/14/07 23:23, Tony Heal wrote: > > Why are you asking us about the Port Authority Trans-Hudson > railroad? ;) Perhaps because: ~$ echo $path ~$ echo $PATH /usr

Re: PATH question

2007-03-15 Thread Tarek Soliman
> You can use 'which' to find out which ls is being called, but it goes by > first come first serve: > echo $PATH > /home/jeffd/bin:/usr/local/bin:/usr/bin:/bin > [EMAIL PROTECTED]:~$ touch ~/bin/ls > [EMAIL PROTECTED]:~$ chmod 755 ~/bin/ls > [EMAIL PROTECTED]:~$ which ls > /home/jeffd/bin/ls > [E

Re: PATH question

2007-03-14 Thread jeffd
Tony Heal wrote: I have a problem on one of my servers. The ‘ls’ command does not have the –h switch available. So as a workaround until I can determine what caused this and why I wanted to use the ‘ls’ file from another server. I copied /bin/ls from server # 2 onto server # 1 and tested it a

Re: PATH question

2007-03-14 Thread Kevin Mark
On Thu, Mar 15, 2007 at 12:23:17AM -0400, Tony Heal wrote: > I have a problem on one of my servers. The ‘ls’ command does not have the –h > switch available. So as a workaround until I can determine what caused this > and > why I wanted to use the ‘ls’ file from another server. I copied /bin/ls fr

Re: PATH question

2007-03-14 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/14/07 23:23, Tony Heal wrote: Why are you asking us about the Port Authority Trans-Hudson railroad? ;) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF+M9oS9HxQb37XmcRAqcQAKCQ7VUxpalbb3pNaSep9s4AObN/BgCaApWz Qe3k4d5Fq

PATH question

2007-03-14 Thread Tony Heal
I have a problem on one of my servers. The 'ls' command does not have the -h switch available. So as a workaround until I can determine what caused this and why I wanted to use the 'ls' file from another server. I copied /bin/ls from server # 2 onto server # 1 and tested it and it works fine, inc

PATH-question

2006-09-04 Thread steef
hello list, i had a problem trying to compile a nvidia-kernel-videodriver under etch, kernel 2.6.16 xx. the driver complains it cannot find the 4.0 compiler. [standard is the 4.1 compiler] i forgot the exact command to tell the nvidia binary driver where it can find gcc4.0.x. if i remember

Re: Root path question

2003-10-05 Thread Bob Proulx
Steve Doerr wrote: > I'm confused about root's bash profile. Let me give it a shot at unconfusing you. > In vt1, What *exactly* do you mean by vt1? To me it means that you are using the first virtual terminal. What you get when you don't have a graphical login manager such as xdm, kdm, gdm. O

Re: Root path question

2003-10-04 Thread Aaron Cimolini
I had a similar problem with switching to the root user and not getting all of root's path variables added to my environment. my instructor said to use this command: su - root And it worked like a charm. Apparently it loads you into a new shell exactly like you just logged in as the user. All you

Re: Root path question

2003-10-04 Thread Lukas Ruf
> Naitik Shah <[EMAIL PROTECTED]> [2003-10-04 10:47]: > > One possibility might be the fact that when you su, I believe > .bashrc gets executed, and .bash_profile does not, as it isn't a > login shell. Whereas when you login (or alternatively do: su -c > "bash --login" ) .bash_profile gets run. So

Re: Root path question

2003-10-04 Thread Naitik Shah
One possibility might be the fact that when you su, I believe .bashrc gets executed, and .bash_profile does not, as it isn't a login shell. Whereas when you login (or alternatively do: su -c "bash --login" ) .bash_profile gets run. So depending on the paths each of these set, your path could pos

Re: Root path question

2003-10-03 Thread Neo
On Fri, 2003-10-03 at 21:20, Steve Doerr wrote: > I'm confused about root's bash profile. In vt1, the directories /sbin & > /usr/local/sbin are excluded from the path. If I su to root within > Gnome or KDE in a terminal they are there. > > I'm not sure why there isn't a common bash profile for

Root path question

2003-10-03 Thread Steve Doerr
I'm confused about root's bash profile. In vt1, the directories /sbin & /usr/local/sbin are excluded from the path. If I su to root within Gnome or KDE in a terminal they are there. I'm not sure why there isn't a common bash profile for root in vt1 vs. vt7. Where would the two be located? W

Re: teTeX path question

2000-11-26 Thread Damian Menscher
On Sun, 26 Nov 2000, Damian Menscher wrote: > I just upgraded my version of teTeX to 1.0.6, and discovered it no > longer seems to follow the TEXINPUTS environment variable to find > various style files, etc. I need to get this to read in a revtex.cls > file that I've added in, but don't know how

teTeX path question

2000-11-26 Thread Damian Menscher
Not a specifically Debian question, but I just upgraded my version of teTeX to 1.0.6, and discovered it no longer seems to follow the TEXINPUTS environment variable to find various style files, etc. I need to get this to read in a revtex.cls file that I've added in, but don't know how to get

Eterm path question

1998-07-13 Thread Adrian Monk
I have installed the .deb Eterm DR0.7 package, however when I fire it up in X (via an Xterm at present) I get the error messages shell-init: could not get current directory: getcwd: cannot access parent directories job-working-directory: How do I fix this? I have tried putting /usr/X11R6/lib/Ete