Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
1k views

Finding the path to a file from terminal

I am trying to retrieve the path to a Java class file. I have 2 projects in my eclipse: project_a and project_b. I navigated to project_a's bin folder and tried the command locate WebPerformanceUtil....
Prasanth Ganesan's user avatar
7 votes
3 answers
7k views

What is the difference between local and .local in ubuntu?

Echoing path in ubuntu returns following colon separated paths, /home/stack/bin:/home/stack/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/...
Anam Nizami's user avatar
1 vote
0 answers
61 views

Is there any difference in setting path for golang, python or java in ubuntu? [duplicate]

In some tutorials path is set in ~/.profile however in some other tutorials they use etc/path or ~/.bashrc, can you explain whats the difference and how it works in linux ubuntu. I am sorry for such a ...
Anam Nizami's user avatar
1 vote
2 answers
3k views

How do I add make a directory like a variable?

Sorry for my weird question, I am very new to Linux and I am not sure what the correct terminology is. I am writing a bash script, and I want to be able to add some directories to... I don't know ...
John Lexus's user avatar
0 votes
1 answer
97 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 ...
Grey's user avatar
  • 161
0 votes
1 answer
832 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 ...
Kobi T's user avatar
  • 1,949
0 votes
0 answers
34 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 ...
iain's user avatar
  • 49
21 votes
3 answers
137k views

How to show the full path of a file or directory in the terminal?

I need to know how the directory name in order to type it out in the terminal. How do I access the names of directories? Windows Explorer used to have a title bar with the full path. Can someone ...
Kalamalka Kid's user avatar
1 vote
2 answers
802 views

How to add a file somewhere in my $PATH list

How can achieve what you can see below? I read this question but did not succeed. My OS is Lubuntu 13.10 which is based in Ubuntu 13.10 You are technically ready to go, but there's one extra step ...
pablofiumara's user avatar
  • 1,099