Software :: Link Tcl File And C++ Files Together And Run In Ns2?
Feb 11, 2011i have a tcl file and c++ file, how can i compile them n run them in ns2?
View 1 Repliesi have a tcl file and c++ file, how can i compile them n run them in ns2?
View 1 RepliesI 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
tell me how to link two different files in linux
View 3 Replies View RelatedI try to link two page from different folder and directory1. I want to link [URL]
View 9 Replies View Relatedi got a small problem: i have some old software that used to run under windows.now i run it under wine, and it does just fine. but i cannot make a link to my desktop. when i go to the file in the directory, i choose right mousclick and then make link. then i copy the link to the desktop. but when i run the link from the desktop: i get errors: all bunch of files were not found. It seems like the link is actually the exe file itself ? or that the link execute the exe file at the directory of the place where the link is (that is the desktop directory)
View 5 Replies View RelatedI have an executable .sh file that I would like to launch by clicking on a link in my "Internet" menu in the Netbook Remix. I've attempted to create a new link in the "Main Menu" control panel, but it won't launch. When I execute the .sh file directly (through Nautilus), I am always presented with a choice of editing or executing the file.How can I make a link in the "Internet" menu that will execute this .sh file?
View 8 Replies View RelatedI want to supply the shared libs along with my program rather than using the target system's due to version differences:
ldd says my program uses these shared libs:
I have successfully linked ld-xxx.so by compiling like this:
But I have not managed to successfuly link libc-xxx.so.
I'm running uShare on my Linux 10.4.2 box to stream videos from my computer to my Xbox via Wifi. As the Xbox360 can only handle AVI files I'm trying to write a script that traverses through all my media at;
/media/Media/
Looking for AVI's and then linking to them symbolically into a directory called;
/media/Media/Xbox360/
I plan to set the script up as a cron job so it will constantly keep up to date. This is the script so far;
Code:
#!/bin/sh
#Searches through media drive to find .avi files and symbolicly links them to Xbox360 ushare folder
cd /media/Media/
files=$(find . -type f -iname *.avi -exec echo '{}' +)
[code]....
and the only file being created is .DS_Store, I think. One other caveat I've not yet been able to get my head round, is that from time to time I'll convert videos from say MKV using mencoder to AVI's and plonk them in the /media/Media/Xbox360 folder, and so when the script traverses all my media folders I need to get it to not link to files that are already in that /media/Media/Xbox360 folder.
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 Relatedi want know how to link mobility file with tcl script? i tried with set val(sc) "test" but getting error message like
[root@localhost example]# ns box.tcl
setting initial variables...
setting other default settings...
removing unecessary packet headers...
[code].....
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 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 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 can't seem to access my ROOT folder when I link to a file in it from one in var/ w ww.if (my ip):80 links to va r / w ww, and jsp only works in tomcat / webapps /ROOT, and I have tomcat / webapps / ROOT installed in var / w ww, then I thought I would try to do something like this, to make jsp work.Is there a way to simply redirect webapps / ROOT to var / www and put all of the files there?
View 9 Replies View RelatedI have to download myself? direct link to download RPM file for koffice,
View 4 Replies View RelatedI'm looking for some advice about how to implement the following functionality in my pet project.
There are two users on my system, user1 and user2. When user1 logs in he can do what he wants etc.. when user2 logs in I want to somehow link the entire file system to another place. In more detail when user2 logs in and does something like ls ~, he should see contents of /home/user1/extra/home/user2/ instead of /home/user2/
and when user2 does ls /usr/bin he should see contents of /home/user1/extra/usr/bin/
Is there a simple way to do this kind of operation. I have looked up the ln command, but I am a little unsure about how to show a completely different file structure to a particular user.
I did play around with ln and found that you can make "soft links" to directories. The problem being how can I link the user2 home directory /home/user2 to something like /home/user1/buffer/home/user2 . can I use something like ln -s /home/user1/buffer/home/user2 /home/user2 .. I guess not. I didn't want to try it as I wasn't sure so as to not hose my system.
How can I check to which file a given symbolic link points?
View 2 Replies View Relatedi contacted my datacenter and they say it is a browser error
but i contact some1 els and he says it isnt a browser error so he asked me to check the log files
this is what i found in my log files
[Sun Feb 21 16:36:01 2010] [error] [client xxx.xxx.xxx.xxx] Symbolic link not allowed: /home/server/public_html/files/8/9x7s9tjosopkzb/rzr-prot - BoosterKing - .iso as you see , it says not allowed
but for files smaller then 4GB is it fine (i tryed it out to 1 GB files and they are fine )
the script i use is a download script and it creates symbolic links to hide the real location of the file and to limit the download to 1 ip only (its a download script :P)
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 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 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 RelatedI 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.
I create a link to a file in order to open the file from the desktop. When I move the link from the file location to the desktop, the file is opended in read-only mode. How can I change this so that the file opens in regular mode so that I am able to edit contents? The file in question is an open office spreadsheet.
View 5 Replies View Related(i)for what /usr/bin uses and for what /bin uses. i assume the answer for /usr/lib and /lib will be the same..
(ii) does anyone havea good link for ubuntu's file system reference?
I 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 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 RelatedIt appears that a write protected socket was established as a symbolic link between an audio file and the binary of the audio itself.
We are unable to remove the files and the holding folder. Attempted all possible combination of RM that I could think of and then graduated to shred. We are unable to do so code...
I am trying to compile a software using a provided sdk. I suspect that the sdk has some mismatch of the platform library, but I am not sure.
The error I got is
Code:
The libidata.so.42 is there in that folder. I guess the file might be in a big endian. Is there a way to check if the libidata.so.42 i have might be a big endian format, rather than little endian?
If my guess is incorrect, This is a c++ code on fedora x86 machine.
after successfully configuring the dwa-552 to work in master mode in ubuntu 10.04 (ath9k driver) I ran some file transfer tests. The download speed is very good (~50mbps) but the upload speed spikes at about 10-20mbps for the first few KB and then it's nonexistent (0-1kbps). This only affects file transfers or otherwise bandwidth consuming processes. Normal web browsing or ssh is not affected. After running a speedtest of my internet connection which is routed through the AP I could upload to the internet with 1mbps which is my inet connection maximum so apparently this is not affected. Tried the same file transfers with netcat to eliminate any other factors and had the same problem. dmesg and hostapd debug did not report anything unusual
View 2 Replies View Relateddoes it effective using ClamAV as Privoxy antivirus? I have actually configure it but it does not seem to come into any effect.Why?I test it with Eicar(test virus) online and it does not even prompt there is a problem unless i have scanned.Beside that,i have installed ClamAV daemon along with it. [URL]
[Code]....
Issue :How come the Clam Antivirus does not prompt there is a virus when i opened the file or problem link?Does it work difference as Window OS antivirus which prompt when there is a virus detected?