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


ADVERTISEMENT

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 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 :: Finding The Squid3 Swap File Location?

Jul 14, 2010

I got squid3 installed on ubuntu server 10.4. I believe it is up and running as I can browse the internet on my other computers.I followed one of the tutorials on the net and looked at others for guide as well. Everyone of them did not mentioned that we have to create the swap files. Are we suppose too? I couldn't find the location of the swap file anywhere on the server.

View 1 Replies View Related

General :: Command For Finding Specific File Types?

Oct 15, 2009

If there is a command I can use to find specific file types? Say if I want to find all the jpg's in my home folder, but they don't have the .jpg extension in the name, how would I do it? Or can I set some kind of size parameter to find them? The ones I want are all from my digicam and roughly the same size.

View 7 Replies View Related

Programming :: Finding A Shell Script To Delete Files Which Location Should Be Read From A Log File?

Jul 16, 2011

I have 2 external hdd in wich I have all my files.... yesterday, I have copied all the files from hdd2 to hdd1 and I want to eliminate duplicates so I used FSLint to find them, now, I have a txt file that looks like this:

Code: /media/My Book/!!!MIS DOCUMENTOS/Documentos/2 sep2003-jun2009 USB/!TESIS/TESIS/TESIS CVT LABVIEW Y CODEWARRIOR/LabVIEW85RuntimeEngineFull.exe /media/My Book/HDD_Toshiba/Borrable/Pen_Drive_4GB/Tesis/Super CD de la tesis/LabView/LabVIEW85RuntimeEngineFull.exe multiplied by millions of entries...

now I want to make a shell script to delete all the files/entries (read from the log file) that begin with:

Code:

/media/My Book/HDD_Toshiba/**** Since HDD_Toshiba is the folder in hdd1 (MyBook) that contains all the files from hdd2

View 1 Replies View Related

General :: Ubuntu Location (Make Install Command)

Jul 4, 2010

When we,
./configure
make
make install
Where are the programs installed?

View 2 Replies View Related

General :: Command For Finding File / Directory From Current Path

Apr 30, 2010

I am total new to linux as I worked mostly on RTOS (symbian). My problem is, I need to find the file IOSTREAM.H and I am following commands below:
1) cd /
2) find . iostream.h ( finds the file / directory from the current path)
It shows No such File or Directory

View 7 Replies View Related

General :: Finding Location Of A Program With PID Known?

Feb 23, 2011

I've used ps -p to find a certain program. but how can i find the location of this program? as in the path to this program.

View 3 Replies View Related

General :: What Is The Exact Command To Shut Down A Redhat System

Jan 26, 2010

I want to know the exact command to shut down a red hat linux server.I was using init 0. but some one said its not the proper method to shut down my linux server.If not which is the exact command

View 6 Replies View Related

General :: Finding The Location Of Downloaded Packages?

Oct 7, 2010

Where are downloaded packages saved when i download using yum?

View 2 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 :: 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

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 Security :: Failing On The First Command When Run Iptables-restore < File Location

May 4, 2010

I'm setting up a server with Jaunty Jackalope version. I'm trying to test setting up a basic iptables rules... No matter which command I put in, it is failing on the first command when I run iptables-restore < file location (the first rule always fails). I'm doing this on the root user and first typing in the iptables rules in a test file. I've tried the first command starting with % sudo, iptables and -A. All have the same result. I've also tried letting the HTTP rule be first with the same result.

[Code]...

View 2 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

Red Hat / Fedora :: Finding File Behind Command In Process

Dec 7, 2009

I have a many process running in my machine with similar command and the command is 'gzip'. It is running by a program in a file. How will I find out the file which is behind this command.

View 4 Replies View Related

General :: Set Up New Keybinding For Finding Last Command Executed Using The First Few Characters Of The Command In Csh?

Jul 21, 2010

I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.

View 1 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

Fedora :: What's The Command To Know The Mirror With Exact Link

Mar 23, 2011

yum repolist shows the reponame. What's the command to list the specific link that it's using?

View 3 Replies View Related

General :: Command History Alternate Location

Nov 23, 2010

I am just wondering is there any other altrenate location which saves the history command logs other that bash_history file.

View 4 Replies View Related

Debian :: Finding Location Where Can Download 5.0.0 Or Any 5 Prior To 5.0.8?

Feb 1, 2011

location where I can download Debian 5.0.0 or any Debian 5 prior to 5.0.8? I've checked some of the archive sites but they seem to only go up to Debian 4.

View 2 Replies View Related

Ubuntu :: Finding The PostgreSQL Installed Location?

Mar 24, 2011

I'm using ubuntu 10.04 and PostgreSQL 8.4.7. I need to find out where PostgreSQL is located so I can run commands. I successfully installed PostgreSQL without changing any of the defaults. Matthew & Stones' Beginning Databases with PosgreSQL From Novice to Professional, as well as the PostgreSQL documentation, indicates the standard location is /usr/local/pgsql/bin/ but it's not there; it's somewhere else (ps -el | grep post confirms it IS running and psql is able to do du to display the list of users and l to display the list of databases).

But when I tried to create a new user by running /usr/local/pgsql/bin/createuser the command was not found. I tried to locate the installation by running pg_config --bindir but it said pg_config was not installed. I downloaded pg_config and its dependencies and tried to install them with the package installer, but it wouldn't go because something is wrong with the libkrb5-3 and libkrb5support0 packages - they won't install and the package installer just zips through without reporting missing dependencies or anything. The MD5, SHA1, and SHA256 checksums all match, but they just won't install. I then tried the libk5crypto3 package just to make sure something wasn't wrong on my end - it installed fine. So I searched the PostgreSQL FAQ and found out how to get the version without pg_config by doing a SELECT version(); query. here appears to be no corresponding SELECT bindir(); query. A plain ordinary file search for pgsql, postgresql, etc.

View 3 Replies View Related

Programming :: Finding Location Of Duplicate Directories

Jan 8, 2011

This simple task is proving harder then imagined. I have a multi-level directory that I'm trying to clean of duplicates, but I can't get 'find' to print what I need to see. To give an illustrative example, here is a dir:

Code:
stuart@stuart:~/testdir$ ls *
dir1:
level2:
dir1

So the output of find as i'd like it to work would show the two locations of dir1, which would be ./dir1 and ./level2/dir1. But no:

Code:
stuart@stuart:~/testdir$ ls -d */ | head -1 | find . "`cat`" -type d
.
./level2
./level2/dir1
./dir1
dir1/

View 2 Replies View Related

Slackware :: Finding The Location Of Default Console Keymap?

Mar 20, 2010

I avoid capslock like the plague and use "ctrl:nocaps" when in X, and would like to have the same behaviour in the console. Back when I was using Debian I got it set up the way I want, but now I can't seem to locate the default keymap. I tried editing

Code:

/usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz

and it works when I use loadkeys manually, but not on boot.

View 3 Replies View Related

General :: Finding IP Address Using Command Prompt?

Apr 4, 2010

I'm looking for a way to get my IP address using the command prompt in Linux. I know when you type "ifconfig" you can get your local IP address (i.e. 192.168.0.103), but I'm looking for my IP address that I get from my ISP. How can I get this from Linux without having to visit some website?

View 3 Replies View Related

General :: Finding Mac Address With Tcpdump Command?

Dec 10, 2009

when i send any packet to anu destination and want to see he mac address of source and destination i am using the command tcpdump -qec1 but rather then getting the mac address of source and destination each time i am getting mac address of the system which is broadcasting. will anybody tell me how can i get source and destination mac address even if any other packet is also being broadcast to my network.

View 1 Replies View Related

General :: Finding Folder Size Using Command

Oct 26, 2009

I want to know is there a command to find size of a folder.

View 4 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 :: Finding A Command Line Html Reader?

Dec 17, 2010

Kernel 2.6.21.5, Slackware 12.0 A command line html reader, or a conversion tool from html to text is what I would like to know if any of you guys knows. It has not to do a perfect job. And it would be nice if it is a native unix/linux program.

View 5 Replies View Related







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