Ubuntu :: How To Find The Current (installation) Path Of A Tool
Jul 12, 2010
Assume I call a certain tool in terminal like
foobar -myoption
But a) there exists more than one installation of "foobar" on the system or b) I don't know where "foobar" is installed.
How can I find out WHICH foobar resp. WHICH path belongs to the currently active foobar tool?
I prefer a cmdline command with option similar to:
findactivepath -tool=foobar
....
Output: Used location=/usr/bin/foobar
I don't want to dig around with PATH investigations by searching every PATH component. Furthermore I don't want to get recommendations and expectations like "normally tools are installed in...". Think of unusual installed software.
View 1 Replies
ADVERTISEMENT
Apr 5, 2011
I have ubuntu 8.10. In this I could find the binutils, gcc are installed. But when ever I try to know that glibc, glibc-linuxthreads are installed are not. It showing that no package is found. For that I have downloaded glibc-2.3.3.tar.gz, glibc-linuxthreads-2.3.3.tar.gz.I want to install these two package.i dont know where to install as am novice to linux.
View 1 Replies
View Related
Jan 14, 2010
I have this weird problem. The other day I asked a question about restore the backup file after dual boot installation. I have done the dual boot ( XP installed first) then restored the backup file. Now the problem is that I forgot if I excluded system files from backup or not, so when I restored and rebooted, my installations got messed up, many programs do not find their path to run, etc. But the real problem is when I rebooted again, I got error 15: file not found tried to follow some other posts here to solve this and noticed that running fdisk -l gives me:
[Code]....
View 1 Replies
View Related
Mar 1, 2011
If i am using a terminal window (shell) and I am on a deep point of a folder tree it becomes difficult to read what i write, as well as the entire content of the window.Is there a way to shorten the name of the current path in a shell / terminal?I know that aliases can be used for commands, does it exist anything similar for paths?
View 14 Replies
View Related
Apr 10, 2010
when i search in nautilus folder browser it search in my home path,how i can say to search in the current path?
View 2 Replies
View Related
Aug 21, 2011
I am reading about jiffies in linux kernel. In one of the related example in the book Linux Device Driver, the author use
head -8 /proc/currentime
to print out some time information.
However this file is not present in my linux installation (kernel: 2.6.32-131.6.1.el6.x86_64). Why is it the case? Is it because the file path is no longer valid, or it is a distribution feature thing? It is not present in OSX too. What would be an equivalent in OSX?
View 1 Replies
View Related
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
Jul 12, 2011
kernel 2.6.21.5, slackware 12.0
GNU bash 3.1.17
Code:
As you can see, /usr/local/bin is in the path. However, bash does not look for nasm in /usr/local/bin.
If I am root, things go well:
Code:
View 16 Replies
View Related
Sep 24, 2010
I am trying to install Staden on a Ubuntu 10.04 machine (64bit). It requires a number of dependencies to be installed prior to configuring the source. I was fortunate to find all of them using the synaptic package manager. now for the configure command I need to specify where these dependencies are as options.
how do I find the programs that I need to reference as options to the configure command such as: tcl, tk, zlib, xz utils, libpng, curl, tklib, itcl, itk, etc. Is there a standard directory that synaptic uses or what?
View 7 Replies
View Related
Aug 22, 2010
I mean I have a folder on my root /share and I want to find out how much free space do I have left on the hdd, problem is I have 4 HDD and I don't know if /share is mounted on / or where ..... what is the command line?
View 2 Replies
View Related
Dec 27, 2010
I am using VLC to capture video from my webcam. So to set the video device I use /dev/video0 (built in webcam), but I need to specify the path to the built in mic and I can't find what that path is. If it help any, it seem my system is configured to use pulse audio instead of alsa. Is there any script to run to find where my mic is "pathed" at? arecord -l returns this:
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
[Code]....
View 9 Replies
View Related
Aug 10, 2011
I'm writing a script that tidies up my system before it shuts down.
One of the things I would like it to do is clear my Trash..
Code:
But I can't find the path to the trash. Anybody know where it is?
View 8 Replies
View Related
Feb 5, 2010
I accidentally deleted my toolbar at the bottom of the desk top page and now i can not figure out how to get it back.
View 2 Replies
View Related
May 12, 2009
I wanna uninstall ipp 6.0 and reinstall ipp 5.3 under linux centos 5.3. I'm not able to uninstall ipp 6.0 and I'm getting this error: ERROR: ERROR: Unable to find rpm tool, add its location to your PATH and restart uninstallation
Also, I'm not able to install ipp5.3 and I'm getting the same error ERROR: ERROR: Unable to find rpm tool, please add its location to your PATH and restart installation
View 19 Replies
View Related
Jun 9, 2010
just trying to copy a cd to ogg.. can see the music.. can see the burner gui..its asking for the path to the cd right click on the cd icon.. nothing.look in the 'computer' section of places.. useless.look in a load of folders, where it may be.. nothing.
View 2 Replies
View Related
Feb 2, 2011
How do i setup jde with emacs and how do i find my jdk path and verison to it?
Here the link i try to found.
[url]
View 1 Replies
View Related
May 20, 2011
On Unix I can call certain programs from everywhere, like sort, pwd or my_custom_script.sh. How can I find out, where on the system my_custom_script.sh really resides?
View 2 Replies
View Related
May 5, 2010
I'm using bash scripting to find any file that matches a path governed by the following regular expression:
"(monthly|nightly).[0-9]+/home/(user1|user2)/.mailbox/"
to match files like:
monthly.9/home/user1/.mailbox/l23131564
nightly.15/home/user2/.mailbox/cur/6546213
I've tried:
Code:
myRegex="(monthly|nightly).[0-9]+/home/(user1|user2)/.mailbox/"
find ./ -regextype posix-egrep -regex $myRegex
and it just spins and never gives me an answer, even though the file structure isn't that big.
View 8 Replies
View Related
May 16, 2010
I have a 1TB drive that has MANY duplicate files all over it. a good linux tool that can find duplicate files on such a large drive (almost full) drive?
View 1 Replies
View Related
Jun 17, 2009
I've just setup a new serve on CentOS5.3 64bit and installed apache2.2 through the command below sudo yum install httpd mod_ssl
View 2 Replies
View Related
Nov 15, 2010
I installed a new program called the "Android Notifier Desktop 0.2.1" and within the program it say to use the systems startup manager to start the program with every system boot.I have no idea where to begin looking for the programs file and main start up link.
View 9 Replies
View Related
Jul 19, 2011
I am running Debian Squeeze, 64-bit.I would like to try my hand at bash scripting. So at the author's suggestion (first chapter of Chris F. A. Johnson, Pro Bash Scripting from apress) I created a /bin directory in my home directory. So now I would like to modify my PATH statement so that when I run a script from my bin directory my shell will find it.I did that. He then says that I should add this to ".bash_profile, .bashrc, or .profile depending on how bash is invoked." The find command is unable to locate any of these files. So I searched the forum, found the link above and tried to follow that. No luck so I assume that how Debian handles PATH statements has changed since that post?
I also have checked the wiki and worked Google as hard as I know how to do.Very simply where the heck is my PATH statement and how do I modify it?
View 4 Replies
View Related
Mar 7, 2010
How can I find the lynx location path on my server via SSH
View 2 Replies
View Related
Mar 21, 2010
I just made the complete switch from windows 7. I'm looking for a weather applet and a currency conversion applet for my desktop.
I tried gdesklets but I couldn't get any of the weather applets to work. They couldn't find weather data. The weather part of my gnome-panel works fine.
I also couldn't find a simple currency conversion tool with gdesklets.
Ps: major kudos for anyone who can find a tv guide desklet.
View 5 Replies
View Related
Nov 11, 2010
Does anyone know of a tool to find the fastest mirrors for the repos? I know some distros have something called "fastest mirrors" or something equivalent. The fastest I can get updates is around 238 kB/s and normally, on other distros I get 10 times that speed.btw, like all the other distros, speedtest.net gives me an avg download speed of 43Mbs
View 9 Replies
View Related
Dec 8, 2009
I need a command to search for any file in a directory like so:
/home/*/upload/* and then change permissions any file in that directory.
Find doesn't seem to match what I need.
View 12 Replies
View Related
Mar 8, 2010
a new hardisk and a reinstall later I find myself face with 2 problems now. firstly I followed, [URL]... which seemed to work fine, accross the network I can "see" all the workgroup computers. Now try login to karmic's or (other linux box) jaunty, can't find network path. tried turning off the firewalls, still no go. the two linux boxes can chat merrily, and the 2 windows boxes can chat, but to each other. however after fidling a bit , on karmic i now get
Quote: Could not display "network:///" Nautilus cannot handle "network" locations
so firstly how do i reinstall everything, the how deal with windows.
View 3 Replies
View Related
Jan 16, 2011
I found the following function in /etc/profile file.
[Code]...
1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??
2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH
View 14 Replies
View Related
Mar 30, 2009
I am trying to find a best tool to track configuration files changes. I did find some information about osec and mactime, but, it seems, that they are not included in fedora/rpmfusion package databases. is there any tool that can be installed as a package?
View 8 Replies
View Related
Nov 23, 2009
As part of my testing, I need to find a tool that will write/read IO to a volume. I need it to fill the volume and then read and verify that the write was successful. hroughput stats would be a plus, but right now, IO verification is a must.I need the volume to write, read, verify, then repeat until the volume is full.Can anyone point me to a free tool that can manage this?
View 1 Replies
View Related