General :: Find The Location Path On Server Via SSH?

Mar 7, 2010

How can I find the lynx location path on my server via SSH

View 2 Replies


General :: How To Place The Java Location In My $PATH

Sep 22, 2010

I have a program that has a GUI which I have placed in /usr/local/bin however when I invoke the program I receive the following error:

Unable to find a supported JDK or JRE version. Version 1.3.1 or higher is required. Check your installation and use +javahome to specify the JDK or JRE location

I have since installed Java into the usr/local/ directory however I am now just totally Lost! Additionally, I believe that i have tried to install Java several times with no luck.


1) Where should java be installed to have system wide access to all programs?

2) How can I place the Java location in my $PATH? here I am going to need very easy and detailed instructions?

3) Is there a way to ensure that the location where I intall java gets updates?

View 1 Replies View Related

Server :: Proxy In CentOS - Find The Location?

Aug 22, 2010

While configuring the yum through proxy i was configures with some address(10.x.x.x). after the proxy address has been changed(172.x.x.x).according to new proxy address i made changes in all locations in my system. but when i am trying to download through command line still it is trying to connect old proxy address(10.x.x.x). finally i come to know that, still some location old proxy address(10.x.x.x).is there. how to troubleshoot this issue.(how to find the location) i was try to debug find the output below


View 2 Replies View Related

Server :: Samba And Karmic - Can't Find Network Path

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

General :: Command Path Is In PATH But Bash Does Not Find The Command

Jul 12, 2011

kernel, slackware 12.0
GNU bash 3.1.17


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:


View 16 Replies View Related

Ubuntu :: Permanently Add A Location To $PATH

Jan 14, 2010

How do I permanently add a location to my $PATH so it is always there when I open terminal?

Also is there a GUI for this?

View 2 Replies View Related

Ubuntu :: Adding A Location To PATH?

Aug 27, 2010


Select a starter package from the table at the top of this page and download it to your development computer. To install the SDK, simply unpack the starter package to a safe location and then add the location to your PATH.How do I add a location to PATH?

View 1 Replies View Related

General :: Find Location Of USB Device For Backup?

Jan 20, 2011

I am using Cron for nightly backups to a usb device. I was just wondering in my script for the backup, how do I find the location of my usb device.

View 2 Replies View Related

General :: Find The Location Of A Package On A Machine?

Mar 4, 2011

I am trying to find the location of a package on my linux machine. There are several commands that i have tried like 'rpm -ql kernel-headers-2.6.32-71.18.1.el6.x86_64' but this is no good.

I also tried the following command 'rpm2cpio kernel-headers-2.6.32-71.18.1.el6.x86_64 | cpio --list! But I get a msg saying "kernel-headers-2.6.32-71.18.1.el6.x86_64: No such file or directory"So I decided to download the rpm and when I tried to install it I get "package kernel-headers-2.6.32-71.18.1.el6.x86_64 is already installed"Is there any way I can find out the location of this file??? It is not in any of the /usr folders (bin, lib, lib64, include etc...)

View 14 Replies View Related

General :: Find The Location Of The Files Listed Using Rpm -qa?

Feb 24, 2011

does any one have any idea how can I find the location of the files I listed using rpm -qa?

eg, 1 of the result returned from rpm -qa is yum-3.2.22-20.el5 how can I find the location of this program?

View 4 Replies View Related

General :: Find Out Path Of Program?

May 20, 2011

On Unix I can call certain programs from everywhere, like sort, pwd or How can I find out, where on the system really resides?

View 2 Replies View Related

Ubuntu Security :: HOME - /bin Location In PATH ?

Dec 1, 2010

I installed Ubuntu 10.04 only be dismayed to find ${HOME}/bin FIRST IN THE PATH. I blogged about it at my blog (I sudo an xterm rather than just sudoing to get a different background for the sudo'd xterm): [url]

I agree that some new user should probably not be logging on as root. But if the replacement for 'ls' is in their ${HOME}/bin/ the sudo'd shell inherits the same PATH, umask, and everything else! In general I take a dim view of a sudo only way of doing things. It seems to cause more problems than it solves for disciplined, knowledgeable users. In the case of Ubuntu it caused me to create a /root folder for root to reset the umask back from 077 which is what I use over to 022 which is what root should use. The /root/.profile of course made sure there is no /home/me/bin in the sudo'd PATH. It didn't matter because somebody is not just SETTING the file perms and is instead calculating them based off of modifications to the umask. JUST SET THEM! I ran into a problem with GRUB getting things fouled up because I was having to remove the new kernels and instead of using the command line option (much prefereable) used Synaptic Manager instead: [url]

In fhe case of an infection living in a user's file space you really should want to go in to clean it out as some other user than the user that is infected. Having said that the hackers seem to be going for the whole enchilada right off the bat. A WARNING is in order here. DO NOT USE A ROOT ACCOUNT OR SUDO FOR NORMAL TASKS! But please put ${HOME}/bin last in the PATH or preferably don't even put it in the PATH at all. Let users add it themselves if they want it. Also once hackers figure out that hijacking a sudo tty (from what I just read else-where here I would say several hackers are working on doing that right now - sendmail my ****) is a dandy way of doing things you really will need to provide for ways of cleaning a user infestation out by going at it some other way than through that infected user. A lot of Ubuntu users have only one login account, the one they created when they set the machine up.

View 9 Replies View Related

General :: Find Installed Location Of RPM Package In Unix?

Mar 26, 2010

Using rpm -qa | grep -i <pkgname> gives if a package is installed or not.

But, I would like to find out where a package is already installed i.e the location where a particular package is installed say /opt/<pkg>

View 2 Replies View Related

Ubuntu :: Location Of PATH Variable On Netbook 10.10 Maverick?

Nov 13, 2010

I'm trying to install Go (programming language):


The installation was OK, but I can't find where the PATH variable is set for 10.10 netbook remix.


~$ echo $PATH




View 9 Replies View Related

General :: Find The Installation Path Of Binutils, Gcc-3.4.4.tar.gz In Ubuntu?

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

General :: Find Command To Search Wildcard In Path?

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

Red Hat / Fedora :: Permanently Adding File Location To User Path?

Aug 20, 2010

I have added the smbd file location to the path of root. I can now execute it from any location. I noticed after reboot of the machine (RHEL 5) that this file location is no longer in the path. How do I make this permanent?

View 1 Replies View Related

General :: Error: Cannot Find GLIB Version >= 2.0: Is Pkg-config In Path?"

Apr 12, 2010

I am trying to install syslog-ng-3.0.2 on Fedora 12 and have run into an issue I don't know how to solve. When runing the "configure --enable-ssl" I get the following "checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.14 checking for GLIB - version >= 2.0... 2.0, bad version string no configure: error: Cannot find GLIB version >= 2.0: is pkg-config in path?" I have glib-2.24.0 installed on this system so I don't understand where this issue is coming from or how to fix it.

Back ground on my system -
[root@syslog-ng]# set PKG_CONFIG=/usr/lib/pkgconfig
[root@syslog-ng]# export PKG_CONFIG

View 8 Replies View Related

OpenSUSE :: Nautilus Address Bar Doesn't Show Filesystem Path / Text Location Bar

Aug 22, 2010

I have openSUSE 11.3 Gnome installed. The nautilus address bar shows the "Button Bar" and if I press Ctrl+L it swaps to the "Text Location Bar". The Text Location bar is where you see the full path to the directory that you're viewing.But I can't set the default addressing to the Text Location Bar.What else should I do to get the text location bar (i.e. the full path) to be the default view in the address bar?

View 4 Replies View Related

Ubuntu Servers :: Just Installed Ubuntu 9.10 - But Port 80 Blocked - Can Not Find Server/location

Apr 12, 2010

I installed Ubuntu 9.10 and tomcat 6 java servlet container. I am trying to run the tomcat server on port 80, so I edited tomcat's configuration file (server.xml) and changed the default port from "8080" to "80". I launched tomcat server, went to my browser and entered:[url], but it says can not find server/location. Then I edit the server.xml and revert back to port "8080" and then enter: [url] and everything works fine. So my guess is some other service is taking up port 80, but I would think not, since I just installed Ubuntu and made sure apache isn't installed or running.

So I went to "System" --> "Administration", then choose "Network Tools". I then executed Netstat and did not see anything taking up port 80, but I do see port 8080 taken (assuming it is the tomcat server). Then I also did a Port Scan and entered my IP number. Again, I don't see port 80 taken, but do see 8080 being used.

I had a winxp laptop computer behind home wireless and was running tomcat 6 server fine with it, but it over-heated and died recently. So I got a used laptop and just installed Ubuntu 9.10. I have not changed my wireless router settings. It is the same as before. So I have ruled out my home's hardware/network equipment.

So here now I sit, wondering what is up?

For security reasons, is port 80 initially blocked by Ubuntu for some reason? Is there something I have to do beforehand to free up port 80?

View 2 Replies View Related

General :: Difference Between PATH=$PATH:$1 & PATH=$1:$PATH?

Jan 16, 2011

I found the following function in /etc/profile file.


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

General :: Find Out Kernal Version And Kernal Configuration File Location

Aug 24, 2010

I am using redhat linux enterprise linux 5, how to find out the linux kernal version and kernal configuration file location .

View 2 Replies View Related

General :: Move A File To Some Path And Create That Path When It Doesn't Exist?

Oct 8, 2010

I use this command:


find ./ -atime +360

to figure out the files that haven't been accessed since 360 days. The command above will return results like this:


... etc

I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:


mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext

But I want the executed command to create this path



If it doesn't exist.

View 6 Replies View Related

General :: Forcing An Absolute Path Where A Relative Path Is Expected

Feb 21, 2011

I have a program that takes a relative path as input appends it to a some path string to get the actual path.

Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.

If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.

Is there some path string syntax that I am not aware of but can achieve this?

View 2 Replies View Related

General :: Deleted Path Variable - How To Return To The Original Path Value

Apr 26, 2011

Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.

View 3 Replies View Related

General :: Change Windows Path To Unix Path?

Sep 14, 2009

I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup

View 7 Replies View Related

General :: Change Absolute Path To Relative Path?

May 31, 2011

Current script:-

find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do (
cd "$path" || exit $?


How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?

View 7 Replies View Related

General :: Specifying The Install Path Of A Python Package On Server?

Jun 23, 2010

I have been trying to install the NumPy package for Python on to my home directory, as I run as part of a server and do not have permissions to install new packages in the Linux server.

I have set up Python in my home directory, and have configured ~/.bash_profile to find my local Python (which works, confirmed by testing).

However, when I attempt to install the NumPy package, I get the message error: could not create '/usr/local/lib/python2.6': Permission denied Which I find strange because I do not see why it would need to install files anywhere except my local Python directory.

how I might be able to specify the directory in which files are installed?

View 2 Replies View Related

Ubuntu :: How To Find Location Of Executables

Feb 23, 2011

I just installed the xubuntu-desktop package on my netbook (running UNR), and I've got one major complaint about xfce.

I can't right-click on icons in the Applications menu and add them to the launcher!Instead I have to know the location of the executable for the application, so that I can right-click the panel, add a launcher, and then type the location of the executable in and manually select an icon for it...Of course it probably wouldn't be a pain if I could find everything. In Windows, if I want to know the location of a program that's running, I just open Task Manager, right-click the application, and select Properties.

Is there some equivalent or command-line way of finding the location of a running application in Linux?

A few I'd like to know the location of are:
1) Gnome System Monitor
2) Terminal
3) Swiftfox
... and I'll probably think of others.

Even though I'm using XFCE, I figured this fell under the "all variants" category since my main question is just how to find the locations of executables...

View 7 Replies View Related

Fedora Installation :: Find Yum Package Location

Dec 18, 2009

I'm using yum install libxml2 and it says it's already installed. I need to configure php with the location of libxml2. Is there a yum command to show me where the libxml2 installation folder is? or any other package example apache ...etc.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved