General :: What Is Nonexistent File?
Jan 29, 2010
While reviewing the rm command in the man pages, it specifies that the argument -f will ignore nonexistent files. My question is, what is a nonexistent file, and more specifically, how does it differ from a "file"?
View 2 Replies
ADVERTISEMENT
Sep 1, 2011
U1 is trying to sync a file which doesn't exist on any of the devices attached to the account nor in the cloud folder. I've tried using U1sdtool to stop it, including the following commands:
I've also tried actually creating a file of the same name that it keeps trying to sync in the hopes that it will latch onto that one instead, but no go. I tried deleting that file, but no go. It constantly loops through the same nonexistent file, over and over and over and over and over...
It also only does this on one device. It does not do that on the other devices.
And, yes, I've done u1sdtool --waiting, and there is the nonexistent file, on the list, with all of the real files that actually do need to be synced backed up behind it.
View 5 Replies
View Related
Aug 28, 2010
Any time I start k3b, it complains about 'The file or folder /media/disk/.... does not exist' (which indeed does not exist). Where is this path stored? How can I remove it? grep -r /media/disk ~/.kde/* does not give any hit.
View 2 Replies
View Related
Feb 3, 2011
I am trying to backup my ~ directory to a portable drive. In the meantime rsync is giving me all kinds of messages like this:
[Code]...
This drive is neither plugged into my computer nor is it involved with my backup script:rsync $base_options -narv /home/noleks /media/Personal1/Linux_bak. I think the question is, does rsync have a queue somewhere of operations it did not complete? If so is there a way to rest this? It is possible something went awry with a previous sync on this drive but I cannot remember right now. Either way why is it trying to complete that sync when I'm asking it to do something else?
View 2 Replies
View Related
Sep 16, 2010
I did some modification of fstab, and works, but for some strange reason, there are drives shown in the Places menu that shouldn't be there when the drives (they are usb drives) are unplugged. I had to put them in fstab, because they are mp3 players and I need user privelages in order to sync them. With nothing plugged in the usb ports,I checked, and they aren't shown in mtab, and only Sansa-e260 and JOSHS PHONE are shown in fstab, although as far as I know, they shouldn't appear in Places when unmounted. Is there a way to reset it?
View 2 Replies
View Related
May 26, 2010
In the Compiz Fusion Desktop Wall plugin settings, I can normally find a "Non Sliding Windows" option (Or at least, I've been able to in recent installs of Ubuntu). However, in the default installation of Compiz that comes with OpenSUSE 11.2, I don't have that option. I double checked to make sure I wasn't losing my mind, and on my Ubuntu 10.4 laptop it IS present (In CCSM under the Desktop Wall Plugin's "Viewport Switching" tab). I even went so far as to check to see if it's in the gconf database, and it's not on Suse, but is on Ubuntu. Installing the compiz extras package did not help. I even tried putting the key into the gconf database on Suse, but of course it didn't work.
The only thing I noticed is that Suse appears to be using an older version of Compiz (Suse: compiz 0.7.8; Ubuntu: compiz 0.8.4). Being a fairly experienced linux user (however being new to Suse itself), I'd like to check if there is a simpler solution than compiling from scratch. Anyone ever run across this/solved this already? The final goal is to make my desktop wallpaper and gnome panels static when viewport sliding.
View 1 Replies
View Related
Jan 24, 2010
When I originally installed Ubuntu 9.10 64 bit, I had the following operating systems already installed:
Kubuntu 9.04
Windows 7
Windows XP
Ubuntu automagically created a GRUB2 menu that offered all of these, plus of course itself, which was fine for a while.
Later on, I deleted and reformatted the partitions that had been dedicated to Kubuntu 9.04. GRUB2 has failed to keep up. Despite running "sudo update-grub" multiple times, the GRUB2 menu continues to show entries for Kubuntu 9.04.
How do I get rid of these obsolete entries? The partitions it was on simply do not exist any longer, so I don't know how GRUB2 is picking it up.
I had already edited my fstab file to reflect the new partitioning scheme, so I don't know where GRUB2 is getting the idea that I still have Kubuntu 9.04 installed.
View 9 Replies
View Related
Jul 27, 2009
I am trying to use a git repo over http on my Debian 5.0 machine.
The git repository is located in /var/www/ on the Debian machine.
I can push/pull the repo using git protocol:
Code:
git clone git://192.168.0.1/project.git
but when I try to do the same over HTTP it give me following error message:
Code:
git cloneurl
warning: remote HEAD refers to nonexistent ref, unable to checkout.
View 1 Replies
View Related
Apr 6, 2010
i have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?
View 3 Replies
View Related
Nov 7, 2010
I want to convert fdf file to xsf file or xyz file on ubuntu 9.10_32 bit .
View 5 Replies
View Related
Nov 3, 2010
I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
View 6 Replies
View Related
Apr 21, 2011
Can't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:
Unable to access file /home/username/.iceauthority: No such file or directory
Using failsafe I can start a terminal. From terminal I tried to start X
Code: sudo startx Result: Running on desplay:0
So I tried to run this;
Code: sudo startxfce4 And I get up a graphical desktop.
So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.
View 6 Replies
View Related
Jun 10, 2010
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
View 5 Replies
View Related
Jun 14, 2011
I have just been bothered by a fairly small issue for some time now. I am trying to search (using find -name) for some .jpg files recursively. This is a Redhat environment with bash.
I get this job done though I need to copy ALL of them and put them in a separate folder BUT I also need to keep the order intact after copying.
For e.g - If I get a JPG file under /home/usr/new/1/ then the destination also needs to be /test/old/new/1/.
At the moment, I am simply putting all files under /test/old/ and I can't somehow get the later /new/1/ folder path created under /test/old/
I understand this could well be done using while OR if else loop, though if someone can just guide me with a hint, I would be really grateful.
I will complete the rest of the steps and was asking here since I am still not comfortable with the shell/bash scripts yet and planning to be really good at it over the next couple of months.
View 1 Replies
View Related
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
Jul 30, 2010
How can I check and set who can view or open a given folder or file?
View 1 Replies
View Related
Aug 26, 2010
I am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?
View 1 Replies
View Related
Jan 15, 2010
I have a Linux (Kubuntu) system with a large (~20Gb) file which I would like to mess with. Specifically, I want to copy the entire contents of another large file (~12Gb) to the middle of this file, and keep the bits of the file which are not overwritten.This is what I want to happen, with the text between the pipes representing file contents:Before:
outfile: |abcdefghijklmnopqrstuvwxyz|
infile: |123456789|
After:
[code]....
View 1 Replies
View Related
Dec 9, 2008
How can I read .gz file direct on shell/terminal without decompressing the file?
satimis
View 5 Replies
View Related
Jun 3, 2010
I had a situation in which the the path of the file to be copied is written in other file and I had to copy it using shell script..I can use cp $(cat /home/robert/location.txt) /media/sda1 on normal linux shell...But I am using buildroot script where $(cat /home/robert/location.txt) evaluate to nothing..is just blank..
View 1 Replies
View Related
Mar 28, 2010
I'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:
/usr/lib/libgtk-x11-2.0.so.0
View 6 Replies
View Related
Mar 30, 2010
I need a shell script that will add the users name and date to a file when the user has modified the file, these files are within a group and only accessible to this group. But we need a way for people in the group to know who and when the file was last modified.
View 1 Replies
View Related
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
May 23, 2011
i am trying to convert a binary file in to ASCII using shell script. this file contains multiple types of data like string, number, bcd, etc.
View 5 Replies
View Related
Oct 21, 2009
Many folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.
View 5 Replies
View Related
Aug 31, 2010
I wonder how to arithmetic operation of our data file using any script program/command (like sed, cut,awk)for example my data.file is:
45 65 42
12 23 61
43 34 21
I want to multiply first column with 2 and add second column with 3 then it become
90 68 42
24 26 61
86 37 21
View 5 Replies
View Related
Sep 14, 2009
error message when I ran my program that I couldn't open my local file. I have two files first one is called client, second one is called server I am using named pipes to sent a message from client to the other file called server in client I used mknod() to create the two named pipes,one for read,one for write and created new thread in client using fork() spawned a child process that executed the server file both named pipes are opened the client file got the message from the user and sent it through the named pipes to the server file when the server receives the message , it needs to verfify it is correct in the server file, a local file descriptor is created to read and send this verifing message when it is not correct but I am getting an OPEN() error when I tried to open this shared local array buff and attach it to a file descriptor where the message is kept why do I get this error in server file
int main()
{
/*both named pipes are open*/
rfd=open(IFIO1,0);
wfd=open(IFIO2,1);
[code]....
View 1 Replies
View Related
Jul 30, 2010
When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?
View 1 Replies
View Related
Sep 17, 2009
I'm looking for a way to insert the number of lines in a file to the start of the aformentioned file. This should be simple but as I am not used to scripts in Linux, I am finding it tough going. I can find the number of lines in a file easily enough via
filesize=$(awk 'END {print NR}' $1)
but as for inserting this into the first line, i'm failing to do so. I've tried some of the other approaches on these forums but none so far have been able to do so.
I've tried:
sed '1i$filesize' $1
but sed i requires a string, not a variable so no go I've also tried:
mv "$1" "${1}.bak" 2>/dev/null || touch "${1}.bak"
cat $filesize "${1}.bak" >"$1"
but again with no luck as cat seems to need an input stream Just to recap, i want to insert a line at the start of a given file that holds the number of lines the original file has.
ie the file:
a
b
c
d
e
should become:
5
a
b
c
[code].....
View 3 Replies
View Related
Jun 29, 2010
i am having a problem concern zlib installation.i tried configure file successfully but make file displayed some errors.that usr/linux/limits.h not found.so i found that i have to install glibc-headers-devel...but there is no such a kind of package in ubuntu repository?/????/some people saying that libc6-devel is equal to them!
View 1 Replies
View Related