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

learn more… | top users | synonyms

1
vote
2answers
1k views

Problem in .bashrc

I try to edit .bashrc to view the C-compilers that I installed before. But after opening the new terminal I am stuck with strange error. I am unable to ls the files/directories and nothing works. It ...
1
vote
1answer
24 views

What files are ran when I log into the desktop?

I don't know how to phrase this to be clear. I'm not talking about terminals or shells, I know what the difference between login and non-login shells are. What I want to know is when I start up my ...
0
votes
0answers
7 views

Setting VBoxManage “path” in genymotion

I installed the latest version of genymotion along with oracleVm. I have tried configuring VM(adding to vbox group, /sbin scripts, reinstalling , adding Linux headers).Nothing seems to eradicate the ...
4
votes
1answer
179 views

How to mask stock command in Bash

I have a function that I run often from the CLI, so I gave it the short name t: $ which t /home/dotancohen/.bin/t $ cat `which t` #!/bin/bash ctags-exuberant -f php.tags --languages=PHP -R $ ls -lh ...
1
vote
3answers
61 views

sh: all commands “not found”

I was updating my PATH variable in .bash_profiles and /etc/environment and I rebooted the system (Ubuntu 14.04). After login, I got these errors: -sh: 1: id: not found -sh: 12: [: Illegal number: ...
1
vote
2answers
73 views

Icon path in .desktop file

On my desktop I have a .desktop file. If I type: Icon=/home/ianbell/Pictures/myLogo.png the icon of the .desktop file changes (the expected result). But, if I type: Icon=~/Pictures/myLogo.png ...
1
vote
1answer
38 views

Unable to add a path correctly

I have a folder: /usr/src/arm-linux-3.3/toolchain_gnueabi-4.4.0_ARMv5TE/usr/bin I can execute a command from here(I had to install the ia32-libs equivalenet on ubuntu 14.04) Now I tried to add the ...
0
votes
1answer
28 views

Create global shell command for LightTable

Trying to create a global command to launch lighttable (the editor) version 0.8.0 Initially I tried it the i thought easy way and moved the extracted lighttable folder to /opt and then created a ...
0
votes
1answer
57 views

Vim-LatexSuite: /bin/bash: latex command not found

TeXLive 2015: I installed TeXLive 2015 following the simplest instruction sudo ./install-tl-ubuntu (without any options) of scottkosty/install-tl-ubuntu@GitHub. Vim-Latex-Suite: I installed ...
0
votes
1answer
31 views

How to reset the PATH value for bash shell

I tried installing hadoop and I no longer need stuff from it. When launching shell , it gives the following and many commands are unrecognized now , how do I reset it to default ? bash: export: ...
10
votes
4answers
23k views

Where is my boost lib file?

I am using boost. I installed it using sudo apt-get install. Now I am unable to find my boost lib file on my filesystem. I want to include the path of the lib in my Qt project. grepping is taking too ...
2
votes
2answers
2k views

Permanently Remove Item from `$PATH`

I've dug around forums trying to find a way to get rid of some default items in my path, but to no avail. Here is what it gives right now: ...
0
votes
0answers
14 views

Why is my partition not at top level inside the media folder? [duplicate]

I have a partition with my data that used to be at the path /media/my_partition_with_data_name, now, after having reinstalled ubuntu, is instead at /media/ubuntu_user_name/my_partition_with_data_name. ...
1
vote
1answer
36 views

how to fix filenames with dash or space

I created a bash file, but when I run it to those files (or folders) which they have "space" or "-", my command doesn’t work! how to fix this problem. #!/bin/bash dpi=$(zenity --entry --text ...
1
vote
1answer
96 views

I have installed QT4.8.7 but CMAKE codul not match the path

I got the error message CMake Error at /usr/local/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find Qt4 (missing: QT_QTOPENGL_INCLUDE_DIR ...
-1
votes
2answers
39 views

What is the meaning of ~/ in ls -la ~/? [duplicate]

I am new to Ubuntu. Please help me with the following question. what is the meaning of ~/ in ls -la ~/
0
votes
2answers
89 views

How would another user reach your home directory using a relative path from his own home directory?

How would another user reach your home directory starting from his own home directory, using a relative path?
0
votes
1answer
20 views

PATH is unsetted in console mode

I have a login loop problem so I tried to use the command mode CTRL+ALT+F1 and the problem is that all the classic commands won't work and I feel like that is the root of the problem. When I open the ...
4
votes
5answers
27k views

ifconfig : Command 'ifconfig' is available in '/sbin/ifconfig'

My question is related to another open question. My echo $PATH gives me an output which is like ...
0
votes
1answer
34 views

How to execute something that is not in the directory you are in nor a sub-directory of that?

I want to execute a program by running ./path/to/program, however I want to be able to run this command to execute it no matter where I am. And the problem is that with this command it will only run ...
4
votes
2answers
6k views

Is there a GUI to edit the PATH variable?

There's a GUI in Windows to edit the path variable. I was wondering if there's something equivalent in Ubuntu to do the same.
0
votes
0answers
37 views

Path of downloaded files?

I was downloading a file from terminal but thing ticked where the download will go. So How to check default path of downloads in terminal and how to change it via terminal.
1
vote
1answer
36 views

Anyone able to help me figure out what I'm doing wrong with installing Standard ML

I'm a bit lost. Typically getting something programming related working on Ubuntu is painless while Windows always a pain. Not the case this time around. I followed the instructions from here... ...
0
votes
0answers
20 views

File can't found in path

I am trying to get Cordova (phone gap) running on 14.04. When I run ADB I get... bash: /opt/android-sdk/platform-tools/adb: No such file or directory My path is ...
1
vote
1answer
36 views

How to specify path to the installed tool?

I have installed SRA Toolkit using this command sudo apt-get install sra-toolkit under ubuntu. Now I am trying to use one of it's part - fastq-dump.2.1.7 but I receive an error from which I ...
1
vote
1answer
237 views

Reset python path

I installed canopy and set it to be my default python evironment, but I'm having a problem with the software. Now it is : ~$ which python /home/renanpc/Enthought/Canopy_64bit/User/bin/python But I ...
0
votes
0answers
38 views

Celery, path to application

I know that I can start a celery worker with: celery worker -A tasks & This will only work if I stand in the directory where my project is. I would like to run the command without cd into the ...
3
votes
1answer
3k views

PATH not working even after successfully modifying it

For some reason I am successful in adding new directories to my $PATH but when I run the commands in the terminal the $PATH doesn't summon them. I modified the $PATH in the ~/.bashrc file, and added ...
1
vote
2answers
281 views

creating symbolic link and setting environment variables

I've compiled Gamit/Globk software from the source codes. The installation directory's path "/home/sorbilene/GAMIT". I need to create links and set environment variables to run the software without ...
2
votes
1answer
128 views

Path given in Environment variable shows empty after reboot

I am trying to set environment variable CATALINA_HOME for tomcat server. I used the command CATALINA_HOME=/usr/local/apache-tomcat-8.0.22 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 and export ...
4
votes
3answers
2k views

“Pointers” with $ Syntax in /etc/environment

Is it valid to have "pointers" in /etc/environment using $FOO syntax? Right now my /etc/environment looks like this: JAVA_HOME=/usr/lib/jvm/java-6-openjdk ...
4
votes
1answer
156 views

What is the “path to ant” that Crosswalk speak of?

I am in the process of setting up an Ubuntu 14.04 server to experiment with Crosswalk. I have installed the Java JDK, apt-get install default-jdk and ANT, apt-get install ant. whereis java returns ...
0
votes
2answers
66 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, ...
0
votes
1answer
62 views

Slash “/” in bash

I'm learning bash language and I have a question: Which is the difference between /directory and directory/. Because sometimes when I try: cd Home/directory I have the error No such file etc ...
1
vote
1answer
49 views

problems with path of msp430 gcc

Hi everyone I'm trying to modify the path to open msp430-gcc When I use whereis msp430-gcc : msp430-gcc: /usr/bin/msp430-gcc /usr/bin/X11/msp430-gcc /opt/msp430-47/bin/msp430-gcc And what I ...
9
votes
1answer
346 views

How to check what command is taken?

I have a shell script called foo.sh in /usr/local/sbin. Besides I use another script with the same name. It is stored in /home/user/scripts. Both paths belong to PATH. How can I find out, which one ...
3
votes
5answers
4k views

Ubuntu haves a different PATH when access via XRDP session

Noob here: I have a problem, when i access my server via SSH, the $PATH is correct root@ks391320:~# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games But when i ...
0
votes
0answers
110 views

error starting terminal in ubuntu 14.04

I am unfamiliar with the error below and how to fix it, it happens when I start the terminal in Ubuntu 14.04.3. I do not send any command only press crtl+alt+T. It seems to indicate that something is ...
0
votes
0answers
17 views

How do I configure OpenSSH to deliver the server's environment and paths to the connecting session?

I've just installed an OpenSSH server through apt-get. Immediately, I noticed that when connecting through SSH I don't have the same paths enabled as I do when I am physically using the server ...
2
votes
2answers
464 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
2answers
68 views

Impossible to log in after changing $PATH

I'm using Ubuntu 14.04. While updating TeXLive I changed the PATH in an obviously wrong way. Now I can't log in: when I enter the correct password it comes back to the log in page. I connected on ...
0
votes
1answer
118 views

Added wrong path to $PATH variable but can't find old varaible to delete it

I'm trying to install virtualenv and virtualenvwrapper to set up and IDE for Python, following a tutorial for this on Ubuntu I accidentally entered the wrong path to the virtualenvwrapper. When I try ...
0
votes
1answer
488 views

bin/bash: ruby command not found. Ruby not in sudo path

I can't seem to run any code on ruby with any text editor. This error is returned when code is run /bin/bash: ruby: command not found [Finished in 0.0s with exit code 127] [shell_cmd: ruby ...
0
votes
1answer
49 views

Split a file in two different parts but use it under one path

I would like to split a large file (300GB), which is in my home directory under the dev/sdb1 into two (or more) different parts and move them into two different disk drives. However, I would like my ...
0
votes
1answer
43 views

File disappeared after cutting name when renaming

I use Ububtu 15.04 with Unity interface. While I was editing a file's name, I accidentally selected the entire name (without the extension) and pressed ctrl+x and Enter. The file disappeared. Where ...
2
votes
1answer
4k views

How to path set in Ubuntu 15.04 of Java , download the version of java-8-oracle?

I am new to Ubuntu. Recently we changed my OS to Ubuntu 15.04. I am installed java-7-openjdk-i386 from "Ubuntu Software Center" and when I use the "Android Studio" then it highly recommended me to ...
2
votes
1answer
257 views

add path directories for boost installation

I have installed boost_1.58_0 on my loptop's home directory. After some processes I faced to this message: The following directory should be added to compiler include paths: ...
0
votes
1answer
81 views

Add executable to Path

I know this question has been asked a hundred times but for some reason all the answers aren't working on my system. I'm using Ubuntu 14.04 I'm trying to add the file activator to my PATH so that I ...
1
vote
0answers
72 views

Path to external HD in mame config file

I'm trying to set the path to the rom directory in mame to an external HD, the line in mame.ini config is rompath $HOME/mame/roms this works for the roms in the HD but when I try ...
0
votes
1answer
98 views

Problem with adding path using zsh

I added a directory modifying ~/.profile and adding export PATH=$PATH:/home/...etc etc. But I realized that using zsh terminal I couldn't use the recently installed binary until I logged out from zsh. ...