General :: Editing Softlinked Files In UNIX?
Sep 2, 2010
Let's say I have file A, and using 'ln -s A B', I have B. When I open, edit and save B, now B is not symlink anymore. It's just a new copy of A. Is this expected behavior? I use Mac OS X, and I wonder it's common in UNIX. In this case, is there any way to keep B as a (soft link) to A? Or, make B as the hard link would be the only way to solve this issue? What's the advantage of using soft link than hard link? The editor that I use is 'TextMate' on Mac.
View 1 Replies
ADVERTISEMENT
Aug 9, 2011
file 1 :
DB_NAME FIRST_ACTIVE_LOG DBPARTITIONNUM
-------- -------------------- --------------
BP1 279231 0
BP1 12735 1
BP1 12734 2
BP1 12735 3
BP1 12616 4
[Code]...
View 4 Replies
View Related
Mar 6, 2011
I have files whose names look like this:Sim1-2_40.36.chr20_sb.foo.indel.novoalign.samSim1-2_40.36.chr20_sb.foo.indel.bwa.samWhat I want to do is to replace all indel with snp in the namesyieldingSim1-2_40.36.chr20_sb.foo.snp.novoalign.samSim1-2_40.36.chr20_sb.foo.snp.bwa.samBut why this unix command doesn't work
View 4 Replies
View Related
May 11, 2011
ulimit -a tells me I have a limit of 1024 open files, which is the default on my distro. Is there a way to show how many of these are currently used, or how many are remaining?
View 1 Replies
View Related
May 14, 2011
I just got SSH access to my shared hosting server (unix). I am current in a directory on the server where there is a file called images.zip. I want to download this to my desktop (I am running windows locally if that matters). Which command do I need and what is the syntax?
View 8 Replies
View Related
Aug 13, 2011
I'm looking for a tool which can monitor whether a process is near limit of maximum open files.
View 1 Replies
View Related
Jun 2, 2011
I want to write a shell script which will copy files from user Mac machine to UNIX Server without prompting userID and Password. I do not want to use ssh or rcp commands as it prompts for password.
View 5 Replies
View Related
Jan 9, 2011
I want to edit text files on Linux server from Windows, using text editor like Notepad++ or UltraEdit.I've managed to do so using WinSCP. It can edit files remotely and offers me to choose local application to open those files.That is exactly what I need, but when I hit ctrl-s (not every time, in about 50% cases), it waits for around 10 seconds, alerts that connection has failed, and offers me to "abort". When I click abort, it instantly reconnect and save file.
View 1 Replies
View Related
Aug 9, 2009
I created a password file for use with ncsa_auth in squid. Firstly, is there a way to view the passwords in the file or are they all encrypted? Secondly, is there a way to get squid to reauthenticate the user after 24 hours?
View 9 Replies
View Related
Jun 15, 2011
Lets say I log in to bash, open a file in vi, then using alt-f2 I open a new terminal. After logging in I navigate to a second file and open that in vi. How can I CnP between these two files?
I found this from [URL]. I'm not familiar with this command shift-8-y-y. I follow the vimtutor and use virtual mode. I tried this sequence and was unsuccessful.
And, I read this about registers. I found a mention of using double_quote-p to 'put' or paste the register, but this does not work in a different file. The second file reported the register empty.
Alternatively, I read in the VIM docs, it is possible to open multiple files under split screens. This may be a course to a solution. The need I often encounter has me navigating in a different bash window to find a file, then wishing to copy between the two. Whereas, I imagine, a split VIM window useful for files in the same directory.
View 6 Replies
View Related
Feb 10, 2011
what if the root user by mistakenly stops/starts any service and tried to remove those traces from the log files and save those log files. Then how can we ensure that our log file is trusted. Is there any way where even the root(superuser) also cant edit/modify the contents of the /var/log/* files.
View 2 Replies
View Related
Sep 9, 2010
finding a tool to edit XMP metadata in AVI files for Linux? I found that this XMP metadata editor can do it, but it's a Win only tool.
View 3 Replies
View Related
Apr 27, 2011
In Dolphin i have build an ssh-Connection to my homeserver. Now when I edit an file, the save to the remote location occures only when the editor is closing.This is for webdevelopment etc. not practical.Which alternatives are possible?(under Windows i love WinSCP )
View 2 Replies
View Related
Jun 4, 2010
I created a quicktime .mov movie file in iMovie on a Mac (that is not available anymore) and I want to 1) play & 2) edit the movie. I'd be happy to use a different format if I can figure out how to change it. Has anyone else done this?
Edit: If you skip down to post #16 you'll see I discovered it actually isn't a matter of editing a .mov file, but it turns out I don't have a properly exported quicktime .mov file. Instead I have (I'm not sure but I think its iMovie ver. 4.) 1) an .iMovieProj text file that lists the cuts by frame in and frame out, 2) an .mov file that isn't the complete file I thought it was and 3) a folder of all the clips that are in Apple's Quicktime DV format. In this thread people taught me about transcoding from the Apple's Quicktime DV format to liberated formats easier to work with. Given this knowledge and since I have a list of the cuts I'm asking if people could recommend a Linux video editor that would be easy to enter the tedious frame in, frame out info so I could reassemble the video.
View 9 Replies
View Related
Jul 10, 2010
This started a while back... but I'm not sure when. Whenever I'm editing one of my PHP files it takes 1+ seconds for it to write the letter I type. I tried it on HTML and it's perfectly fine. I tried going to .gconf/apps and deleting the gedit-2 file, but it didn't help. And I tried disabling the File Browser Pane plugin and it did nothing. And one more thing, it might just be some PHP files, because about half of mine are really slow like that, but the other half is perfectly fine.
View 1 Replies
View Related
Aug 2, 2010
In a recent discussion I had, I was led to believe I could use sudoers to restrict using vi (for example) for the editing of say specific config files. I know how to allow root use of vi and how to lock it down from getting to a bash prompt with NOEXEC tag,but I can't figure out how to restrict the use of vi to only edit certain files. Tutorials and howtos I have checked don't address this
View 7 Replies
View Related
Jan 1, 2011
i just want to know,how can we edit the files of /bin folder. for ex: we have a file named mkdir which is being executed when we run the mkdir command at the terminal. I just want to read the code inside that mkdir file. That binary file has to be converted to text,which should be human readable.
View 6 Replies
View Related
Mar 12, 2011
I made some changes in my CentOS for example edit some config file. I wanna apply these changes in cd of CentOS because in this way I don't have to edit each of my CentOS one by one.
View 5 Replies
View Related
Jan 15, 2010
I tried to follow "Configuring GRUB 2" at /etc/default/grub (file) in the instruction at
But the file is read only? How do I make it so that it can be modifiedie GRUB_DEFAULT=0 to GRUB_DEFAULT=1
View 4 Replies
View Related
May 11, 2011
if you know of a good linux-based sound editor? I'm looking at cutting, pasting, editing and filtering wav files.
View 3 Replies
View Related
Dec 28, 2010
looking for suggestions for simple editing of avi files. the files come from my digital camera. they are rarely more than a couple of minutes long. i don't want to burn them to a dvd or anything fancy. i just want to clean them up for posting to videos and a media server.
View 2 Replies
View Related
May 16, 2011
Is there any way to edit text files with information in a database? The file is supposed to be always the same.. the information is going to be addedd in a specific format
View 2 Replies
View Related
Jun 9, 2010
I'm trying to send files from a Unix server using http/curl to a Linux webserver running Apache. I get the following PUT error message when and the file does not send:
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL
View 2 Replies
View Related
Apr 30, 2010
Can someone recommend a good program for editing MP3 files? I need to shorten/fade in/fade out some tracks. Cool Edit Pro does nothing via VirtualBox!
View 4 Replies
View Related
Nov 30, 2010
I have a gaming server set up and running client software 24/7. This prevents me from editing the configuration files while the client is running. The server is connected to a switch which also connects another computer to the internet.What would be the proper software to use if I want to edit files on the server without interrupting the client?I have looked at Samba, SSH, and Screen, but I'm not entirely sure which one would be the best tool for the job.
View 6 Replies
View Related
May 14, 2011
I searched a bit, but got overwhelmed by what I got.
I have a number of mpg files which I would like to concatenate to each other so I get one big file. I know how to do this with the cat command code...
View 1 Replies
View Related
Oct 29, 2010
I decided to try Ubuntu 10.10 after I had enough audio driver errors on my Acer netbook ( it came with windows wtf why errors) to drive me crazy. Anyway since I installed Ubuntu its ran better then when it was new my question arises here tho. I need to do some basic video editing (combine a few avi files, add transitions, add effects, etc) I don't need some end all to do all editor. just something basic like the windows. Video editor thingy was. So far I've tried pitivi which crashes, open soft which also seems to dislike me, and kdenlive which shows some promise but seems to be slow and needs libmp3lame.
I tried to install it and while my software manager thing says its installed kden says its not. I wanted to try lives editor but my terminal abilities are almost non-existent. Is there an editor I haven't tried that could be what I'm looking for? Is there a way to fix kden? I just want to edit the video and put it on Facebook. I'm willing to learn and I'm not a computer idiot just a Linux one. I really don't want go back to windows cause ill have to reinstall it and even when I do that with the disc Acer sent me windows makes a screeching noise even when then sound is off and locks up.
View 7 Replies
View Related
Feb 23, 2009
i have been using samba to gain access into windows computer through my pc which has fedora 8 ..can i access the unix machine from another unix machine? is yes then what is the procedures ?
View 4 Replies
View Related
Dec 12, 2010
Server - Ubuntu 10.04.1 lts
Client - Kubuntu 10.10
When I try to open any nfs-mounted file using OpenOffice, I get a pop-up window titled "Document in Use". The text of the message is:
"Document file 'abcde.odt' is locked for editing by:
Unknown User
Open document read-only or open a copy of the document for editing." I then have three options - <Open Read-Only>, <Open Copy>, & <Cancel> If I cp any of these files from the mounted directory to my home dir (not mounted), I can open them without problem.Also, my firefox & thunderbird date are in this mounted directory as well (sym links to ~dan/.mozilla & ~dan/.thunderbird). Both of these apps hang when trying to open, leaving two processes behind that need to be manually killed. Again, cp'ing the data out of the nfs-mounted dir onto a local dir resolves the issue, so I am 100% confident there is nothing missing or corrupted in the firefox &/or thunderbird data...
relevant entry in /etc/fstab:
server:/nfs/dan/Documents /home/dan/Documents nfs defaults 0 0
relevant entry in server's /etc/exports:
/nfs/dan/Documents client(rw)
View 8 Replies
View Related
Jun 6, 2010
I have an old laptop that I installed EasyPeasy Lucid on. I have never used Grub2 as my other Ubuntu installs still use Grub Legacy. I have studied all the tutorials which instruct that the grub.cfg file should not be edited directly.This old laptop has one of the dreaded Intel graphics chips for which the kernel automatically loads the i915 module. Of course (like a multitude of others with Intel graphics and Lucid) I booted into a black screen but knew the workaround was to enable mode setting through grubI used the
Code:
i915.modeset=1
and added it to /etc/default/grub line GRUB_CMDLINE_LINUX, just after "quite splash", just
[code]....
View 9 Replies
View Related