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

learn more… | top users | synonyms

2
votes
2answers
204 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: ...
6
votes
2answers
8k views

How to open ~/.pam_environment?

I wanted to set environment variables JAVA_HOME and PATH. So I wanted to open ~/.pam_environment since it is the best place to set environment variables relevant to a particular user according to the ...
8
votes
2answers
494 views

What does // mean in a path?

I was working in my terminal, when I misspelled while cd to root (/). Accidentally, I typed // and I got in terminal: root@weblocalhost://# When i type pwd, i get response // but when I type ls -s ...
11
votes
2answers
51k views

How to add /home/username/bin to $PATH? [duplicate]

Show how you can add /home/<yourusername>/bin to the $PATH variable. Use $HOME (or ~) to represent your home directory.
9
votes
1answer
19k views

How do I install VLC extensions?

VLC player allows installing extensions, plugins, skins. They have to be copied into a folder: for example, its .lua extensions should be in a folder with the same name. Where is that?
10
votes
5answers
59k views

What is a full path name?

I would like to understand what full path name really means. I have a file in my home directory called my_script. I assumed the full path name is ./my_script, meaning that it is in the root folder, ...
6
votes
1answer
7k 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.
5
votes
3answers
25k views

Launch shell scripts from anywhere [duplicate]

Is it possible to run my scripts located in ~/scripts from anywhere? Say i want to run ./scriptname regardless of my current working directory.
9
votes
3answers
4k views

Typing location path instead of clicking directory buttons in the file picker dialog?

Is there a way to change file picker dialog path input? I would like to type the path myself instead of clicking buttons to specify the destination path. In Nautilus I can hit Ctrl+L, to show the path ...
1
vote
3answers
2k 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 ...
4
votes
5answers
32k 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 /home/sahil/.rvm/gems/ruby-1.9.3-p125/bin:/home/sahil/.rvm/gems/ruby-1.9.3-p125@global/bin:/home/...
1
vote
1answer
4k views

How to install packages to /opt or any other folder instead of their original path?

Some packages, like Adobe Reader and NetBeans, allow installation to /opt folder for global use. However, what should I do to install regular applications to the /opt folder? Do I have an option to ...
15
votes
2answers
113k views

How to find python installation directory on ubuntu

I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path on ubuntu shell ? Is there any way I can let shell know/...
7
votes
4answers
152k 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 /path/path/...
5
votes
3answers
3k 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 MAVEN_HOME=/usr/bin/apache-maven/apache-...
2
votes
1answer
636 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: /home/acerv3-571g/...
3
votes
1answer
18k views

How do I add an executable to my search path?

For reference, I know very little about Linux, and am using it to run a program written by someone else. The instructions say Add the executable 'ttt' to the search path. In most installations this ...
2
votes
2answers
37k views

Adding a Directory to a Path in .profile

I am new to Ubuntu (coming from Windows 7) and I am trying to add a directory to my system path and for some reason I can't get it to work. I am using Ubuntu version 12.04 LTS I tried following this ...
1
vote
2answers
983 views

Added folders to PATH cannot be found using sudo [duplicate]

Possible Duplicate: Environment variables when run with 'sudo' I've added a new folder to my path, but when running the programs (in that folder) with "sudo" it does not work. When I ...
1
vote
1answer
71 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 ...
0
votes
2answers
61 views

How to make aliases for file paths?

I have many folders on my machine, many of those folders have more folders within them, more folders within those folders, and so on... Now when I am doing certain cd and cp operations that I do every ...
0
votes
1answer
57 views

What is an object path?

This man page has the following section: udisksctl unmount {--object-path OBJECT | --block-device DEVICE} What is an OBJECT? I tried to give it a path (i.e. media/tim/name) but it doesn't accept ...