General :: Link Two Separate Files?

Jul 29, 2009

tell me how to link two different files in linux

View 3 Replies


ADVERTISEMENT

Programming :: Link Objects In Separate Directories Using KDevelop?

Oct 4, 2010

Using: Open SUSE 11.0 64 bit, KDE 3.5.9 (release 49) and KDevelop 3.5.1. Problem: A singleton was created in subproject A, and so an object file is created in subproject A. In subproject B, I want to use that object file. We have not been able to find a way to link that object file created in subproject A with subproject B. Also, the subprojects are in different directories. We created a symbolic link to the ".h" and ".cpp" files in directory A. And the project compiles and links just fine after adding the symbolic link to the header and cpp files in subproject B. My concern is, that two objects of that singleton will be created. The whole idea of making a singleton is so that there is only one instance at a time.

View 8 Replies View Related

Fedora :: Install Grub To A Partition And Link It To A Separate /boot?

Nov 20, 2009

Where can I install grub? I know it can be installed to the mbr of a hard drive. I also know it can be installed to a /boot partition. Can I install it to a lvm partition? Does it have to be /boot? grub-install --root-directory=/boot /dev/hda Does this command install grub to a partition and link it to a separate /boot? I have fedora, but this is a live cd. I need to learn where I can install grub2 to boot

View 3 Replies View Related

Ubuntu Installation :: After Reinstalling / How Do I Re-link Separate / Home Partition?

Jan 20, 2010

Compiz settings, my entire GUI would freeze up after the startup splash. It did the little ubuntu jingle and so on but wouldn't actually load up the desktop. I would've booted into recovery mode and deleted the settings that were messing it all up for me, but pressing ESC during grub did nothing! So as a last effort I reinstalled Ubuntu (Karmic) from the live CD on the first partition only, but I don't know how to make the second partition (with my old /home directory) the normal /home directory. The instructions linked above seem to require having done the whole process of moving the partition (so as to create "old" and "new" dirs, etc.).

So there are really two problems here: 1) How does one restore things to normal when a few too many cheeky moves with the desktop effects turns everything to pot? And 2) How does one reinstall Ubuntu with a separate /home partitions

View 5 Replies View Related

General :: Grep -- Finding Files That Contain Two Separate Strings?

Dec 9, 2010

I've got a quick grep question. I'm trying to work out a command I can use to locate all of the files in a directory that have sql database connection details. I want to do it by looking for the strings "localhost" and the name of the database.find . -type f -exec grep -l -E '^(localhost|DATABASE_NAME)' {} ;

View 4 Replies View Related

General :: Setup Sendmail So That It Use Separate User And Password Files?

Oct 14, 2010

I have configured dovecot to use separate user and password file. Can I tell endmail to use it too? If not, then does postfix can this?

View 2 Replies View Related

General :: Link Files In Different Folder In Html?

Jun 3, 2010

I try to link two page from different folder and directory1. I want to link [URL]

View 9 Replies View Related

General :: View CD Shortcut Link / List Link Name By Using Any Command?

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

General :: Extracting A Bzip2 File Throws "Can't Guess Original Name" And Does Not Extract Separate Files

Dec 13, 2010

I made a bzip2 file by

bzip2 -c /home/os/picture1 > /home/os/Desktop/pic.image

bzip2 -c /home/os/picture2 >> /home/os/Desktop/pic.image

But now extracting pic.image by bzip2 -d /home/os/Desktop/pic.image returns

bzip2: Can't guess original name for pic.image -- using pic.image.out

And then it just creates one file pic.image.out.

How do I access picture1 and picture2 from pic.image?

View 2 Replies View Related

General :: Difference Between A Hard Link And Symbolic Link?

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

Programming :: Separate Out Files Based On Name?

Apr 1, 2011

I have a folder named Pictures that contains a bunch of .jpg files. My problem is that they all have randomly numbered names, then there is a duplicate of the file that is random numbers then the letter a right before the .jpg.for example, there would be 123.jpg and 123a.jpg, where 123a.jpg is just a resized version of 123. What i'd like to do but have NO clue how to, is to have a script or something go through my Pictures folder, then copy the ones that end in a.jpg to a folder called Resized, and ones that dont have that to a folder called Originals. That way my Pictures folder will be in tact, and i'll have copies of them all separated out.I have to do this all through the CLI on a machine, maybe I dont even need a script and can just do it with a slick command?

View 14 Replies View Related

Ubuntu :: Recording Live Stream Into Separate Files?

Feb 21, 2011

I want to save streaming music into hard disk. I know mplayer/vlc can do that. But mplayer/vlc stores as a single large file. What i want is to save every songs separately. Is it possible?

View 4 Replies View Related

Ubuntu Networking :: Share Files Across Separate LANS Using 2 Routers

Dec 22, 2010

I have 2 routers, each are assigning IP with DHCP on. One router is plugged into cable modem second router is downstairs plugged into first router. Wire runs in WAN of second router. Each router has its own IP subset. First router assigns IP's to 192.168.1.xxx second router IP's to 10.0.0.xxx

I know I can use the second router as an AP with DHCP OFF. BIG BUT though is my wifi verizon phone got no IP assigned when running like that and wirelessly connecting to the second router. Laptops were just fine. SO, I reconfigured second router with its own subset IP being handed out. Now verizon phone is perfect.

How can I share files between connected PC's using it this way?

View 9 Replies View Related

Ubuntu :: Should Mediatomb Generate 3 Separate Of Huge Log Files With 5gb Of Data

Jul 4, 2011

I streamed video through a my computer with mediatomb yesterday. The problem is that now, I got these huge log files. I am running out of memory (less than 1 gb left) as we speak. They're filled with ufw entries, but my question is:

I read somewhere about a program called logrotate that were supposed to keep logs from getting to big, is this wrong and should mediatomb generate 3 separate log files with 5gb of data each for just 2 hours of streaming?

View 2 Replies View Related

Software :: Link Tcl File And C++ Files Together And Run In Ns2?

Feb 11, 2011

i have a tcl file and c++ file, how can i compile them n run them in ns2?

View 1 Replies View Related

Ubuntu :: Script To Find All *.avi Files And Symbolically Link To Them Not Working Properly

Apr 5, 2011

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.

View 9 Replies View Related

OpenSUSE :: Symbolic Link Not Allowed Or Link Target Not Accessible: /srv/www/htdocs?

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

Programming :: Link Directories - Symlink Not Updated / Hard Link Not Supported?

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

Ubuntu :: Send A Link For Download And A Link With The Installation Instructions?

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

Server :: Create Soft Link And Hard Link In RHEL5?

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

Programming :: Keeping The Separate Files In Sync Line By Line?

May 5, 2010

I'm extracting data from a xml file writing it to separate files then combining the results as a csv file.The problem is keeping the separate files in sync line by line.When a grep does not action I would like to put in a blank line or something to keep the lines in order.When the "<title>" is missing as in as in the first"<programme </programme>" that's where I need somethingto write to the file as dummy data to increment the line

here's the data

Code:

<programme channel="15552.dvb.guide" start="20100504200000" stop="20100504204000">
<category>Show / Game Show</category>
</programme>
<programme channel="14498.dvb.guide" start="20100504200000" stop="20100504203000">

[code]....

View 14 Replies View Related

Ubuntu Networking :: Mount To Vista Needed For Apache - Symbolic Link Not Allowed Or Link Target Not Accessible

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

General :: Ubuntu And Windows - Separate HDs ?

Dec 21, 2010

Running a Dell XPS/Dimension 630i. It came with "SATA 2 RAID 0 With Dual 500GB Hard Drives." I have installed a new, third non-raided drive and installed Ubuntu on it.

So now I have Windows on the original hard drive and Ubuntu Linux on the new HD. When I get to the boot menu where I can select an OS, if I select windows I get an error: "No such drive, no such disk." Also, strangely in the first place, in order to even get to the bootloader menu I have had to disable ALL ports under the RAID config. Unless I do this, I will just get to a never-ending blinking cursor.

I have tried every conceivable CMOS config and nothing else works. Tried setting port 3 (the new HD w/ Ubuntu) to first hard disk boot priority. Tried disabling all other ports and enabling the Ubuntu HD port and vice versa.

I have some pictures of boot up: first one is strange error i get after messing with CMOS to finally get ubuntu install to work.

Then the boot menu:

Then error:

Also, note that I can actually access all files from the raided Windows drive through Ubuntu.

View 2 Replies View Related

General :: Running SSH On Two Separate Machines?

Mar 1, 2011

I have the following network setup.

* A static IP from my ISP
* A router/modem in my home
* Two machines: MachineA and MachineB connected to the router

Currently, the router is setup so that ports 80, 21, and 22 all forward to ports 80, 21, and 22 on Machine A.

However, I would like to be able to SSH into Machine B as well. What is the best way to accomplish this? I figured I would setup Machine B's SSH server to listed on a random port like 2995. So then I would configure my router so that incoming requests from port 2995 are forwarded to port 2995 on Machine B.

View 2 Replies View Related

General :: File Name In Separate Column?

Apr 26, 2010

I have some series of files, which actually named bellow

<day_month_yr>_<hh:mm:ss>.<host_name>.<IP.ip.ip.ip>.<log_name>.txt

I want to show this file name below the column may be

Date Time Host_Name IP_address Login_Name
----- ---- --------- ---------- ----------
<day_month_yr> <hh:mm:ss> host_name x.x.x.x log_name
...

View 5 Replies View Related

General :: Possible To Open Images In Separate Tty?

Jul 18, 2010

Don't ask why, but this is what I am looking to accomplish:

through a logged in SSH terminal, I want to be able to open an image in the console (runlevel 3) of tty1 (tty1 can be logged in or not, doesn't matter)

I have fbi installed for the console image rendering, but I am willing to change that if need be.

Is this possible?

running ubuntu server 10.04 no xwindow system.

View 2 Replies View Related

General :: Each Mail To Be In Separate File?

Mar 10, 2011

Is it possible to do in Linux each mail be in single file. For example: i am having all the mail in /var/mail/root.

Quote:

From root@localhost.localdomain Thu Mar 10 21:47:47 2011
Return-Path: <root@localhost.localdomain>
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.13.8/8.13.8) with ESMTP id p2AGHlx4004190

[code]....

is it possible to do every mail when i receive it not store in the /var/mail/root. and need to be store like /var/mail/root1(for firs mail) and for another mail would be store in diff file like /var/mail/root2(for second mail)

View 3 Replies View Related

General :: How To Separate Individual Logs?

Nov 29, 2010

I have captured a file in my linux showing logs captured from many modules concurrently. Please find attached a sample of the file. As you see, there are logs from individual modules that have been captured concurrently. For example, there are logs from IPTR,SNMP,HLR,TCAP,XAPP,and SCCP modules but they are coming concurrently.Each log has the header name of its accompanied module in the beginning. I need to have the log of each modules separately. Can you please show me the power of linux on how to separate individual module's logs from the whole?

View 3 Replies View Related

General :: Proper Way To 'sync' Branches And Keep Them Separate?

Jul 26, 2010

So I created a new branch from master and eventually merge the changes back, only some changes seemed to merge and it would seem I merged in one direction. Eventually I just decided to be sure master received all the 'experimental' changes then I deleted the experimental branch and made a new one. So this question is turning into a few questions suddenly:

1) How do I match up branches but keep them separate?

1a) Is that bad practice to not just make a new branch?

2) Why were the branches not the same after after one merge?

2a) Am I only supposed to call a merge on the one that I want to have all of the changes?

View 1 Replies View Related

General :: Shift / Home To Separate Partition?

Sep 2, 2010

Is there a way to move /home to a separate partition?
also, i would like to know if the /home partition can be fat32 or ntfs.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved