Ubuntu :: Zip Warning -> Name Not Matched?
Jun 5, 2010
I am trying to zip up my Home directory (zip -r -9 /Destination /home/joe) & when I do I get the error below in a constant loop until I hit ctrl-c to stop. This use to work fine. The only change I made lately was change the permissions to 700 but I don't see how this would do anything.Quote:
zip warning: name not matched: /home/joe/.wine/drive_c/users/joe/My Documents/.wine/drive_c/users/joe/My Documents/.wine/drive_c/users/joe/My Documents/.wine/drive_c/users/joe/My Documents/.wine/drive_c/users/joe/My Documents/.wine/drive_c/users/joe/My Documents/.wine/drive_c/users/joe/My Documents/.wine/drive_c/users/joe/My
[code]....
View 1 Replies
ADVERTISEMENT
Feb 13, 2010
In Perl. I can't find the global variable for $_ (except not $_ it's the one to specify AFTER the matched string.) its dollar sign then something else. Does anyone have a cheat sheet for global symbols?
View 1 Replies
View Related
Jul 6, 2010
i just tried to install Ubuntu Netbook 10.04 on my old Amilo Lifebook P Series. But after the boot screen and the choice to install Ubuntu i get stuck at the Ubuntu screen with the little dots on the bottom If I hit esc i can see the warning (process 257): GLib-WARNING **: getpwuid_(r) failed due to unknown user id (0)
View 2 Replies
View Related
Jun 8, 2010
Using the regex.h functions, how do you:
1) get the matched strings?
2) get the strings that matched sub-expressions?
View 4 Replies
View Related
Sep 3, 2009
I have two text file named 1.txt & 2.txt.
1. txt contains 5 laks of mobile number.
2. txt has 60 laks of mob no.
Situation is that I want to find and delete numbers in 2.txt which already in 1.txt. Any perl or bash script or any other way to get the work done.
I tried the following:
#! /bin/bash
IFS=$'
' for NAME in $(cat one.txt)
do sed -ie "|^$NAME$|d" two.txt done
echo "***DONE***"
It works well with smaller file but it take very very long time even processing 10 thousand numbers.
View 2 Replies
View Related
Apr 30, 2011
I remember reading that using sed, you can do this with parentheses: s/abc(something)def/(something)else/g I can't find an explanation of how to do something like this with Awk. Say you have this in an HTML file, where (number) stands for a one or two-digit number:
<sup>(number)</sup>
And you want to change that to this:
<a name="(number)t" href="#(number)b"><sup>(number)</sup></a>
How would this be possible? Would you have to use sed?
View 4 Replies
View Related
Mar 8, 2011
need to modify some scripts to repeat the commands in them until a variable returns a proper value. I need it to add some redundancy to some scripts i use to upload files to a remote server.This is an example of a portion of those scripts:
Code:
################## site UPLOAD ##################
site_login=$(curl -c $site_cookie -L -F user=$site_user -F pass=$site_password -F
[code]....
View 4 Replies
View Related
Nov 5, 2010
Is there any way to add a character to the end of a line when a certain match text is matched. I have a text file where any line that contacts text XYZ a z is placed at the end.
View 1 Replies
View Related
Jul 25, 2011
I'm using sed to remove certain line in a text file based on a match with 2 variables from input. Here is how it looks like in file
Philip S:Odds:45:343
Mike Junior:Odds:3:56
I prompt for 2 inputs in variable form which is compared to the first 2 fields of the above text (: seperated). So say i enter Philip S and Odds then it should delete the entire first line.
View 4 Replies
View Related
Aug 8, 2011
I am working at a client who has a project where code is a mixture of different source control systems. So a layout might be like this
project/a/.svn
/a/subfolder/.svn
/b/.hg
/c/subproject/.svn
/d/.hg
So I am trying to put together a simple command that when executed from the project folder will run the appropriate hg/svn command in each project i.e:
[Code]...
Since the client has many such projects, Instead I am looking for a solution similar to find -exec where the svn/hg commands are automatically executed on each first level of match (i.e. svn up is run in the project/a folder but not in project/a/subfolder). How can such a command be constructed ?.
View 1 Replies
View Related
Feb 7, 2010
I am trying to use regex or pcre to find out the matched from multiple textfiles. how to write a relative program on linux C?
View 3 Replies
View Related
Apr 7, 2011
I'm still a but confused about the standard way of removing it for left-associative operators: [URL] Especially about how to construct an AST from it by executing a peice of code for every nonterminal matched. And I'm still not totally convinced that it will be left-associative, I just barely understand it. Also, how would you remove left-recursion for something like this:
Code:
expr ::= expr "(" param_list ")"
| other stuff...?
View 8 Replies
View Related
Jul 17, 2010
How would one go about it? Follow the GNOME Ubuntu tips, the ones for Kubuntu, or both? Or would it be easier to just roll back to a GRUB that uses GDM's splash and login and see if the settings I've already attempted are really working (and it's just the KDE stuff that's blocking them).
View 1 Replies
View Related
Mar 11, 2009
i accidentally pulled the power while an upgrade was going on. I felt bad, so went to do "yum-complete-transaction" only it was going to remove my entire system. Bad idea. So, instead, I tried to do yum update on my own. Well, it says that i need a package (glib2-some version-already-installed) to upgrade the glib2-devel package. The problem is that the version needed is already installed. I tried getting yum to reinstall it, but that didn't fix anything. Mainly because it says that is installed and not available. So the final error is "no package matched to install." I know that this probably looks weird and disjointed, so I am happy to provide info to try and get this fixed.
View 6 Replies
View Related
Feb 13, 2010
I am trying to find sed command combination to print out the "start command" line, the id line and all lines between "details" and "stop command" only if "error" exists. Here's the original output (test.txt):
start command
id 1
kajsdlfjsalj
[code]...
View 3 Replies
View Related
Feb 22, 2011
i have installed bless hex editor on my fedora 14 laptop.However when i open it ,it shows "mono-core wants to install a font language code not matched: utf-8" i am not able to use bless hex editor properly.
View 4 Replies
View Related
Apr 21, 2010
Whenever I use Aptitude in my terminal I get a warning I would like to get rid of.It is a GPG warning:
Code:
skybrigidrain@Alexi:~$ sudo apt-get update
Get:1 http://packages.medibuntu.org karmic Release.gpg [197B]
[code]....
View 5 Replies
View Related
Jan 13, 2010
When I become root and try to run gedit, I get the error:
No protocol specified
(gedit:219: Gtk-WARNING **: cannot open display: :0.0
This does not happen from my user profile....xhost + actually solves the issue....so I guess I just need to add the host root to the list of hosts allowed to access the x server...
I try xhost +root......but that does not work....
View 6 Replies
View Related
Feb 17, 2010
Since a few days all of my computers (3) running Ubuntu 9.10 report on startup that my external drive has "lots of bad sectors".I have checked this disk on Windows XP with chkdsk and with the SeaTools diagnostic tool dowloaded from Seagate. Both report no problems.Does anyone else suspect these Ubuntu "bad sector" warnings are unreliable?
View 9 Replies
View Related
Apr 27, 2010
I have an Asus 900 laptop that I put Ubuntu 9.10 on.I know it was made by the Chinese, but why are they trying to hack my pc?I currently put FIRESTARTER a linux firewall on board you can go here to get itNow I can see everyone's IP address and find out where they are and who they are!!
View 9 Replies
View Related
May 27, 2010
I've been using SVN for a little while and I'm not sure what I did but now every time I open a terminal, this error pops up:
Code:
I read my ~/.bashrc and saw nothing SVN related.
View 3 Replies
View Related
Jun 23, 2010
Whenever I try to format my 2.0GB USB stick, I get the following error:
Code:
Error formatting volume
Error creating file system: helper exited with exit code 1: helper failed with:
WARNING: Not enough clusters for a 32 bit FAT!
mkfs.vfat: Attempting to create a too large file system
mkfs.vfat 3.0.7 (24 Dec 2009)
View 9 Replies
View Related
Jul 28, 2010
Is there any way to set up my system so that, just before I run out of RAM, and SWAP is utilized, I can get a warning message so that I can kill the memory hog before my computer slows to a crawl?I'm a programmer, and it's happened a few times that my programs have memory leaks and run over into SWAP and effectively freeze my system.
View 2 Replies
View Related
Dec 27, 2010
I need to get gksu to run programs. The goal is to be logged in as user1 and run firefox or google-chrome with user2 's settings stored in their own home directory. I'm trying the following with no success:
Code:
user1@hostname:~$ su user2
Password:
user2@hostname:/home/user1$ google-chrome
No protocol specified
(google-chrome:17144): Gtk-WARNING **: cannot open display: :2.0
Code:
user2@hostname:/home/user1$ firefox
No protocol specified
No protocol specified
Error: cannot open display: :2.0
Code:
user2@hostname:/home/user1$ gedit
No protocol specified
(gedit:17162): Gtk-WARNING **: cannot open display: :2.0
View 1 Replies
View Related
Dec 28, 2010
When I try to add the Java add-in to Firefox in Ubuntu 10.04, I receive a warning that the next time the computer boots it will remove this add-in. It wasn't critical, so I abandoned the effort but I'd like to know what's up.
I set up an Ubuntu laptop for my sister w/ 10.04 LTS, so she'll have support for a long time. She's going to use it primarily to play interactive games on the Washington Post web site, browse the internet, and play DVDs. It also has OO.o which she might use a little bit.
Each interactive game on their site requires a different add-in (!) and the crossword puzzle requires Java (not JavaScript). But when I tried to add it I got an error message. (speculation) Has Oracle's purchase of Sun resulted in a dispute with Open Source uses of Java?
My sister took the laptop to LA this week, so I no longer have access to the computer to write down the error message. I have checked with some earlier releases of Ubuntu I have here at home (9.04 & 8.04 LTS) and the Java add-in works just fine. I haven't tried 10.10, however.
I think this is an Ubuntu issue, rather than a FireFox issue, as the error message I received was generated by Ubuntu, not FireFox.
View 2 Replies
View Related
May 17, 2011
I am running a laptop with a windows partition and a ubuntu partition. I partitioned from windows, then setup the linux partition from the ubuntu cd and formatted it to ext4. I am running the Ubuntu 11.0.4 and Windows 7. PROBLEM: All reports indicate that the Ubuntu /home directory is eating 66 GB when there is no indication that is using even a fraction of that space. What can I do to reclaim the space?
Here is the report on the disks and usage:
Code:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x32286323
[Code]...
View 5 Replies
View Related
Jul 13, 2011
Just I install the rkhunter tool via apt-get install rkhunter. When I had run the rkhunter check, rkhunter comes with a warning about "GasKit Rootkit", i dont understand what it is
This server is install new last and maby 1 week old, so i don't understand why this happends.
View 5 Replies
View Related
Jan 30, 2011
I was running Ubuntu 10.10 Maverick with no big problems till last 3 days ago.
The update manager checked some updates to install and after installing them, I had no graphic desktop any more. Only the command line.
I tried to recover it by starting the X again.
Code:
But did not worked
So I've tried to install the nVidia driver again. I looked at nVidia Linux drivers site for how to do it and Ubuntu documentation and when I tried to
Code:
I just could not use gedit. It cannot open display. I googled for three days but could not solve it. I found some similar answers here at LQ but none was similar to my situation or worked even when I tried.
View 7 Replies
View Related
Jun 2, 2011
This may be too late, but, Do not under any circumstances install or Upgrade to Ubuntu 11.04 Natty, it is the buggiest distro they have ever produced, it is better to stick to 10.04, it's far more stable and stuff just works. Natty use a new desktop called Unity, that is totally useless, there are ssh issues that prevent logging to a remote terminal using a public key, Natty is just useless. I'm going to have to backup my ~ directory and reformat then re-install 10.4, until such times as Natty is fixed!. Check the launchpad bugs section and you'll see there are more complaints about Natty then any other Ubuntu version.
View 14 Replies
View Related
Jan 2, 2010
Code:
terminator557@Dissimulo:~/ieee80211-1.2.18$ sudo make INC=/path/to/kernel-headers/include/
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
[code].....
View 4 Replies
View Related