Finding a specific file in Ubuntu
I need to locate a file in my system having to do with backing up the hard drive. I have the file name, but where do I place it to find the appropriate file? Thank you in advance!
|
Greetingz!
So you're basically asking "how do I search my computer for a specific file"? Open a terminal, then type the following; Code:
sudo find / -type f -name "your filename here" |
|
Finding a specific file in Ubuntu
Okay, sorry I didn't include the file I'm seeking. It is this: /var/BACKUPS/2011-05-06_21:55:37_rsync.log
How do I call up that file? Thanks! |
Okay, so you know where the file is (/var/BACKUPS/) and what the filename is (2011-05-06_21:55:37_rsync.log).
I'm a little confused about exactly what your problem is. Are you trying to backup that file? Or do you not know how to "see" that file (view the contents)? Open a "Terminal" (or "Konsole", or "xterm"), and type the following; Code:
less /var/BACKUPS/2011-05-06_21:55:37_rsync.log |
As a humble side note, if you invoke
Quote:
(silently looking on to learn something) Thor |
Yes, that is the issue--I'm trying to see the contents of that file. When I typed in *less /var/BACKUPS/2011-05-06_21:55:37_rsync.log* the result was a seemingly endless scroll of various script content. Is that the file content?
|
Ah, I think this may be it! What do you think?
*ls -al /var/BACKUPS/* Does this make sense? |
Quote:
FWIW I am also a bit confused as to the real question here. HTH |
All times are GMT -5. The time now is 03:41 PM. |