Software :: KDE Paste A File As A Symlink?
Jun 16, 2010
if it is possible to copy and paste as a symlink.
It seems to me that the only way to create a shortcut or symlink is through the command line. I use KDE.
This was one of the most basic things Windows could do since Windows 95, and is one of the simplest shortcuts I dearly miss since leaving Windows.
View 5 Replies
ADVERTISEMENT
Jul 4, 2010
I have a CMS I have developed, which will run on several sites all hosted in sub directories on my dedicated server. I want to create symlinks for the main files of the CMS, including all config files, functions and admin sections. Then there will be a few files specific to each site.I read some tutorials on creating symlinks, although most are not very good in my opinion.
Do you have to create a symlink for every file I want to include? Or can I just create a symlink to a directory? For example:CMS is located at /www/cms/.Can I make www/domain1/ point to that directory, and if so, will all files include themselves correctly. I think I am a bit confused on how this works.
View 1 Replies
View Related
Jan 26, 2010
Got these messages in syslog:
Code:
Jan 26 15:24:58 marconi named[28544]: starting BIND 9.6.1-P2 -u bind
Jan 26 15:24:58 marconi named[28544]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool'
[Code]....
This is BIND 9.6.1-P2 running on Ubuntu Server 9.10. When I move all the files from /var/bind into /etc/bind (replacing the symlink that was at /etc/bind), and change all instances of "/var" to "/etc", then it works. It seems to be the symlink that is doing it. Yet I need to get this moved over to "/var" and the Ubuntu packagers built it to use "/etc/bind".
Also, when I su to user "bind" and run "md5sum /etc/bind/named.conf" (with the symlink in place) it is able to read it just fine. Other users can read it just find. It's the "/usr/sbin/named" program that can't.
View 2 Replies
View Related
Apr 22, 2011
I have a dual-boot setup with Ubuntu and Windows 7, sharing an NTFS file system.If I create a new folder (called "newfolder") in the root of my Windows 7 partition, with a text file called newtextfile.txt, and then create a symlink in Ubuntu with ln -s /media/S3A8115D003/newfolder.I can then see, read and edit "newtextfile. txt" from Ubuntu, until I log out and reboot.After I reboot, the symlink to newfolder still appears to be there but when I try to access it, I get This link cannot be used, because its target "media/ S3A8115D003/ newfolder" doesn't exist.However, if I first navigate in the file manager to the Windows folder S3A8115D003/ newfolder and view its contents, then the Ubuntu symlink appears to be healed.How can I make the symlink work without first having to touch the target file with the file manager?
View 8 Replies
View Related
Jan 24, 2011
My home directory's permissions allow only myself access to it. Is it possible to put a file inside my home directory with.. say.. full permissions, and create a symlink to it so other users can access that file alone inside my home folder? System is Ubuntu Karmic.
View 2 Replies
View Related
Apr 19, 2011
I have a .txt-file with ~50.000 lines of numbers, generated by a mathematics program. From this file, I need line ~ 1.100 to line ~16.000 (these lines are always the same btw, this may make the solution easier, dunno) to be copy/pasted to another file, where the lines ~500 to ~15.000 (also, every time the same) should be overwritten by the aforementioned lines...I haven't found or come up with anything that works yet, mostly I find solutions to copy everything from one file to another but I can't find something to specifically overwrite a part of a file with part of another.
View 4 Replies
View Related
Sep 19, 2009
favor and let me know how can I copy some text in one file and paste it to another file ,when both of the files are being opened by vi text editor ?
View 7 Replies
View Related
Feb 13, 2011
I have never developed and deployed webpages from my Ubuntu-i tried storing and paste files in my /var/www folder since i installed and configured Apach,Php and Mysql---
View 2 Replies
View Related
May 12, 2011
I m trying to do a make but get error 2 right away with
Code: $ make: *** /lib/modules/2.6.35.13-91.fc14.i686/build: No such file or directory. Stop. make: *** [all] Error 2 regardless
View 2 Replies
View Related
May 29, 2011
Has anyone seen a seamless way to create a symbolic link via a GUI based file manager? I have been using PCManfm because I find it fast, but I can copy the file but paste a symbolic link instead of the actual file.
View 9 Replies
View Related
Jan 2, 2010
I can use on the local machine the following command:
Code:
# cat /path/to/file >> /path/to/otherfile
but how it works to write from a local to the existing file from a remote machine?
View 3 Replies
View Related
Dec 18, 2010
I have a file clipboard.txt
I do :
Code:
sleep 10s ; echo "focus on the gedit" ; xclip -o clipboard.txt
is not working.
How to make that possible, how?
View 2 Replies
View Related
Aug 4, 2009
I've tried to copy my files from Xamp httdocs in windows to /var/www/html,
but I can't paste the file, what should I do so I can paste the files ?
I have logged in as a root..
View 2 Replies
View Related
Feb 23, 2010
I want to design a kickstart file that creates an unattended installation (I've passed that part). After it installs, I want it to automatically read the device's MAC address and change the hostname to match the MAC address with the separators removed. (For example if the MAC address is 01-02-03-04-05-06, the prompt after login should read "root@010203040506")
I know this is entered in the "%post" section of the kickstart file, and I know I'm supposed to use the "cut" and "sed" commands, but I have no idea what I'm doing or how to do it. script so I can copy/paste it into my kickstart file?
View 5 Replies
View Related
Oct 20, 2010
I am running Ubuntu Linux 10.04.1 on an AMD 64-bit system. The server is primarily used for Windows file sharing via Samba in a small local network. I use webmin and putty to administer the system. I have two 1.4 TB drives for storage and one 500 GB drive with 18 GB mounted for root.I performed a large cut & paste operation (25.8 GB of files) using the File Manager in Webmin to move a certain folder into another folder within /media/Work. The operation failed and I am now getting a "root filesystem full" error, and am stumped.
View 8 Replies
View Related
Jun 14, 2010
If I have the below sudoers entryusera ALL=(userb) NOPASSWD: /home/userc/bin/executable-fileusera ALL=(userb) NOPASSWD: /home/userc/bin/link-to-another-executable-fileWhen I log-on as usera and try running the below commands, it workssudo -u userb /home/userc/bin/executable-filebut NOT the one below.sudo -u userb /home/userc/bin/link-to-another-executable-fileSorry, user usera is not allowed to execute '/home/userc/bin/link-to-another-executable-file' as userb on hostname.
View 1 Replies
View Related
Feb 27, 2010
How can be changed a symlink from the /etc/rc2.d directory.I want tho change the time of start from S20 to S60.
View 1 Replies
View Related
Oct 10, 2010
I have a server with my music on it. There is a network share where all my machines can access that music. In the past I have created a link inside the Music folder of each user/machine which links to the Samba share. I have been doing this by linking to /home/[username]/.gvfs/share on server.
In 8.10 I am able to drag and drop to create the necessary link from Music to share on server. With maybe 9.10 I lost the ability to drag and drop the link and had to resort to the command line ( ln -s "/home/[username]/.gvfs/share on server" /home/[username]/Music ). With 10.10 I don't seem to be able to create this link using any method. (Any link which is created is linked to / .) (After 8.10 admin rights are required to create the link from ~/.gvfs/whatever.) This method is very handy as all of the machines and users point to the exact same location for their music (~/Music/share) and if I can't create that link this system of organization fails.
View 1 Replies
View Related
Feb 4, 2011
how to undo this?
"Simply change the symlink so that it points to /bin/bash. To do this, open a terminal, and type the following:
sudo rm -f /bin/sh
sudo ln -s /bin/bash /bin/sh
From now on your scripts should work as their authors expected."
View 2 Replies
View Related
Aug 22, 2011
So, I made a bash script that I need to be executed on booting, I created it in /etc/sbin/mount_folder.sh
Code:
sudo chmod +x mount_folder.sh
sudo ln -s mount_folder.sh /etc/init.d/mount_folder.sh
Then I try to:
[Code].....
Also, if I create the symbolic link in the same folder I can execute it normally
View 5 Replies
View Related
Mar 13, 2010
In my MIDI music collection, I have a "best" folder with duplicate copies of only my favorite files. Recently I thought, why waste memory with duplicates--can't I just put symlinks in the "best" folder? So I tried to, in Konqueror. It would only let me make the symlinks from the Konqueror superuser account.
View 4 Replies
View Related
Jun 7, 2011
2.6.38-8-generic
Mint 11 64 bit
I'm trying to move a file from a directory to another one and create a symlink but seem to be doing something wrong. Have done "man ln" and looked up info in coreutils but I don't seem to be able to get it right. There are two files in ./home/jim/.config/banshee-1/ that I want to move to ./home/jim/Dropbox/banshee. I have created backups of both and created the new folder in Dropbox. see attached screen shots. I then run
Code: jim@saturn ~ $ sudo ln - ./home/jim/Dropbox/banshee/banshee.db ./home/jim/.config/banshee-1/banshee.db
ln: creating symbolic link `./home/jim/.config/banshee-1/banshee.db': No such file or directory and get the above error message. Now I know symlinks do not need to be complete at the time of creation, but I'm not sure if I have done this right or not and if I try and read and write banshee.db at the original location if it will do it properly and efficiently. Is this a case where I should do a hardlink instead and have both files. If I want to do this every time at start up, how do I automate the commands once I have them right?
View 5 Replies
View Related
Feb 10, 2010
I have a directory containing files and symlinks to files elswhere. I make a copy of the directory like this:
cp -rp dir/* new_dir
The files in new_dir have their original timestamps, but the symlinks have the current time. touch -t does not operate on the symblink but on the files they reference. Is there a way to set the timestamp of the symlink to a time in the past?
View 1 Replies
View Related
Feb 11, 2011
I have been using linux for about 4 months now and decided i fancy the challenge of building a LFS system(Using book version 6.7). I have got all the way up to the point of gcc being installed and then have to create the symlink to libgcc.a
Now i have typed in the command and tried copy and pasting but i always get the following output:
Code:
Now it cannot find -gcc it appears but states at the bottom ./libgcc.a file exists.
If its a fatal error or what I can do to possibly correct it!
View 4 Replies
View Related
Feb 19, 2011
Because I am working with some 3d software, and to be able to start it I need to symlink libGL.so.1 and libGL.so.1.2 from /usr/lib64/ to libGL.so.1 and libGL.so.1.2 from /usr/lib64/catalyst/ folder. I move existing libs to new names by adding .bak at the end of file name.
But everytime I restart machine soemthing changes libGL.so.1 linking from libGL.so.1.2 (in catalyst folder) to libGL.so.1.2.bak (in usr/lib64/ folder), original file. And I can not start 3d software. Can I stop that from happening somehow? Why is that happening at all?
View 6 Replies
View Related
Dec 10, 2010
I'm trying to figure out how to tell the shell (tcsh) to remember when I've gone into a symlinked folder, and allow 'cd' to navigate back out of the symlink rather than just navigate to the parent directory of the linked-to folder...
For example:
$ ls -al /jobs
tech -> /mnt/projects1/tech
temp -> /mnt/projects2/temp
$ cd /jobs/tech
$ cd ../temp
../temp: No such file or directory.
$ pwd
/mnt/projects1/tech
View 2 Replies
View Related
Jul 27, 2011
I'm wondering how I'd be able to symlink all the files in a dir structure and then also copy files of a certain extension in that dir. I'm basically symlinking all files within /foo/a,b,c to /bar/a,b,c and then copying over certain files with a certain extensions.
View 1 Replies
View Related
Jul 26, 2010
I have mounted a samba share on my desktop from a remote server (with smb4k). There I created a symlink to "/". When I open the symlink with konqueror it opens the right one (the root directory of the server), but when i open this link with the shell (cd rootfs/), then it opens my local root directory (of my host)... Is it possible to open the right link with the shell?
View 1 Replies
View Related
Aug 7, 2010
I'm running a clean install of Lucid on a new HD. I've moved over all my old data and files from the previous Karmic system, and am having trouble with a directory full of symlinks. This is a collection of links into my photographs, which I use for wallpaper with Desktop Drapes, and the directory has 1300 symlinks which now point to the wrong place.
I only need to change the first part of the link target:
/oldplace/somedir/subdir/photo.jpg
into:
/newplace/somedir/sudir/photo.jpg
I believe this needs the application of _ ln _ in a terminal to re-write the symlink, and the use of a bash line including _ if . . fi _ or possibly _ IFS _ ? I might also need to use _ sed, - but I'm not sure of the syntax for this.
View 3 Replies
View Related
Jul 22, 2010
I have to make sym link of phpmyadmin in /var/www in order to run phpmyadmin. I read that links can't be chmod-ed. The link ot folder phpmyadmin has 777 permissions. When browse in it every file has only read and for the root read/write access.
Is that a problem (777 access rights on sym link phpmyadmin on /var/www folder)?
View 1 Replies
View Related