Ubuntu :: Link One Command To Another?
Jun 14, 2011
there is a way to link a terminal command to run a different command... but I have no idea what it was called and all my searches keep finding how to make symbolic links.
What I'm trying to achieve is if you run $foo, the terminal will instead run $~/foo.sh
I would like this to be able to create links between the command $blender and my blender 2.5 installation which is buried in my home folder.
View 3 Replies
ADVERTISEMENT
Jun 8, 2010
Whenever 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 Related
Jun 30, 2011
When i click in one icon (for example), this icon executes "java -jar ...". In another words: Make a .exe on linux.
View 2 Replies
View Related
Mar 23, 2011
yum repolist shows the reponame. What's the command to list the specific link that it's using?
View 3 Replies
View Related
Jun 17, 2010
How to run .htm web links from command prompt on fedora10. u.
View 1 Replies
View Related
Apr 3, 2011
I need to connect to my router using only CLI, specifying an username and password, preferably with a single command line, so it won't be interactive, 'cause I need to include the command in a script.
View 5 Replies
View Related
Jan 16, 2010
I have a question about the ln command for link creation. I have both Windows and Linux partitions on my system. While I'm working on linux, sometimes I need to access the data stored on my windows partition. Yet, the access is provided through /media directory and I often, I have to click on several folders in order to access windows "My Documents" folder. So, in order to avoid this, I decided to create a link to "My Documents" folder directly from my $HOME directory.
Code:
$ mkdir /home/dariyoosh/MyDocuments
$ ln -fs /media/disk/Users/dariyoosh/Documents/MyDocuments/* ./MyDocuments
The link was created without any problem and now I have a direct access to that folder just by a click. Yet, there is a problem. If I update any file of the windows MyDocuments folder within this linking directory, the file is actually updated on the windows partition, which is of course what I want to do. But If I decide to create a new file on the windows "MyDocuments" folder by using this linking folder, that is, /home/dariyoosh/MyDocuments, the file is put actually on the linux partition instead of the windows MyDocuments folder. So, having created a directory linking to another directory, is there any way to proceed so that any file operation, in particular, creation, affects directly the linked directory?
View 3 Replies
View Related
Oct 29, 2010
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 Related
Aug 16, 2011
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 Related
Apr 26, 2010
I have a problem where I'm using Ubuntu linux to mount a Windows Vista machine's USB drive and access it on the web using Apache. I did have the USB drive plugged into the Linux machine directly and that was working via the web. FollowSymLinks is on in httpd.conf
[Code]....
The mount works and I can see the files (see above) from my regular linux user account. If I make a test file in /mnt and soft link to that, I can see it on the web. So it's just the mount to the vista machine that seems to be a problem. It's supposed to be a simple read-only mount and the apache login should (I think) be able to see the same generic root access permissions.
log from apache: [Mon Apr 26 20:39:42 2010] [error] [client 99.99.99.99] Symbolic link not allowed or link target not accessible: /home/user1/pub_html/Music, referer: https://xx.xx.xx/~user1/music.html
The credentials have a login and password that matches a special read-only account on Vista. I can see the files on the system from Linux, but not via the web. As mentioned above, a different link to the same /mnt area works fine via the web. I've tried several different mount options with no success.
View 3 Replies
View Related
Apr 28, 2010
i 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 Related
Sep 6, 2010
In 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)?
View 9 Replies
View Related
Sep 8, 2010
how 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
Jun 20, 2011
I 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 Related
Jun 15, 2011
I have searched all over the net and i just can't find out how to "link" read command to zenity entry.An excerpt of my script:
Code:
echo "Insert the location of URL:"
read lokacija
[code]....
View 3 Replies
View Related
Jun 2, 2010
There is a symlink from /var/www to a personal directory. FollowSymlink and chmod 755 are all set. It works perfectly until each morning I will get a "Symbolic link not allowed or link target not accessible" error. When I do a "sudo service apache2 restart", the problem will go away.
View 1 Replies
View Related
Oct 25, 2010
I installed 10.10 using wubi (Host system is Win XP). I want to create a symbolic link of a file on the host system (Windows c:abc.doc file) in my Ubuntu home ~/ directory.
When I type command ln /host/abc.doc abc.doc It gives me following error ln: creating hard link `abc.doc' => `/host/abc.doc': Invalid cross-device link
View 1 Replies
View Related
Jun 16, 2011
What I am trying to do is edit the link target to force ip=xxxx.xxx.xxx string at end. I have a software program which access 4 different servers running the software but with different configs. In xp I can copy links and modify as above to correctly force the program to the various servers.
I have read the various how tos on hard vs sym links which I get. Playing around with hardlinks and sysmlinks (the examples I find) does not seem to be what I need. Feel like this is pretty basic stuff but I am a bit stumped.
View 1 Replies
View Related
Apr 2, 2010
Whats the ppa link for awn repository?
View 1 Replies
View Related
May 18, 2011
I've been trying to use the library boost/thread.hpp but I cant get it to link. Every time I try it looks like this:
Code:
tyler@TjLaptop01:~/Desktop$ g++ thing.CPP -o Desktop -lboost_thread
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
View 2 Replies
View Related
May 22, 2011
I've just installed ubuntu 11.04 on my dell inspiron mini 10; dual-booting it with Windows 7.
I've looked at a couple of other threads about problems with the wireless card in the netbook and about problems with the wireless router. However, this problem doesn't seem to be the same; the netbook can see other wireless networks, just not mine, and other people seemed to be able to access their wireless network for a short period of time before they stopped being able to access it.
I can't see the wireless network on the D-link DIR-615 at all in ubuntu, though it still works in windows 7.
I've tried reinstalling the broadcom STA drivers as per this link and reinstalling but this hasn't made any difference.
What things should I consider trying in order to resolve this?
Ps. As a side note, my other ubuntu laptop (a toshiba equium A100) cannot see this network either, but has no problem connecting to other, although oddly it couldn't detect it in windows either before I put in a new harddrive and installed ubuntu on it.
View 9 Replies
View Related
Mar 31, 2010
I'm using Mozilla's new Mail. Shredder 3.0.5 Pre. I want to open a link in a mail message using my browser and it's asking to choose an Application. My question is.. Where do I find the executable file for Firefox, and what is the file name? I've searched all over my file system for it. Better yet, is there a way to search for the file location using the term?
View 1 Replies
View Related
Apr 23, 2010
I just loaded an old version, Ubuntu 6.06, after replacing my harddrive. This was the only live disc I have, and I do not have a fast computer.
I don't have much luck working with mirrors, and burning bootable discs.
I would like to do a simply upgrade to Hardy Ubuntu 8.04 without un-installing 6.06. Does anybody have a link to this upgrade.
I tried Repositories, but do not know how to use it.
View 2 Replies
View Related
May 11, 2010
I use ln -s to create a symbolic folder in /home/ to direct a folder in the media.
But it appeared the link is broken. It also said "This link cannot be used, because its target "./media/StudyResearch/" doesn't exist."
View 4 Replies
View Related
Jun 17, 2010
I am compiling a package which use Tcl and got results as follow:
/usr/bin/ld: cannont find -ltcl8.4
collect2: ld returned 1 exit status
how to link with tcl? which file to link? it is a file like libtcl.a ?
View 1 Replies
View Related
Jul 7, 2010
PC A - Ubuntu Desktop 9.10
PHP Code:
eth0 Link encap:Ethernet HWaddr 00:16:d4:99:91:61
inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
[Code]....
After connecting them with cable nothing happened. Light didn't flash. How to fix it? Aim is to be able to access PC B using FTP and SSH.
View 8 Replies
View Related
Jul 21, 2010
I'm trying to record a show from the following website [URL]. Is there some way to figure out what the streaming url is? I have a script that I am using for another station, but I need the url from this station. Here is the url in my current script: [URL] What is it for the station I've listed above?
View 8 Replies
View Related
Sep 27, 2010
I have just built my self a new computer, since it will become a media center its not that powerful so i decided on using ubuntu instead of windows. Only one problem so far, my D-Link dwa-131 is not recognized and i can't connect to the internet except with a Ethernet cable. So how do i make my computer recognize the dwa-131?
View 1 Replies
View Related
Mar 17, 2011
How to use `pwd' to create a symbolic link?$ ln -s `pwd' {link}assuming `pwd' itself will expand to the current path.
View 3 Replies
View Related
Apr 25, 2011
Can i view a Link with ActiveX on Ubuntu?
View 7 Replies
View Related