Fedora :: How To Get The Path

Nov 5, 2009

opening a window caught my attention which is not the typical bar where is the path to where I am (/ home / usser / Documents /....), What can I do to activate ?

View 7 Replies


ADVERTISEMENT

Red Hat / Fedora :: Appending A Path To PATH Variable Permanently?

Oct 21, 2010

how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.

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.

[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

Fedora :: Add Path In .bashrc By Commenting Out Old Path And Adding New One - Command Source ~/bashrc

Jun 14, 2011

When I add some path in .bashrc by commenting out old path and adding new one like this:

#EXPORT HOME_PLAY=/home/gem/old_play
EXPORT HOME_PLAY=/home/gem/play
EXPORT PATH=$PATH:HOME_PLAY

After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.

View 10 Replies View Related

Fedora :: 12 And VMTools - The Path "" Is Not Valid Path To The Gcc Binary

Mar 23, 2010

running Windows 7 64bit with VMware Workstation 7.01-build 227600. I have some knowledge of Linux, I have installed f12 and have updated the system as of 03/22/2010. All updates completed successfully.

1) How do I install VMTools on the f12 (after mounting the CD/DVD tool package)

2) How do I update the gcc files it says are dependencies?

Here's what I get on installation:Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers of the running kernel

and then I am prompted for this input from the install script:

Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]

and this is where I get stuck. How do I get around this or satisfy the requirements for the install?

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

Code:

find ./ -atime +360

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

Code:

/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... 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:

Code:

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

Code:

/old-files/uploads/2010/02/

If it doesn't exist.

View 6 Replies View Related

Programming :: Java Applet Not Loading Image With Relative Path But With Absolute Path / Resolve It?

Jul 17, 2009

Java applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server

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

prefix=user@my-server:
find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do (
cd "$path" || exit $?

[code]....

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

SUSE / Novell :: Add Path To $PATH Variable?

Apr 19, 2009

I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.

View 2 Replies View Related

Programming :: Can I Get Absolute Path Without Giving A "path" But Inode Number By C

Aug 13, 2010

Does anyone know how to get the path with a inode number by C programming?
Or can I get the absolute path without giving a "path" but a inode number by C?

like this: get_path(unsigned inode);
not such this function: getcwd(".", xxx);
taowuwen@gmail.com

View 7 Replies View Related

Fedora :: How To Get 'lame' In Path

Jun 14, 2010

How do I get 'lame' in my path? I just installed Asunder, and I want to rip CDs in MP3 format to my hard drive. I get an error message that reads:Quote:'lame' was not found in your path. Asunder requires it to play MP3 files. All MP3 functionality is disabled.

View 4 Replies View Related

Fedora :: Add X And All Subdirectories Of X To PATH?

Jun 24, 2010

Is there a way in .bashrc to say, instead of "add X to PATH, add X/Y to PATH, add X/Z to PATH", simply "add all subdirectories of X to PATH"?

[code]...

View 4 Replies View Related

Fedora :: Search Path For 'sh'?

Sep 7, 2011

I would like to run a script from any location. The script is in ~/scripts, so I added ~/scripts to my PATH. However, since I have to run it with 'sh script.sh' (due to the permissions on the directory), it doesn't seem to look in PATH for the file script.sh. Is there a way to get it to do this?

View 11 Replies View Related

Red Hat / Fedora :: Anyone Know The Path To DATE

May 24, 2010

What is the path to date?

I can't remember and can't find it anywhere with google or with the search here.

View 2 Replies View Related

Fedora :: Configure Path $ESD BIN PRELOAD?

Nov 29, 2009

I'm using NoMachine's FreeNX client on my Vista PC to access my Fedora 12 box. Mostly works a real peach and I'm very impressed with it. But...... Working through some of the stuff I'd "like" it to do I'm struggling with enabling sound.I've enabled the Multimedia setting in the NX Client. I've loaded via Add/Remove Software,

Sound support with ESD
gg2-esound-2.3.0-13.fc12 (i686)
PulseAudio EsounD dameon compatibility script

[code]...

View 1 Replies View Related

Fedora :: Gnome's Automount And Getting A Path?

May 2, 2010

I enjoy the way Gnome automounts devices, such as cameras, thumb drives, and my iphone but it doesn't seem to mount the device in a conventional way that can be accessed by a path in a command prompt.Automounted devices can be configured to Do 'X' every time it is connected (you knew that) which includes specifying a command. I want to rsync the contents of the picture folder every time I drop it in the cradle, but retain the automount that gnome uses.The path used in Nautilus is : gphoto2://[usb:001,008]/DCIM/100APPLEBut that doesn't seem to be useful to me, at least as far as I can see.

View 4 Replies View Related

Fedora :: $PATH Is Repeating Directories

May 13, 2010

I'm running Fedora Core 12 x86_64. I started out using the default bash shell (and customized the .bashrc, etc. as necessary) but had to switch to csh for this one scientific package that requires that shell.

The issue is that my $PATH has unwanted redundancy and I can't figure out how to fix it:

Code:

The csh shell was completely new to me so I'm sure I made a mistake somewhere.

Below are the files that might be relevant for diagnosing this problem. I don't think I touched /etc/csh.login or /etc/csh.cshrc but I might have accidentally done so.

Code:

Code:

View 8 Replies View Related

Fedora :: DNS Search Path Deleted?

May 13, 2010

I am trying to setup DNS domain name in my server (Fedora), which has static ip address.First, I put the DNS domain name in system-config-network->DNS->DNS search path. After restarting the network, it is deleted automatically.second, so I put the DNS domain name in /etc/resolv.conf as search mydomainname . After network restart, it is also deleted automatically.In both case domain name did not work (i.e, I can't connect to my server from outside using domain name, I can by ip address, internet is working fine).However, I found that the domain name is written in /etc/sysconfig/network-scripts/ifcfg-eth0 with search=mydominaname.

View 5 Replies View Related

Red Hat / Fedora :: Root Search Path ?

Aug 31, 2010

I am trying to find the permissions of the directories in the $PATH variable.

I am trying to use the following:

View 1 Replies View Related

Fedora :: Firefox And Adobe Reader 9.1.2 - How To Set Path

Oct 4, 2009

I have successfully installed Adobe Reader 9.1. It shows up in firefox as a plugin properly. It does not show up in edit->preferences as an Application (not sure if that matters). However when I click on a PDF to download, I get an error in the browser:

"Could not launch Adobe Reader 9.1.2. Please make sure it exists in PATH variable in the environment. If the problem persists, please reinstall the application."

I put the /opt/Adobe/Reader9/bin in my PATH in ~/.bashrc and even rebooted to make sure all was set. I still get the same message. Where do I set my PATH to make this work?

View 8 Replies View Related

Fedora :: Nautilus - Search In The Current Path?

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

Fedora :: How To Change Default Path In Jboss

Jan 3, 2011

I want to change the default path for logs in Jboss running on Fedora box? How to do the same?

View 1 Replies View Related

Red Hat / Fedora :: Can't Use It For Creating A Path Variable / File Name?

Mar 15, 2010

Originally Posted by Gekitsuu you should be able to do NEWSTRING=$STRING1$STRING2 it works but i can't use it for creating a path variable / file name.

e.g.
$STRING1 = path
$STRING2 = filename
cat $STRING1$STRING2 will not work.
so how to get this working?

View 4 Replies View Related

Red Hat / Fedora :: Searching Path Of Some Basic HW Values

Apr 22, 2010

I would like know in which file is the machine name, os type and processor architecture stored in? I would like to know the path to those files where the value for os is i386 and machine i686 is something like this, in which file the systemuser and the number of users of that system is stored

/usr/src/redhat/RPMS/ ...

In these files i686 and I 386 is stored as directories and not as values but I want them as values in the file.

View 4 Replies View Related

General :: Set Include Tomcat Lib In My Fedora 13 Path?

Aug 18, 2010

I am having problems getting my fedora 13 system to recognize my apache tomcat lib which contains lots of jar files needed to compile servlets and jsp based Java programs; i have set the classpath env variable code...

View 2 Replies View Related

Server :: Set PATH For All The Users Permanently On Fedora 8?

Apr 15, 2011

I am failing to set PATH for all the users on a linux box(Fedora 8), permanently. Basically, I have installed two different versions of python(2.5 & 2.7) Python2.5 path is /usr/bin and it is set by default for all users(not by me, also i don't know how ) and it is working fine.

Python2.7 path is /usr/bin/Python27/bin, so tried this:

PATH=$PATH:/usr/bin/Python27/bin

And it worked only for that particular session and for only root, as I set path from root user. So, i need this to be set for all the users on the linux box, including root, more importantly as permanent. So if any user types "python27" at the command prompt, it should give python2.7 prompt.

View 3 Replies View Related

Fedora :: There Was An Error Copying File Into Smb://path/folder?

Jun 10, 2010

I'm using fedora 13 to connect to my server's share folder(windows server 2003) and i found that i can create folder,create file, access and open or delete the file in the window share folder, but i can't save or replace the file in the share folder. the error message is like below...there are error copying file into smb://path/folderShow more detail:
Invalid argumenti also have attach the pictureby the way....i had disable the firewall and selinux already....but still can't save the file into the window share folder.previously i use fedora 11 and all is ok with no problem, but the fedora13 got this problem, please tell me what cause this happen?

View 2 Replies View Related







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