General :: Open File Without Specifying Exact Location

Jun 15, 2010

I have a file in some obscure directory that I want to open and edit. I don't want to do something like this...

vim ~/foo/bar/blah/doh/ugh.txt

I'd rather be able to say find this file and open it. I know there are commands like locate and find to find a file or directory, but I'm not sure whether these can (or even should) be utilized in what I'm trying to do. Basically, what is the simplest way to open a file with a program w/o specifying its exact location? (In cases where there isn't another file with the same name in the entire system, and cases where there are multiple).

View 3 Replies


ADVERTISEMENT

General :: Command VM Install - Finding Exact Location Of File

Oct 30, 2009

I am using linux machine and execute a command vm-install to perform some operation. How would I find the exact location of this file.

View 1 Replies View Related

Programming :: How Some Websites Hide Exact Location Of File On Their File System

Mar 12, 2010

in case you have been wondering how some websites hide the exact location of a file on their filesystem, just thought i'd share it with the commnity at large in case someone else is looking for something like this.i take no responsibility for how it is used.

View 4 Replies View Related

Ubuntu :: Open Exact Pdf File That Was Created By .tex?

Dec 20, 2010

I wrote a very simple script to compile a Tex document and open the resulting PDF output file. The problem I have is that every now and then there are multiple PDF files in the same directory. For example if I have a file called test.tex I run my script and it compiles the test.tex and creates a file called test.pdf If there are only one tex and pdf file in this folder there is no problem. If there is also a 1.pdf in this folder the test.tex will compile and 1.pdf will open.

My question is: is there a way to open the exact pdf file that was created by the .tex file?

My script file is this:

#!/bin/sh
pdflatex *.tex
gnome-open *.pdf

View 5 Replies View Related

Ubuntu :: 'Places->Videos': Could Not Open Location 'file:/// '

Apr 15, 2010

I renamed /home to /localhome and I'm getting an error message when I run 'Places->Videos'. The error is: 'Could not open location 'file:///home/<username>/Videos' Error stating file '/home/<username>/Videos: No such file or directory.

I'm using /localhome because /home is used for automounting home directories at my work. I prefer to use a local account rather than the NIS/NFS account.

What do I modify to have this reflect my new home directory location?

View 1 Replies View Related

General :: Search For Exact Repetitions In Text File

Nov 23, 2010

I've got a big text file in which I know have probably made some typos (LaTeX). Sometimes I rewrite sentences several times and then end up with double pieces like "the the" or "is is" without noticing it. Most spell checkers that I can use in LaTeX are very basic so they do not notice these grammar errors. Is there a way that I can search for these repetitions by hand using sed or awk or something along these lines? Is there an app for that?

View 3 Replies View Related

General :: How To Determine Exact Directory / File From Error Message

Mar 11, 2011

Is there any way to tell which file or directory this is referencing in particular?

View 8 Replies View Related

Ubuntu :: Clear List Of Recently Opened Files In 'Location' Drop-down Box In File-Open?

Apr 13, 2011

I realise KPDF is quite old now but as this issue may recur when I move to a newer distro (well, newer than Hardy) with Okular I thought I'd better ask.I use Gnome, but prefer KPDF to evince when viewing PDF files. However, KPDF's "Open Recent" list behaves very oddly - there's no apparent way to clear it, and items which were on the list one day aren't on it another day (coinciding with old items reappearing on the list).

Is there any way to clear this list?Similarly, is there any way to clear the list of recently opened files in the "Location" drop-down box in File-Open? (which also seems to mysteriously lose list items inbetween reboots).

View 1 Replies View Related

General :: Copy A File And Rename It At The Same Time While Copying It To The Same Exact Directory?

Jun 26, 2010

Create a copy of the file above and call it commands.sorted. Use the vi command to manually sort this file. I.e. use yy to copy a line, P or p to paste a line, and dd delete a line. Order the commands with the two lines starting with double quotes first. Then list the rest of the command in alphabetical order.

Anyone have any ideas what he's talking about? Can I copy a file and rename it at the same time while copying it to the same exact directory again? Now sure what the two lines things means either. I have an email out to him but it usually takes a long time for him to answer me. I got alot of work to do so everytime I get hung up it kills me.

View 2 Replies View Related

General :: Copy A File With Certain Name Pattern For Which Exact Place In Complex Directory-structure Unknown?

Sep 19, 2011

I want to copy all files with the name XYZ* into one folder. The problem is that the files are in different subfolders and that not even the depth of the folder structure is the same for all files. Luckily, at least each file has a unique name.

Of course, I thought about the cp command but I guess the depth of the folder structure needs to be the same for this to work.

View 3 Replies View Related

General :: Firefox 4 / No Open Location On The Tool Bar?

Mar 24, 2011

Out of curiosity I was running Ubuntu 11.04 off a CD.In Firefox 4 I could find no open location on the tool bar. Am I missing something?

View 9 Replies View Related

General :: Open Some Location In New Tab In Existing Nautilus Window? (from Console)

May 13, 2010

I want to type something in console that will open some location (on example home dir) in already opened nautilus window. Is it possible?

View 1 Replies View Related

Fedora :: Download A .rpm With Exact File Name?

Nov 12, 2010

I am running Fedora 14, 64 bit. For running Skype, I've installed all the 32 bit libraries needed, using this command:

yum -y install libXv.i686 libXScrnSaver.i686 qt.i686 qt-x11.i686 pulseaudio-libs.i686 pulseaudio-libs-glib2.i686 alsa-plugins-pulseaudio.i686

Everything is cool, till I realized, that I still hadn't configured yum to keep downloaded rpm's in the cache :-( And I am ALWAYS keeping the downloaded rpm's !!! I have the filenames from the terminal, but can't figure out how to download them again (easily). I immediately thought of yumdownloader, but it doesn't work as I need it to:

# yumdownloader libxml2-2.7.7-2.fc14.i686.rpm
Loaded plugins: presto, refresh-packagekit
No Match for argument libxml2-2.7.7-2.fc14.i686.rpm
Nothing to download

Maybe I need the contrary to yum whatprovides ? Is there any way to easily do it? (I was quite successful with wget, but I am still missing 11 packages which I can't find them in the repo.

View 4 Replies View Related

General :: Copy Only New File To Other Location?

Jul 19, 2011

I am a fresher in shell script, I want to copy only new file in a directory to some other location. I am able to find new file using
"ls -ltrh | tail -1", it is showing new file. But I don't know how to add in the shell script to copy that new file to other location.

View 7 Replies View Related

General :: File Has Finished Uploading From Another Location?

Jun 5, 2011

Let's say we have machine 1 and machine 2. Machine 2, which is linux based, is receiving a file (let's say cat.jpg sent via SCP from machine 1 (doesn't really matter which operating system..) How can I know in machine 2, that the file has finished uploading from machine 1 ? Please note that by "knowing" I mean by running a command (via a cron that runs every minute), and not by an event driven way ("make the scp issue a command when it is finished uploading"). Another limitation I have is that I can't change anything in machine 1 or in the way it SCP files.

If it really matters: the files being transferred are video file, MP4 extension. machine 2 is ubuntu 10.10

View 5 Replies View Related

Ubuntu :: Make A File Of An Exact Size For Disk Benchmarking?

Dec 6, 2010

Is their a command I could use to do this? It needs to be 32MB (33,554,432 bytes), can be either random data or just a blank file, though random data would be preferable, and well... that's it.

Though also, is their a way I could copy the file in a terminal and it print out the info such as average speed and/or total time it took to complete. I'm trying to fight some bad reviews on this flash drive I bought that performs very well, and since stupid comment vs stupid comment doesn't win anything I need to apparently be the first to actually test this drive throughly.

View 4 Replies View Related

General :: Totem Playing Moved Media File - Location Not Found

May 24, 2010

I am using ubuntu 8.04. I played an mp3 in totem & meanwhile moved that file to another location. Still I can move slider in totem to rewind or forward the song. Only after the song has been played completely I get message 'location not found'. Does that mean totem copies song into RAM so that it does not have to trouble hard disk for access during entire duration ?

View 2 Replies View Related

General :: Install Vmware Player 3.0 - Unable To Locate Kernel File Location In Fedora 14

Feb 1, 2011

I was trying to install vmware player 3.0 and it prompt that it require the kernel kernel-2.6.35.6-45.fc14.i686 to be compile before it start.

Quote:

Kernel headers for version 2.6.35.6-45.fc14.i686 were not found. If you

I try following but unable to find.

Code:

Nothing to do

Code:

Code:

Then I try to map to the file, but not working.

View 3 Replies View Related

Software :: Movie Player - Could Not Open Location

Jun 22, 2010

I'm running Fedora 13 right now and I'm having a problem with Movie player. Every time I try to watch a dvd it says: Could not open location; you might not have permission to open the file. I run in root so I know that can't be true.

View 1 Replies View Related

Fedora Networking :: Samba Client - Could Not Open Location

Mar 2, 2009

I'm having a problem when browsing shares on other machines. If I hit alt+f2 and enter "smb://server" I get an error saying:
Could not open location 'smb://server/'
No application is registered as handling this file
If I enter "smb://server/share1" everything works fine. Typing the server name without the share name worked fine in Fedora 8, which is what this machine was running before I did a clean install of Fedora 10.

View 2 Replies View Related

Ubuntu :: Change Windows Default Open Location?

Aug 5, 2010

My panel is flush against the left edge of the screen.Any new window/app that I open opens next to the left edge as well, behind the panel.

View 2 Replies View Related

Ubuntu :: Error Could Not Open Location World Icon Always In Taskbar

Jun 23, 2011

I have this error which happens just after login, and it stay in the bottom panel all the time with a world icon, it's impossible to close (see image below), if I click the world icon the error message pop ups again. How do I make it go away?

View 2 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

General :: 6.13 GMP-5.0.0 LFS Make Error - Cannot Open Shared Object File: No Such File Or Directory

Jun 10, 2010

I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:

error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'

[code]....

View 5 Replies View Related

General :: File Privileges - Check And Set Who Can View Or Open A Given Folder Or File?

Jul 30, 2010

How can I check and set who can view or open a given folder or file?

View 1 Replies View Related

General :: (xubuntu) Click On Webpage File And Open File With Emacs?

Aug 26, 2010

I am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?

View 1 Replies View Related

General :: Libgtk-x11-2.0.so.0: Cannot Open Shared Object File: No Such File Or Directory

Mar 28, 2010

I'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:

/usr/lib/libgtk-x11-2.0.so.0

View 6 Replies View Related

General :: Open Local File Error When Creating File Descriptor?

Sep 14, 2009

error message when I ran my program that I couldn't open my local file. I have two files first one is called client, second one is called server I am using named pipes to sent a message from client to the other file called server in client I used mknod() to create the two named pipes,one for read,one for write and created new thread in client using fork() spawned a child process that executed the server file both named pipes are opened the client file got the message from the user and sent it through the named pipes to the server file when the server receives the message , it needs to verfify it is correct in the server file, a local file descriptor is created to read and send this verifing message when it is not correct but I am getting an OPEN() error when I tried to open this shared local array buff and attach it to a file descriptor where the message is kept why do I get this error in server file

int main()
{
/*both named pipes are open*/
rfd=open(IFIO1,0);
wfd=open(IFIO2,1);

[code]....

View 1 Replies View Related

General :: How To Verify If The File Is Binary Or Text Without To Open The File

Sep 7, 2010

how to verify if the file is binary or text without to open the file

View 2 Replies View Related

General :: View A Particular Ten Lines In A Large File Where Can't Open The File In Vi

May 12, 2010

I am using RHEL 5.I have a very large test file which cannot be opened in vi.The content of the file has some 8000 lines.I need to view ten lines between 5680 to 5690.How can i view these particular lines in a large file.what is command and option i need to use.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved