There is a modified Windows xp ISO with me and i am not having CD drive. I want to directly install it from GRUB. Also, I have tried booting it from USB but Windows XP cannot be installed through USB. Please tell me how to do it.
@Utkarsh I don't say it's off-topic, I just say I don't know. But I see now it's on SU and not on Unix.SE, which should be fine itself. And I don't see harm in posting a link in the unix chat
@Utkarsh question dumping is generally considered rude. You did so twice today and ignored me when I took the time to answer you. Questions about how to install windows are certainly off topic on a Unix site
perl -pi -e 's/oldtext/newtext/g' *
replaces any occurence of oldtext by newtext in all files in the current folder. However you will have to escape all perl special characters within oldtext and newtext using the backslash.
I don't use perl, but it seems * there means something different than the unix shell. Is this globbing, or something else? Specifically,.* seems to match all files, whereas in the shell is seems to just match ascii strings (no special characters).
Because when used in a regex it is a quantifier, it means "match the preceding character 1 or more times (sed)" or "match the preceding character 0 or more times (perl)"
Which means that ls *.txt *.doc in a directory containing only a.txt and b.txt will turn into ls a.txt b.txt *.doc, and ls will then complain: ls: cannot access *.doc: No such file or directory
@FaheemMitha which, btw, means that sed s/a*/a/g file is fine unless you have a subdir s containing a folder abc with a subfolder a with a file g inside this subfolder ;)
Can't do inplace edit: corrmodel.prv is not a regular file, <> line 25441. Can't do inplace edit: foo.prv is not a regular file, <> line 40018. Can't do inplace edit: imsart-ims is not a regular file, <> line 40213. Can't do inplace edit: JSSstyle is not a regular file, <> line 48322. Can't do inplace edit: sqlalchemy_schemadisplay is not a regular file, <> line 76699. Can't do inplace edit: test.prv is not a regular file, <> line 77427.
@FaheemMitha yes, you should when attempting to do text manipulation. Perl will probably continue through to the next one, sed apparently exits on the first error.
How can I use a variable string in a regular expressions
while read line
do
if [[ line =~ *"$key"* ]]; then
echo line
fi
done < "$filename"
$key is a string variable and I want to print all the lines that has the value of $key
Both slm and I managed to vote to approve this suggested edit, not realizing it was fixing broken code in the question as opposed to an answer. (Faheem Mitha rejected, after I admitted my mistake in chat and asked for reject votes). Of course, I went ahead and rolled back right after it was appro...
It's best to close questions quickly when they are not suitable in their current form, and to reopen them quickly if they become suitable.
The java question was perfectly comprehensible in its original form and should not have been closed. In its current form, it is actually too messy to reopen ...
@slm I think its my first time. At least here... Not sure if I've done it on SO before. But I haven't done much edit-queue work.
Unfortunately, your vote on my feature suggestion won't even give me worthless meta rep (the only thing less valuable than normal rep), as child metas don't have rep :-/
So, if you have a question about setting up a bunch of machines to authenticate to an LDAP server, for example, it'll be fine on Server fault, even if you're doing 10 machines at home. As long as you can speak the jargon of a sysadmin.
An answer I gave here about KVM I'd asked on ServerFault last year, and I saw that after I'd asked it, it had received a close vote. Which seemed ridiculous to me. KVM is clearly a server product, and I had a usability Q about virt-manager, where I was using it to manage servers. If that isn't on topic what the heck is 8-)
Keyboard method
You can release focus using the Left Ctrl+ Left Alt. Notice you have to use the left keys!
Focus free method
See my question I posted on this exact thing on ServerFault. The Q&A is titled: Any way to release focus on a KVM guest in virt-manager without having to click Ctrl_L + ...
Is there a way to move my mouse in and out of a KVM guest in virt-manager without having to click to gain focus of the window and release focus by pressing Ctrl_L+ Alt_L?
BACKGROUND
I typically connect from a Fedora 14 system using virt-manager to manage guest KVMs running on a CentOS 5 system....
We've grown considerably as a network since the days of the original trilogy, when the prospect of growing into a network of over 100 thriving Q&A sites was a distant glimmer in a cloudy night sky. Today, Stack Overflow continues to graciously host discussions about the entire network on its extr...
meta.SO is going to be split into an actual meta.so (which will be a child meta of SO, handling only SO-specific things) and a meta.stackexchange handling network-wide things
@FaheemMitha I asked that Q before I used this site with any frequency. There are other KVM related Q's on SF + virt-manager. This was to my point that there is too much overlap (for my tastes) among all these SE sites.
Though who knows, Ubuntu will soon have its own display server, used nowhere else; already has its own DE, used nowhere else. Maybe they'll soon decide to try their own kernel...
@FaheemMitha I have a biased opinion now, since I know the ppl on both sites, I would ask my Q on the site which whom I know will likely be able to answer it.
@Gilles We clearly have a greater depth of hate for our twitter bot than you guys. It's OK though - we've had YEARS of hating the twitter bot to get good at this. You guys actually liked yours not too long ago. You'll catch up :-) — voretaq7Dec 22 '13 at 19:26
I know it has a talent for finding controversial questions that need closing rather than sharing, but on U&L think it's been ok
I thought Programmers hated their because of that, but no
I don't get why everyone claims XMPP is gone. I'm pretty sure Google still has it. I have Pidgin signed in to talk.google.com. It still gets messages from Hangouts, and vice versa.
@Gilles Yes how many times have we wondered why some mediocre Q is getting voted through the roof, when we come to find out b/c it was tweeted. I think tweeting the Q's out is dumb.
@derobert huh. that's weird, maybe they turned XMPP on. but I know for sure that when I initially upgraded to Hangouts, I stopped receiving messages from an XMPP bot. at least on my Androids; I think in the Gmail web app too (but I'm not sure)
Chuck Yeager
"from JBM to JWH"
Ghost of Winterbash Past
"I live... AGAIN!"
I See Your Point
"Earned ten of the most meaningless points on the 'Net"
Before It Was Cool
"He ain't no drag"
Eureka!
"Solve these riddles and it's yours"
IG-88
"You may have to go to ...
Donald Francis "Don" Draper is a fictional character and the protagonist of AMC's television series Mad Men, portrayed by 2008 Golden Globe winner Jon Hamm. Until the Season 3 finale, Draper was Creative Director of Manhattan advertising firm Sterling Cooper. He then became a founding partner at a new firm, Sterling Cooper Draper Pryce, after he and his superiors abandoned their old agency in advance of an unwanted acquisition.
Draper's character is partially based on Draper Daniels, a creative director at Leo Burnett advertising agency in Chicago in the 1950s, who worked on the Marlboro...