8
votes
2answers
463 views

Symbolic link and sudo

I create a symbolic link: ln -s /tmp/folder1 /tmp/folder2 Then I go to /tmp/folder2 and run pwd: $ cd /tmp/folder2/ $ pwd /tmp/folder2 $ sudo pwd /tmp/folder1 # <-- This is the odd part Why ...
0
votes
5answers
567 views

Massive symbolic link creation using for loop in bash

I just wondering myself if it would be possible to create massive amount of symbolic links using a for loop? For exemple, I have a lot of directory on my /tmp directory (I know, not recommanded) and ...
1
vote
1answer
807 views

script not run after reboot from /etc/rc3.d

I create symbolic link to the file - /etc/rc3.d/platform.bash from /var/tmp/platform.bash ln -s /var/tmp/platform.bash /etc/rc3.d/platform.bash script exist under /var/tmp : ...
0
votes
3answers
310 views

Symbolically link all JPGs in a directory tree to a single directory [closed]

I have a series of directories, and images contained within: /Volumes/library/Originals/2012/2012-05-13 Event/filename.jpg /Volumes/library/Originals/2011/2011-03-11 Event/filename.jpg ...
3
votes
3answers
285 views

Prevent 'cd' remembering symbolic links traversed

Say you have directory ~/mytool that softlinks to /usr/local/mytool. Then cd mytool leaves your current directory as ~/mytool, which may cause scripts to behave incorrectly. Is there a way to avoid ...
1
vote
1answer
490 views

Symbolic Link to folder in root

I have created an ftp account within a vhost and added a symbolic link to a folder situated in root e.g. [root@server myvhost]# pwd /home/myvhost [root@server myvhost]# ll ..... lrwxrwxrwx 1 myvhost ...