General :: Changing A File At A Time Located In Two Locations?

Nov 23, 2010

suppose i have two file with same name fstab one file is located in /etc and the other is located in /root/ If i make a change in /etc/fstab file the changes has to reflect in /root/fstab . Is there any command to do this?

View 6 Replies


ADVERTISEMENT

General :: Reading Changing File In Real Time

May 27, 2010

I know this command exists I just can't seem to find it. I want to see the last few lines of a file as more are added in real time. Can someone point me in the right direction?

View 2 Replies View Related

Ubuntu :: File Access Time Not Changing?

Nov 24, 2010

I am trying to modify the file access time in a Python routine I have. I have I believe the correct code for this but have a greater issue. Looking at a random file in my home directory I can see it was last accessed yesterday (I didn't open this file yesterday) so it was presumably my virus scan. No problem there Now I have opened the file today,rescanned the file for viruses and read the file in Python and the file access time remains the same!I have checked the access time by right clicking on the file and choosing Properties, using "ls -lu", and using os.stat(path) in Python.

View 9 Replies View Related

General :: Download A Single File In 2 Parts To Different Locations Using Wget?

Jan 18, 2011

I need to use wget (or curl or aget etc) to download a file to two different download destinations by downloading it in two halves:

First: 0 to 490000 bytes of file
Second: 490001 to 1000000 bytes of file.

I will be downloading this to separate download destinations and will merge them back to speed up the download. The file is really large and my ISP is really slow, so I need to get help from friends to download this in parts (actually in multiple parts)

The question below is similar but not the same as my need: How to download parts of same file from different sources with curl/wget?

aget

aget seems to download in parts but I have no way of controlling precisely which part (either in percentage or in bytes) that I wish to download.

Extra Info

Just to be clear I do not wish to download from multiple locations, I want to download to multiple locations. I also do not want to download multiple files (it is just a single file). I want to download parts of the same file, and I want to specify the parts that I need to download.

View 1 Replies View Related

General :: Get The Error That The File Is Not Located In Root And Can Not Run

May 20, 2011

this i am sure is a very newbie question i have been using linux for a while now Fedora 14 and am still stuck on one issue even though i have trolled the internet for hours. i want to install the 7300 gs driver however when i go to terminal and type: sh NVIDIA-Linux-x86-260.19.12.run i get the error you must be root. so simple i type su --login add my password then when typing the run command i get the error that the file is not located in root and can not run. so my question is how do i do it. if i cd to home i loose root permissions if i try sudo sh file.run i get the error it is not one of the sudoes.

View 4 Replies View Related

General :: Search (not Browser) History / Where Is File Located In Firefox?

Jan 11, 2010

Is it possible to locate the Firefox file that retains "Search" history (not particularly "Browser" history)?I have lost a hardcopy list of authors and titles of books/ebooks that I search the web for. However, most of the time when I would enter a name or title a drop down list would have that entry I wanted, and I could just click on it. That drop down list is what I am calling "Search" history.

View 8 Replies View Related

General :: Fedora Ethernet File Locations For Auto Eth - X - Devices Missing Ifcfg-ethX Files

Jul 24, 2010

Missing ifcfg-eth[2-5] fileset for ZNYX 345Q Quad Port 10/100 cards. I have showing in the gui network device that my ports for my ZNYX ZX345Q Quad Port card my ports are Auto eth2, Auto eth3 etc. My Motherboard and Intel cards show as System eth0 and System eth1.

There ARE corresponding entries for those in my /etc/sysconfig/network-settings/ directory, but there are not ifcfg-eth[2-5] files to correspond to these adapters. Can I just write my own files and that will do it?

How does Fedora 12/13 load these drivers into the kernel without having these ifcfg files?

I'd love to know if there is another way Fedora controls NICs / other system resources.

View 1 Replies View Related

General :: Changing The Time Zone To GMT?

Dec 15, 2010

I want to to change my time zone from PKT to GMT but when I do it from setup command it give the following error:

Traceback (most recent call last):
File "/usr/share/system-config-date/timeconfig.py", line 112, in ?
runConfig(rc)

[code]...

View 2 Replies View Related

General :: Root Process Whose Pid Is Changing All Time / Why Is So?

Mar 17, 2011

It's pid is increasing all the time...
I'm writing a program to display all the process's info, this process really bother me.
Oh..the Chinese words are sleeping..., can't use, can't use

View 2 Replies View Related

General :: Why Does Changing A Truecrypt Password Take Such A Long Time

May 31, 2010

I am changing the password of a truecrypt file container. This takes around 1 minute. Why?

time truecrypt --text --change /tmp/user1.tc --keyfiles= --new-keyfiles= --password=known --new-password=known --random-source=/dev/null"

If I use strace I see that it basically does not do anything: it simply reads lots of random data from /dev/urandom (even if i specified /dev/null as random source) and finally changes the password:

open("/dev/urandom", O_RDONLY) = 6
read(6, "36&{35121221234320234313242312I326235245224300354O)270Q200 201J227224311_212367"..., 640) = 640
close(6) = 0

View 1 Replies View Related

General :: How To Disable People From Changing Screensaver Time

Oct 25, 2010

Running RHEL5 and because of the environment that we are in we have to disable the users being able to change the screen saver. I have tried using the gconf-editor to see if I can disable it but don't know if that is the correct way of doing it. I also looked in /etc/xdg/menus and really don't want to miss with that.

View 2 Replies View Related

Red Hat / Fedora :: Date And Time Changing All Time / Solution For It?

Jan 11, 2010

I have a problem..
the Date and time are changing all the time...

Meanwhile, I'm set the clock every day, But I must find a solution ... Do you have a solution?

View 1 Replies View Related

General :: Changing Directory - Saved File On The Desktop - Cannot Seem To Get That File To Execute It

Mar 10, 2011

I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:

I try cd Desktop says that there is no such directory.

I tried /home/me/Desktop same thing.

View 5 Replies View Related

Debian :: Compiling Kernel - File Locations?

Aug 1, 2011

I am completely new to compiling the kernel. Trying to compile on an old Dell C610 laptop that has Debian 6.01 installed and working. Here is what I have done so far:

Downloaded linux-3.0.tar.bz2 to home directory Also downloaded patch-3.0-git13 to home directory tar xjfv linux-3.0.tar.bz2 which uncompressed the tar ball in the created the linux-3.0 directory in my home directory

[Code]...

View 9 Replies View Related

Ubuntu :: Download Locations Based On File Type?

Jan 17, 2010

Is there a way to set Firefox to place downloaded files in different folders based on the file type?e.g. in my Downloads folder place all .doc files in a sub-folder called ".doc", all .jpgs in a sub-folder called ".jpg"I'd assume there's probably a rule, or a script that can be used to accomplish this, but being a graduate student, I don't have alot of free time to poke around and figure it out myself

View 9 Replies View Related

Programming :: Get A List Of File Install Locations With Make It?

Dec 21, 2010

I have a bit of a problem and the only solution I can think of at the moment is a very tedious one, so I was hoping there would be a better way. What I am trying to do is cross compile the PPPD program so that I can install it on an embedded system (this system does not have make/gcc on it). It was easy to cross compile it, but I can not run "make install" since I'm compiling on a secondary machine. I don't want to install PPPD on this secondary machine (I couldn't anyway, because it was compiled for a different architecture) and I can't run make install on the target machine because there is no make/build system for it.

So it seems like what I would have to do is to manually copy over each compiled file from the build machine to the appropriate location of the target machine. And the only way (that I know of) to figure out how to do this is to manually examine the Makefiles (yes, there are several for PPPD) and figure out which file should go where on the target system. This isn't trivial because it uses a hierarchy of makefiles and the probability of human error for this method is high.

Is it possible that I could run another command that would give me a list of all the commands that make install would perform? Or a list of all files and their target location for "make install"? Or possibly some other solution that I am completely unaware of that would make this task not so painful and error prone?

View 8 Replies View Related

Ubuntu Servers :: Search For Files And There Locations Printed To A File?

Oct 26, 2010

I want to search for all files on my server that end in a couple of differnet filenames, and then have the location of them sent to a file.

What is the best way to achieve this.

View 1 Replies View Related

Fedora Networking :: In Which File DNS Address Is Located In 10

Mar 26, 2009

in Which File DNS address is Located in Fedora 10 ? in Which File IP ?

View 3 Replies View Related

OpenSUSE :: Where Startup File For Version 11.1 Located

Oct 25, 2010

I have a mount command that I want executed every single time the computer reboots so that the folder is always mounted when I need it. What file would I have to edit in order to accomplish this?

View 9 Replies View Related

Ubuntu :: Where Is Located The 'exit' Executable File

Jul 17, 2010

When you press exit the gnome-terminal exits.. where is the exit file located? (It isn't at /bin or /sbin or /usr/bin or/usr/sbin )

View 2 Replies View Related

Ubuntu Multimedia :: Finding The Totem Movie Player File Locations?

Aug 3, 2010

I recently viewed a few .mpg s from the Internet by selecting to open them in movie player. Those videos are listed in the recently opened files list under the 'Movie' menu. I was trying locate these files on my computer since I can still play them by clicking on them in the 'Movie' menu, but I can't figure out where they are. I tried using 'locate' on the command line and it isn't bringing anything up. Can anyone tell me how to find the location of these files?

View 2 Replies View Related

Ubuntu Multimedia :: Manually Editing Rhythmbox Playcounts Or File Locations?

Feb 15, 2011

I have several albums in my Rhythmbox library that I originally ripped in 128kbps and have listened to many times. I'd quite like to reimport the songs in higher quality now but don't want to lose the playcounts associated with them.Is there any way to transfer the playcount over to the new file as it were, or to manually edit the playcount or file location?

View 6 Replies View Related

General :: Change A Files Modification Date "only" Without Changing The Time?

Oct 29, 2010

I'd like to change a files modification date "only" without changing the time. I'm aware of the 'touch' command but is seems like it only allows changing both the date and time, and not one of them. Any ideas on an easy way to change a file's modification date without also changing its time? (I have a long list of files and thus would like to run one to command to change them all)Example: Change a file's (month) timestamp from "2010-09-23 11:59:23" to "2010-10-23 11:59:23"Background: I accidentally set the wrong month on my camera and ended up with all photos having a modification timestamp with the wrong month.

View 3 Replies View Related

Debian Multimedia :: Gdm3 Conf File, Where Are The Themes Located?

Apr 26, 2011

In the gmd3 greeter.conf-defaults file its tells me the themes are located /desktop/gnome/interface/gtk_theme, but wheres that directory actually at, like how I can find it?

Btw, I know I can go back to gdm, but I'd rather understand how to theme this, before. I might just.I'm using compiz, btw, if that makes any difference.

View 6 Replies View Related

Ubuntu Installation :: Extract File Initrd.lz - Located In Install Iso

Aug 7, 2011

initrd.lz is a Lzip file in the casper directory of the Ubuntu install iso.

I'm having trouble finding a program that will extract it.

Lzip - fails
file-roller fails

How to extract it?

View 2 Replies View Related

General :: Parsing File Dates - Get The Date Of The Last Time A File Was Modified ?

Jan 11, 2010

I need to get the modified date on a file in linux to use in a script.I tried using 'ls -l' on the file, but this caused problems when the date turned from a single digit into a double. The reason for the problem was because I was parsing the result string on spaces.How can I get the date of the last time a file was modified so I can use it in a script? For example, if a file was modified on 1/11/2010, I need the 11.

View 2 Replies View Related

General :: Changing File Permissions While Doing Ftp?

Sep 17, 2009

I am trying to automate ftp to transfer files from windows to Linux server automatically and my script looks like this .

@echo off
SET CUSTOM=/apps12i/oracle/KIRAN/apps/apps_st/appl/custom/12.0.0/reports/US
echo user oracle> ftpcmd.dat

[code]....

Any files we transfer through ftp from windows , their default permissions to be set 755 automatically . We are using Red Hat Enterprise Linux AS release 4 (Nahant Update 7) .

View 1 Replies View Related

General :: Changing Printer URI To A File:///

Dec 1, 2010

I like to redirect the print output to a file for later analysis and I was able to do this in an old Fedora 9 but with the new installation of Fedora 13 or Ubuntu 10 it is not working! I always get an error when selecting a directory/filename like file:///tmp/output.prn.

How can I fix this problem?

View 3 Replies View Related

General :: Changing The Name Of Executable File A.out?

Jan 18, 2011

Is there any way to change the name "a.out" of executable file to any other name of our choice..

View 5 Replies View Related

General :: Open A Script File (same File Every Time)?

Aug 12, 2010

I need to goto a folder, open a script file (same file every time). The file has different function calls, I need to comment all other function calls and just un-comment the one I want to use.

#call_1
call_2
#call_3

[code]....

View 14 Replies View Related







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