General :: Creating A Permanent Sym-link?
Oct 1, 2010Ubuntu 10.04 64-bit
Partition on HD
/root
/home
[code]....
Ubuntu 10.04 64-bit
Partition on HD
/root
/home
[code]....
I am running Ubuntu 10.10 on a Toshiba Satellite laptop and need to be able to put a permanent link to my other machine (Windows Vista) on the desktop. At the moment I have to go through the Places - Network - Windows - Network Name - Windows Shares - User rigmarole.
View 1 Replies View RelatedThere are basically two main limitations with hard links:
Hard links normally require that the link and the file reside in the same file system. Only the superuser can create a hard link to a directory.
Thus, symbolic links were introduced to get around the limitations of hard links. So, the question is, are hard links still needed? Might there be situation where they are more useful?
I need to copy tables from abc5/abc5@pqrXYZ1 to jk8/jk8@pqrXYZ1. For this I am trying to create a link between the 2 databases but not wkng.I am pasting here what I ve tried.
sqlplus jk8/jk8@pqrXYZ1
[code]....
I have heard that creating hard link to a directory is not possible however when reading the man page of "ln" the "-d/-f" option says hard link directories ( super-user only). Thus this mean the super user i.e root can create hard link to directory and not a normal user , If yes then you . Even on specifying the above options I get a operation not permitted for a super user.
View 9 Replies View RelatedI am trying to use ln to create a hard link to file a and whenever I do it, it creates a copy of the file instead. After having edited file a, when opening the link, it shows the old information and opening file a shows the new information. The command I am using is
Code:
ln /home/user/file
within the new directory i am trying to link from. I am using centos 5.4.
I have an external hard drive mounted at /media/exthdd/ On that hard drive I have folders: Music, Pictures, Videos, etc. Can I make symbolic links to /media/exthdd/Music/ to say the root directory /_ ? the directory /_ is empty I just want a quick method of typing to get me there much like [cd ~] gets me to my home/username folder. I have my music organized by Artist/Year-Album/Track.Title.mp3 I want to be able to "cd /_" then "ls" and see all Artist folders.
View 9 Replies View RelatedCentOS 5.2 64bit 2.6.18-92.el5xen. Use rsync with --link-dest for nightly backups, works well. Was recently asked to start weekly backups to an external drive for off-site storage. The regular syncing works but hard linking seems to be ignored. So the backup is long with no space saving advantage. Here is an example of the command being run:
rsync --stats -axzvl --numeric-ids --delete --link-dest=/mnt/DISASTERBACKUPS/austinBackups/backups/2009-08-21 /AUSTINBACKUPS/backups/2009-08-24 /mnt/DISASTERBACKUPS/austinBackups/backups/
I have installed gcc-3.3 & g++-3.3 in ubuntu 9.04. Now I want to change the default compiler as gcc-3.3/g++-3.3. After creating links to newly installed gcc/g++, gcc works fine but g++ doesn't work.
When I give "$which gcc" or "$gcc --version" it works fine, but when I give "$which g++" it gives nothing and also "$g++ --version" it gives an error "the program 'g++' can be found in the following packages: * g++..." When I installed gcc I gave the command "$configure --perfix=/opt/gcc33 --program-suffix=33 --enable-languages=c,c++" . When I give "$which g++33" and "$g++33 --version", work fine.
I tried following:
$export CXX=g++33
$sudo ln -s g++-3.3 g++
Nothing happens. I am very new in Linux and I need to install ns2.1a9b in gcc-3.3.
I have a Java program (minecraft server) that needs to be run from the command line. The code is:
Code:
java -Xmx512M -Xms512M -jar minecraft_server.jar nogui
To make life easy (i've got the java file in a folder on the desktop) I want to have a shortcut (or similar) sitting on the desktop. I've tried
Code:
ln 'java -Xmx512M -Xms512M -jar minecraft_server.jar nogui' ./../minesraftserver
with single and double quotes but my unix command line skills are pretty basic and this is obviously incorrect.
I downloaded the latest version of JBidWatcher and I run it with the following command...
Code:
java -Xmx512m -jar JBidwatcher-2.0.1.jar How do I create a link on the desktop or on a panel to execute that command? I can only imagine this is pretty easy but I am not getting it.
I am trying to install Java on firefox, and when I try to create a symbolic link, I get this output: ln: creating symbolic link `./jre-6u23-linux-1586.bin': Permission denied I tried using sudo, but it still did not work.
View 1 Replies View RelatedI have a bit of a problem that I don't understand and would like some help please - I will try and explain the best way I can. I installed Ubuntu using the WUBI installer and so I can access my Windows partition in /host. Using Wine I can run World of Warcraft by going to /host/Program Files/World of Warcraft/WoW.exe But I would like to create a link on my desktop to that file so I do not have to keep going to that path everytime.
The Problem - when I click make link and drag it to my desktop I double click the file (expecting it to just act like a windows shorcut) but it doesn't - it creates some of the files that are in the world of warcraft folder on the desktop and then fails to open with message: Failed to open archive dataart etc...its like it is creating a copy of files on my desktop of what is already in the WoW folder.
i have server with rhel3 ES. in folder "/lib64/tls" there is one file named libc.so.6 which is softlink of libc-2.3.2.so. i just copied libc-2.3.4.so from rhel4 AS server to rhel3 server in the same location and override the softlink libc.so.6 as a softlink of libc-2.3.4.so. now no any command is working in this server i.e.(cp,vi,rm mv ls etc.). it is also not opening any terminal and nothing command is working.
View 1 Replies View RelatedWhenever we insert CD,it creates a shortcut link in desktop.Can we list this link name by using any command? I am using Oracle Enterprise Linux 5.0.
View 10 Replies View RelatedI have searched around and am trying to understand the difference between a hard link and symbolic link (soft link). I found this link is quite useful. But I am still not very clear. I understand soft link is not a copy of original file, but is a hard link a copy or not?
View 4 Replies View RelatedI have two folders as :
drwxrwxrwx 2 root root 1368064 Mar 10 18:28 monitor
drwxrwxrwx 7 root root 12288 Feb 18 17:07 monitorDONE
I have created one short cut link for this folder with below command :
ln -s monitorDONE recordings lrwxrwxrwx 1 root root 11 Mar 13 14:30 recordings -> monitorDONE This link is under /var/www/html Now, when I do IP/recordings It show me an Error as Forbidden You don't have permission to access /recordings on this server.
I'm using Links on a Ubuntu server, and to view images I'm using Asciiview, which works well, but the association is not retained whenever I close links. How can I retain this association?
View 1 Replies View Relatedhow to save alias permanent
View 4 Replies View RelatedI have a Finnix live CD. I can customize it by remastering it. When I boot with the live CD I need to make a little change in the boot profileThe boot profile before making the changes islinux apm=power-off vga=791 initrd=minirt quiethe boot profile after making the change become linux apm=power-off vga=791 initrd=minirt quiet root=/dev/sr0Now, I need to make this change (adding root=/dev/sr0) permanent. How can I do that?
View 1 Replies View RelatedI have just booted to Puppy (for the first time in my life) on a 6 y/o amd type with a 40Gb HD, Ram: 512.I would like to make a permanent install of puppy onto the HD, I have read various pieces on how to install, defraging, repartitioning, differing file systems. However, i am a bit lost. The computer will be used for e-mail, web browsing, and watching the odd film (films installed on the drive) - I am unsure as to the best combination of file types and partition in order to keep puppy happy and keep some compatibility with the world outside of linux.
For instance, could i have a small partition with the puppy install and setting, and the rest on a format that would be compatible with windows/mac/linux? If so, how do I do this, pls bare in mind that my windows install is running but incomplete. I have the feeling this will be a really simple problem for someone to help me with,
I have a c file, and I want to open it but not in the terminal. After changing the permission, I tried: vi, pico, ed and vim. But, all open it in the terminal. How can I change the permission of that file to be opened and edited not in the terminal? When I change the permission from the terminal, it only let me edit it through the terminal, and when I check the permission of the file I see it as was it (no change). I need a permanent permission. Although, I command as a root.
View 7 Replies View RelatedWhen I enter my bootloader Grub I have to go to the system I want to load and press e to edit. Then I add vga=792 in the end of one line to change the tty resolution. How can I make this change permanent? My distribution is Debian Squeeze and there is no menu.lst in squeeze.
View 6 Replies View RelatedI have a CentOS running. It is important to have my CentOS available when I am remotely connected to a VPN router. I tried to add a default gateway to the VPN router, but after reboot it goes away. How can i put this as permanent?
ip route add 192.168.2.3 via 10.0.0.1 dev eth0
I need to add rootdelay=130 to my grub menu every time I boot up. how to edting (which) appropriate file to make a permanent change?
View 2 Replies View RelatedI have a generic monitor which has problems with many Linux distros. We can boos Sugar on a Stick v2 by pressing <tab> at the Sugar splash screen and adding the boot parameter "nomodeset". I'm handy enough to do this, but my wife, well, not so much. So is there a way to make that boot parameter permanent?
View 1 Replies View Relatedi only need localhost for testing some phpnow i get[Wed Apr 28 18:44:57 2010] [error] [client ::1] Symbolic link not allowed or link target not accessible: /srv/www/htdocs
View 9 Replies View RelatedIn the ordering of files I keep I need links to directories. Sometimes I even need to move directories to new locations. I have tried using symlinks, but they become dead when I move the directory they point to. I have tried hard links, but I haven't found any Linux file system that would support hard linked directories. How can I achieve that a complex structure of directories (currently with symlinks for directories and hard links for files) keep symlinks live when directories are moved?
- is there any utility that updates symlinks when a directory is moved?
- is there any Linux filesystem that supports hard linked directories?
- is there any good Linux interface to the new NTFS (the only file system I know to support automatically updating directory links, called directory junctions)?
I was looking for live link to download ubuntu mobile but unfortunately I don't find anything... Can someone send me a link for download and a link with the installation instructions ?? All the links that I found are dead.
View 9 Replies View Relatedhow can we create soft link and hard link in RHEL5 when am using in command it is giving format error
View 6 Replies View Related