Questions related to path in networking, file system and OS.

learn more… | top users | synonyms

1
vote
0answers
8 views

Why does which and whereis provide different locations and how can I prefer one path over the other?

I recently compiled and installed diffutils-3.3 as I needed the --no-dereference switch that is unavailable in the included version of diff. After configure, make, make check, make clean, and install ...
0
votes
0answers
20 views

Fix unmet dependencies libc-bin

I am trying to install some programs, but I met with unmet dependencies. For example, sudo apt-get upgrade yields Reading package lists... Done Building dependency tree Reading state information... ...
2
votes
2answers
38 views

When to use a preceding slash in path names? (e.g. for the 'cd' command)

I am a novice user and I am trying to install Oracle Java. The process calls for me to access /usr/local/java, but here is the problem. I get as far as /usr/local, then this is the message I get: ...
-2
votes
0answers
29 views

Why can't I add a specific directory to $PATH?

I have tried editing all the files suggested in various internet posts and none of them seem to work. I have a java executable in /home/aaron/.java8/bin but whatever I do, I can't execute it by ...
1
vote
1answer
79 views

Print a list of “full” relative paths of all the files present in a directory and in its sub-directories

I need to print a list of "full" relative paths of all the files present in a directory and in its sub-directories. I used to do this with du and grep: du -a <path_to_directory> | grep -Po ...
2
votes
1answer
19 views

what is the path start with @

What is the @ character in beginning section of sockets's path in output of "netstat -a" command? unix 3 [ ] STREAM CONNECTED 10868 1261/X @/tmp/.X11-unix/X0 unix 3 ...
11
votes
7answers
970 views

How to display the paths in $PATH separately

I cannot figure out how to list the various paths in $PATH separately in so that they look like this: /bin /usr/bin /usr/local/bin etc. Does anyone know the correct variable for this?
0
votes
1answer
22 views

why is sudo not working with exported path?

If not sure if this is close to (or even a duplicate of) Why does sudo not add root's PATH with Ubuntu 12.04?, I'm still posting this question because I didn't understand anything from there, if ...
0
votes
0answers
12 views

Double PATH trying to run a script

Ubuntu noob here! I want to run a script on Julia but it shows duplicate path. How I can fix it? gm@gm-VirtualBox:/home/trademaker$ julia -L trademaker.jl ERROR: could not open file ...
0
votes
0answers
27 views

Errors with Compiling g77

I have downloaded and installed g77 (due to specific reason) in Ubuntu 14.04, and the newer Fortran compilers have several errors when working with this program. However, when I went to test my ...
3
votes
2answers
81 views

How to stock all files with the same suffix into a table?

i'm making a little shell script and i want to stock all files with same suffix in a table. i want something like that : path=/home/user/Documents suffix="_suffix.txt" and then a function that ...
0
votes
1answer
32 views

change default paths of (Music, Pictures, Temples, installations, ECT)

I have my 250GB HDD split up into 3 partitions. 25GB has a windows 7 installation. 25GB has Ubuntu 14.04. 200GB is simply an empty NTFS partition. I have done in the past with windows instaltions ...
0
votes
0answers
19 views

Emulate Windows pathes on Ubuntu

I started to work with new project on new job. There is a few Windows things that hardcoded in to the projects. For example somewhere in the code I see Windows pathes like : "C://Common//resources". ...
1
vote
0answers
33 views

Drive path not retained in softwear memory after reboot [duplicate]

Question rephrased to better fit my situation at the time of asking: After rebooting my computer; all memory of recent file use by software programmes accessing files upon my second hard disk, are ...
0
votes
1answer
88 views

when a .war is deployed in Glassfish, what's the path to WEB-INF?

Where "is" WEB-INF/duke.gif? What's the path(?) to this image? thufir@doge:~$ thufir@doge:~$ jar -tf NetBeansProjects/WebApplication/dist/WebApplication.war META-INF/ META-INF/MANIFEST.MF WEB-INF/ ...
1
vote
2answers
49 views

How do I map a command to a file path [duplicate]

I am new to Linux. I have read the basic docs. I have just installed Filezilla. I first tried apt-get but the repository does not appear to be up to date. I then downloaded it from the Filezilla web ...
0
votes
1answer
37 views

Path error in Ubuntu

I'm having this strange output whenever I type $PATH. The part that says No such file or directory. bash: /usr/local/sbin:/usr/local/bin:/usr/sbin/:/usr/bin:/sbin:/bin: No such file or directory ...
0
votes
1answer
76 views

JAVA path error in hadoop

I installed hadoop watching a youtube video. while I try to run this in terminal it gives me this error srimanth@srimanth-Inspiron-N5110:~$ /usr/local/hadoop-2.6.0/bin/hadoop version ...
1
vote
1answer
48 views

How to identify my device by their physical path?

I'm creating a computer which manipulate harddrives. I would like to identify the harddrive not by the order in which I plug them into my computer but by the slot I put them into. I know Ubuntu ...
0
votes
1answer
79 views

bcd path dual boot Windows/ubuntu

Liking ubuntu (studio), but I do not like how grub takes over the boot process. had a dual boot and reformatted the Windows partition. Reinstalled Windows. have a bcd program on Windows to dual ...
1
vote
1answer
110 views

Building and using a lib without installing it? (e.g. libcurl)

I'd like to use libcurl (a lib that handles HTTP connections) by linking it statically to a program I am writing. I am new to building programs from their source, so I have no clue on how to do it ...
-1
votes
1answer
62 views

How to link to php from xampp installation so i can just use php command instead of full path?

I have xubuntu installation and xampp installed on my pc, and everything works great, but lately i am experimenting a little bit with laravel framework and a lot of tutorials and people just use php ...
1
vote
1answer
75 views

Does order of precedence with ENV variable changes which program to use?

Question: Does order of precedence in the PATH influence Ubuntu to choose which program to use? More details: I use .bashrc for declaring private env PATH, I have installed MSP430-gcc from ubuntu ...
1
vote
1answer
179 views

g++ not working… need to change PATH variable

am working on Ubuntu machine. I have been trying to run make try to compile try.cpp. I am not able to make it work. I have tried all the solutions online. apt-get is what I am using. I have tried ...
1
vote
0answers
12 views

Sharing PATH across login mechanisms with modification support

I'm running Xubuntu 14.10, currently using lightdm. Let's examine two process trees: init───lightdm───lightdm───upstart───xfce4-terminal───bash and: ...
1
vote
3answers
218 views

How to get the path to a file in your system [duplicate]

I am trying to cd /home/ervin/Downloads/psneuter in order to push psneuter to an android phone in order to root it. I believe the path to the file and folder is correct, yet I get a message no such ...
1
vote
1answer
52 views

How select between multiple programs with same name for linux shell?

I've already installed an old version of mysql server into my linux system using repository in /usr/bin path. Recently I upgraded it to latest version using linux binary package (with no installer) ...
0
votes
2answers
79 views

updating my path not working

I want to add a script directory in my home directory (for something different then just adding to bin). I keep getting "No such file or directory" after updating. Now I noticed that in the GUI file ...
0
votes
1answer
38 views

Server cannot run apt-get anymore

I was trying to setup an older version of gcc (4.1) on ubuntu 14. I was having some difficulties to set alternatives. I so thread where someone said to use this command: export PATH="/usr/bin:$PATH" ...
1
vote
4answers
14k views

How to write the path of a folder with space in it's name? [duplicate]

I can't figure out how to write the path of a folder that includes spaces in its name (in Terminal). I tried: cd /path/path/path/"A Folder"/file cd /path/path/path/'A Folder/file cd ...
0
votes
1answer
126 views

how to use “update-alternatives” to manage multiple installed version of the same app

I frequently encounter path related problems while compiling or running an app.I have two versions of node in my system, one is from official repo, the other manually installed from source. Today I ...
0
votes
1answer
232 views

apt-get not looking at /usr/lib for libstdc++.so.6

I have come across the somewhat common "GLIBXX_3.4.15 not found" error. In my case though I'm seeing something really weird. Usually the error appears something like this: /usr/lib/libstdc++.so.6: ...
0
votes
1answer
49 views

Creating a Path Variable

I need to set a path for a variable $week4 to be Week4/assignment so that typing cd $week4 will change the working directory to Week4/assignment/ I've seen a few examples of similar stuff on here, ...
-1
votes
1answer
88 views

Path is unknown when installing JustCloud

I am trying to install JustCloud on a new install of Ubuntu 14.04. JustCloud on Linux/Ubuntu says I need to run: sudo apt-get install rdiff librsync1 sudo dpkg -i ./JustCloud_64.deb before ...
30
votes
4answers
3k views

Is the tilde, `~` considered as a relative path?

I'm trying to extract the different part of the Nvidia cuda library installer. I'm using the following command: mkdir ~/Downloads/nvidia_installers ./cuda_6.5.14_linux_64.run ...
0
votes
1answer
31 views

Same program, different version, in different locations…how to specify which to use?

Hi all I'm trying to run a program called cufflinks on my machine, however there appears to be a version of this in multiple places on my existing system. For example when I typed whereis cufflinks ...
0
votes
0answers
124 views

libGDX project generator: Build Failed : Cannot find java system compiler

while generating a project libGDX throws thid error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':core:compileJava'. > Cannot find System Java Compiler. ...
1
vote
2answers
41 views

why everything is reverted back in PATH env variable after reopening shell?

As far as I know PATH is not a temporary variable. And when you reopen your terminal it should work as before. In my case it's not. What I do is to add another path to $PATH: export ...
2
votes
2answers
189 views

installing a script in $PATH

I am trying to use yeoman in Ubuntu. Everything is installed correctly but I can't use the command yo from bash. If I navigate to the appropriate directory and run node cli.js everything works from ...
1
vote
1answer
266 views

Why does my program not execute a perl file

I have a perl file name make_html.pl which works on a module named API::PDF2 (link) I downloaded it installed it and I think I set the path wrong. my @INC has the values Built under linux Compiled ...
0
votes
1answer
744 views

Cannot find device path for USB Bluetooth adapter

I am trying to use a Bluetooth adapter (known as Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) in lsusb, see further below) under Xubuntu 14.04, but my system never recognizes it. ...
0
votes
1answer
483 views

Cannot access a file using java.io.FileInputStream

I am working with java servlets and I need to access a file trail.xlsx within the java code using java.io.Fileinputstream class, for windows we have to add the drive letter but here we don't have any ...
0
votes
1answer
33 views

cannot find command added to Path - sail_align

I'm trying to build sail_align programm by following these instructions. So far everything went OK and I've completed the last fourth step without errors: 4) sudo ./Build install This command will ...
0
votes
1answer
730 views

How to configure path or set environment variables for installation?

I'm aiming to install APE in Ubuntu 14.04 LTS, a simple code for pseudopotential generation. I'm having this error message while running ./configure: checking for gsl-config... no checking for GSL - ...
1
vote
1answer
58 views

A path that appears first should be considered in first place?

I'm having a strange problem with a ubntu 12.04 server: hithwen@ip:~$ cmake --version cmake version 2.8.12.2 buildbot@ip:~$ cmake --version cmake version 2.8.7 So, different users are executing ...
0
votes
0answers
161 views

Cordova unable to add Android Platform

I have created a project and moved into that directory. When I am trying to add "android platform" to the project it gives an error. I have exported the path correctly. Everything worked fine ...
2
votes
2answers
247 views

Unison fail? Ignore path and time stamp

Trying to set up Unison version 2.40.65 on two Ubuntu 12.04 LTS desktop computers. The primary computer is a System76. The secondary computer is a late 2012 Apple mini mac that no longer has OS X on ...
0
votes
1answer
291 views

Want to write command in terminal and open application

i just installed Matlab on my ubuntu 14.04 and i can open it just with terminal writing full path, but i want to open terminal and write only "matlab" to start that program without writing full path. ...
1
vote
3answers
76 views

Add to PATH, no ~/.profile nor ~/.pam_environment

I just compiled ffmpeg, now I just want to add it on the path. Every source I can find reference .profile, and if not present or in specific cases, tell to use .pam_environment. But double tab give ...
1
vote
1answer
687 views

How to put executable to /usr/bin?

I downloaded eclipse and extracted it to /opt. My question is how can I make it run from terminal as like other programs like javac, java. I did with update-alternatives as follows: sudo ...