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

learn more… | top users | synonyms

8
votes
2answers
408 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 ...
6
votes
2answers
6k 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 ...
6
votes
5answers
21k 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, ...
8
votes
1answer
13k 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?
8
votes
3answers
3k 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 ...
2
votes
2answers
43 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: ...
1
vote
3answers
12k 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.
6
votes
5answers
485 views

How do I find where an application is installed?

I installed wireshark recently. I have no idea in which directory it was installed, but it's not in /opt. How do I find where it's installed?
1
vote
2answers
792 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 ...
5
votes
0answers
193 views

How to configure terminal window to open on a specific default path? [duplicate]

Possible Duplicate: How can I start gnome-terminal at a particular directory? At present, each time we open a terminal window we are placed inside our home directory. /home/myuser/ I would ...
3
votes
4answers
22k 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 ...
1
vote
1answer
2k 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 ...
6
votes
2answers
54k 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 ...
2
votes
1answer
433 views

How to make ubuntu understand a windows-style folder path as a folder on windows partition?

I have ubuntu and Win7 on dual boot. On windows, a use a program that is set to save things on a given windows folder (like "D:\some folder"). On ubuntu, I can run this exact same program (it's not a ...
1
vote
4answers
19k 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 ...
3
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 ...
1
vote
1answer
8k 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 ...
1
vote
1answer
963 views

NoClassDefFoundError: org/apache/derby/tools/ij

Derby says to install to opt, so I did: thufir@dur:~$ thufir@dur:~$ ll /opt/db-derby-10.9.1.0-bin/lib/derbytools.jar -rw-r--r-- 1 root root 174932 May 31 12:19 ...
1
vote
2answers
25k 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
786 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 ...