Software :: Difference Between Hardlink Vs Copy

Apr 8, 2010

Assuming that f1 is not a directory file, ln f1 f2 cp f1 f2 What's the difference between both?

View 8 Replies


ADVERTISEMENT

Ubuntu :: How To Hardlink A File

Apr 29, 2011

I have three nodes with

node1 192.168.1.1
node2 192.168.1.2
node3 192.168.1.3

and the node1 is the head. Problem is when I a new user comes in, I have to create that user on the same machines separately. It is possible to hardlink /etc/passwd and /etc/groups among them. So only one user will be created on the head node.

View 7 Replies View Related

General :: Do Symlink Or Hardlink At Start Up?

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

General :: Copy A Read-Only File And Make The Copy Writable With A Single Cp Command?

Mar 1, 2011

How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).

More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.

View 1 Replies View Related

Fedora :: Disk Copy Utility - Should Be Able To Not Only Copy Files But Boot Sector And Everything

Sep 1, 2010

I have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.

Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.

View 11 Replies View Related

Ubuntu Networking :: Copy Files From XP Infact Folders Using TERMINAL In Netbook, Not Copy And Paste Using Mouse?

Jul 9, 2010

just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?

View 1 Replies View Related

Debian :: Copy Anything It Says Enough Space Memory To Copy?

Jul 5, 2010

I am using windows xp and debian linux.In windows xp I am having around 25 gb offree memory but in linux if i copy anything it says enough space memory to copy

View 4 Replies View Related

Programming :: Copy An Entire Line And Add That Copy At The End Of The Same Line?

Feb 6, 2011

how do you copy an entire line and add that copy at the end of the same line?

For example, sometimes I rename a collection of files with a command like:

"mv oldfilename newfilename;"

I am able to add "mv" at the beginning, the semicolon at the end and sometimes replace a word in the middle, but... how to change a line "oldfilename" into "oldfilename oldfilename"... that is already long time a mystery to me...

View 5 Replies View Related

Fedora :: Difference Between Su - And Su?

Aug 25, 2010

What is the difference between su - and su? Both ask me for password. Bothe report "root" when asked whoami

View 6 Replies View Related

General :: Difference Between Df -k And Du -sh?

May 5, 2011

df -k
/dev/sda6 25396228 21249088 2836240 89% /export
21G used[code].....

The 3.4G is correct because we have removed all non essential file but free space reported by df is not consistent with the actual free space that should be there.

View 3 Replies View Related

Ubuntu :: Difference Between 64-bit And 32-bit?

Jan 8, 2010

I'm planning to download ubuntu, but I don't know if I should download the 64-bit one or the 32-bit one? My computer can handle 64-bit, has 4 gb, 320 gb harddrive. What;s the difference between 64-bit and 32-bit?

View 2 Replies View Related

Ubuntu :: What's The Difference Between L And Ls

Sep 18, 2010

I've typed 'l' instead of 'ls' in the terminal by mistake a couple of times, and it seems to do pretty much - but not exactly - the same as 'ls' ('l' appends *, @ etc at the end of filenames which seem to indicate permissions and/or links).

I can't find any documentation on 'l'. 'l --help' gives exactly the same output as 'ls --help'. 'which l' gives nothing. There are no files in my filesystem called only 'l' either - just a couple of unrelated folders.

So what's the difference between l and ls?

View 2 Replies View Related

Ubuntu :: Difference Between Gdm Or Kmd?

Jun 13, 2011

I have two interfaces, Gnome and KDE. So sometimes I am asked to chose between the 2 display manager gdm (Gnome) or kdm (KDE). I've never noticed any difference. When I have problems with one I have problems with the other, and usually they both seem to function equally well. If you have ever been in a situation where one was better than the other could you please tell me about it? My question is related to troubleshooting a dual-monitor setting but this is another thread, here I'm just asking because I wish to learn a bit more about displays in general.

View 1 Replies View Related

Ubuntu :: Difference Between Rpm And Deb?

Jul 24, 2011

I know Ubuntu is based on solid foundation of deb. How about rpm?

Currently ubuntu supports installation using deb. Who supports rpm? red hat?

View 1 Replies View Related

General :: Difference Between GLX And EGL

Apr 4, 2011

the difference between GLX and EGL?

View 1 Replies View Related

Debian :: Difference Between The Dvd And The Cd?

Oct 20, 2010

There is a major size difference between the dvd and the cd and It seems that you can install debian from both so What's the difference ?

View 9 Replies View Related

General :: Difference Between C And Gcc

Oct 14, 2010

what is the difference between C and gcc...

View 12 Replies View Related

General :: Difference Between NIS And NIS+?

Feb 17, 2010

Last week in one of the Interview Dump Papers I read about NIS+. Anyone who can quick reference how the setting up NIS is different from NIS+.

View 1 Replies View Related

General :: Difference Between GUI And KDE?

Jul 12, 2011

what is the difference between a GUI and KDE..

View 5 Replies View Related

General :: Difference Between SSH And SCP?

Aug 4, 2009

I need to know the exact difference between SCP and SSH can somebody explain please as i am confused as both seem to do the same thing if so let me know what the difference is.

View 4 Replies View Related

General :: Difference Between Tty And Pts

Mar 16, 2010

What is the difference between /dev/tty and /dev/pts ??
I google a lot but didn't understand......

Thanks in advance

View 10 Replies View Related

General :: What Is The Difference Between |less And |more

Jan 29, 2010

What is the difference between |less and |more ?

View 7 Replies View Related

General :: What Is The Difference Between Two ISO's

Apr 12, 2010

I tried to download ISO file and saw ,Download ISO 1 and Download ISO 2 .What is the difference between two ISO's?

View 4 Replies View Related

Server :: Difference Between Tar And Cp?

Feb 2, 2010

What is diffrent between tar and cp? Which one is faster? Their application purpose etc

View 1 Replies View Related

Software :: Difference Between NX Or VM's?

Dec 13, 2010

Problem is the office in way out in the country. I have no interest in driving out there every day for such and such but just thinking of the best solution to a soho that is easy to backup and maybe easy to have the local users fix.

View 14 Replies View Related

Slackware :: Is There A Difference Between # And ##

Feb 16, 2010

I've noticed in different config files (inet1.conf, for example) that some lines are commented out with '#' and others are commented out with '##'

Is there any reason for this?

View 2 Replies View Related

CentOS 5 :: Difference Between /dev/sdx And /dev/hdx

Mar 17, 2009

While playing a bit (fdisk) with a new machine (Intel 2 Duo E6750) that I have (with 2 SATA disks), I found a "strange" thing. If I boot the server from a Knoppix distro, fdisk sees 2 scsi HDD devices (sda and sdb). Ok, this was the expected. But if I boot the machine with the centOS 5.2 x86_64, while doing the partitioning the disks are recognized as hda and hdb, that is, IDE disks.

View 3 Replies View Related

CentOS 5 :: Difference Between 5.3 And 5.4

Mar 24, 2010

We are using Centos 5.3 32-bit Linux. However, we want to upgrade the Linux 32-bit to 64-bit. I wanted to know what is the new features or packages in Centos 5.4 64-bit over 5.3 64-bit?

View 2 Replies View Related

Debian :: Any Difference Between Sid And Aptosid?

Jan 18, 2011

I am interested in this as I am new to Debian and want to make an informed decision. Since installing Debian in virtualbox I have learned quite a bit. I know aptosid is based to debian sid. Is there a difference between the two?

View 14 Replies View Related

General :: Difference Between NIS And LDAP?

Jan 10, 2009

What is the main difference between these two ? NIS and LDAP ?

View 1 Replies View Related







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