Tagged Questions
0
votes
1answer
37 views
Opera, Firefox has no kiosk option like Chrome gives it openly?
While using Chrome kiosk mode, i have problem with openbox desktop, its not doing correct for some javascript rendering. So i wanted to test opera and firefox but both does not support kiosk at all ...
4
votes
3answers
138 views
Create symbolic links to files using wildcards
I want to create symlinks to multiple files:
ln -s dev-*.php 's/dev-(.*\.php)/$1/'
Results hoped for:
site.php links to dev-site.php
file.php links to dev-file.php
What's the most ...
2
votes
2answers
168 views
How could I make multiple symbolic links for multiple directories, conveniently
lrwxrwxrwx 1 deploy users 20 1월 23 18:15 v122 -> /home/files/video122
lrwxrwxrwx 1 deploy users 20 1월 23 18:15 v123 -> /home/files/video123
lrwxrwxrwx 1 deploy users 20 1월 23 ...
4
votes
1answer
81 views
How do I cd up and down again with symlinks in bash?
Structure:
/base/
+- somedir/
+- symlink/ -> /some_other_dir
This command (in addition to my Makefiles) fails:
cd /base/symlink
ls ../somedir
Bash complains that ../somedir does not ...
2
votes
1answer
441 views
Make cd follow symbolic links
I have my code mounted as an sshfs in my home directory, but the hierarchy is difficult to remember, so I created a symlink in my home directory leading to that directory. Is there a way so that when ...
4
votes
1answer
111 views
Move a file and re-target all of its symlinks [duplicate]
Possible Duplicate:
How can I “relink” a lot of broken symlinks?
Is there any way to move a file to a new location, and then re-target its symlinks to the new location, using a shell ...
2
votes
1answer
243 views
Fix symbolic links after version change
Say I have a symbolic link to a file, which has its version in its name. (The file is actually a jar file) Now say, that the version changes, i.e the old file I linked to is deleted and a new one is ...
4
votes
1answer
201 views
Symbolic links with ls, mv: forcing the functions to utilize “logical” addresses (remembering the original path)
It seems that for many basic functions operating on symbolic links, the physical path is used by default. However, cd works fine. When moving into a symbolic link, cd remembers where I came from so it ...
3
votes
2answers
1k views
Use `ln` to create a missing directory
So I'm writing a small package manager, and a problem I've run into is making the symbolic links to files.
It installs the package to /usr/pkg/name-version, and then reads a file to determine what ...
4
votes
2answers
536 views
What causes ln: //: Is a directory?
When linking a directory to root, I get this error:
$ ln -s ~/inbox/ /
$ ln: //: Is a directory
Bash autocompletes the directory path by adding a /. I've tried escaping without success.
$ ln -s ...
1
vote
2answers
213 views
Bash prompt when my home directory is a symbolic link
I symlinked my /host/Users/Kevin folder to /home/Kevin. I also edit the /etc/passwd file to /home/Kevin. I logged out and logged back in, however when I open up a terminal it's a bash prompt like so:
...
9
votes
4answers
2k views
symbolic link to a directory and relative path
I've created symlink with absolute path to the directory (Blink) and have for example following tree:
$ ls -l /tmp/A
total 0
lrwxrwxrwx 1 root root 6 Apr 3 12:27 Blink -> /tmp/B
-rw-r--r-- 1 root ...
1
vote
1answer
727 views
Get path of current script when executed through a symlink
I have a utility consisting of a couple directories with some bash scripts and supporting files that will be deployed to several machines possibly in a different directory on each machine. The ...