where is my subdirectory
Hello All,
I think I've downloaded a Linux printer driver for my Oki B4250 from the Oki.co.uk website. It's only 8kb so the download was over in a flash. I had to 'find files', using KDE, to locate the download. This was the response: 'ok4200pcl.ppd in subdirectory tmp/kde-jennifer/...' I imagine that tmp means temporary; and jennifer is the user name of the computer I'm using. I haven't made any directories at all in my newly installed distribution (Libranet) so where the subdirectory could be I have no idea. How do I find it, please? And what do I do with it when it's found? Thanks, |
did you look in your home directory? That is where the driver should save by default which would be located at /home/yourname Other than that go into the command line and type whereis drivername.
Hope this helps Shane |
Hi Shane,
This is where I show my newbieness! I opened a Konsole window and typed: '/home/jennifer' and was told that this was a directory. So I typed: 'ls -l /home/jennifer' and got a list of 4 things, none of which were the download. I then typed in 'whereis ok4200pcl.ppd' and got the answer 'ok4200pcl'. Nothing else. What does this mean, please? Thanks, |
Quote:
try find ~ -iname "*ppd" More likely (given the kde-jennifer) it's under /tmp/kde-jennifer Cheers, Tink |
Try looking in the /tmp directory. Are you using cups?
|
I get that jennifer is the host name, is that your name? the home directory will be /home/name where name is your username that you are currently logged in under
Shane |
Quote:
that is) ... you'll find kde-<username> dirs there, not kde-<hostname>. Cheers, Tink |
Hi fellas,
Okay, Jennifer is a username - my wife's name. I've looked in the /tmp directory. This holds 'kde-jennifer', 'ksocket- jennifer', 'mcop-jennifer' and 'ssh -XX5X2rPf'. ls -l on /tmp/kde-jennifer gives 'konqueror-crash-51lRKa.l', 'ksycoca', and 'ksycocastamp'. When I typed '~ -iname "*ppd"' I was told that it was a directory. ls -l shows my download isn't there. I'm not using cups as I don't know how to. However, I've read my download instructions again and I have to copy the PPD to the '/usr/share/cups/model' directory. Can this be done even if we don't know where the download file is? I take it that I would phrase the command like this: /jennifer/share/cups/ok4200pcl.ppd. Would this be right? Thanks for your willingness to help |
Quote:
~ -iname "*ppd" but find ~ -iname "*ppd" Cheers, Tink |
Hi Tinkster,
Sorry about that. I've now typed in the correct command but am just returned to the terminal prompt. I start with 'jennifer@libranet:~$' then type in the request, but just go back to 'jennifer@libranet:~$' Should I be adding anything else before hitting Enter key? Cheers, |
Nuh, that's fine, it's obviously not in the home-dir.
Try a / instead of the ~ Cheers, Tink |
Well, Tink, I don't know whether I'm coming or going! I substituted a / for the ~ and the screen immediately scrolled through what must be all the files in the computer. It went so fast that I couldn't read them.
The files seemed to be in alphabetical order but, unfortunately, I can't scroll backwards from the Windows files, the last of the list. So I don't know if my download is in there or not. Any ideas? Thanks, |
In that case modify it to look like this :}
find / -iname "ok4200pcl.ppd" |
Hi again,
Well, the screen still scrolls rapidly to the list end and I still can't scroll backwards. However, there is a line, now, at the bottom of the screen that says 'no such file or directory'. Very nice... I'm starting to think that the download didn't download, or at least not properly. I think i ought to go back to the Oki uk website and try it again. I didn't see any method of saving the download to a particular file and, as I have an 'empty' Linux installation, there may be no file to download it to, anyway. This make any sense? I really appreciate your willingness to help. |
You must be doing something silly/stupid, sorry.
find / will tell find to start at the root-directory -iname "ok4200pcl.ppd" will only report files back that EXACTLY match that name. There's no way you're getting screens full of output unless you've downloaded the file a gazillion times into varied locations. A literal (copy & paste it into an xterm, preferably one in which you're root to avoid ERROR messages about "permission denied") find / -iname "ok4200pcl.ppd" will ONLY report back files of that name, disregarding capitalisation. Cheers, Tink |
All times are GMT -5. The time now is 03:46 PM. |