All Issues
24,993 verified issues
how to grep and print the next N lines after the hit?
I would like to grep for an occurrence in a text file, then print the following N lines after each occurrence found. Any ideas?
Is my host machine completely isolated from a virus-infected virtual machine?
If I am running a Windows 7 virtual machine on a Windows 7 host using VMWare or VirtualBox (or anything else) and the virtual machine is completely overloaded with viruses and other malicious software, should I worry about my host machine? If I have an anti-virus program on host machine will it detect any problems?
Bash autocomplete like zsh
I'm using bash, but I'd like to have zsh style autocomplete (you hit tab and it tabs through the possibilities), rather than what bash seems to do, which is display a list of possibilities but not choose anything until I type some more to disambiguate. How can I get zsh type behavior in bash? Searching for a solution has turned up lots of answers to other questions, so I'm hoping I can get a simple answer here (i.e. what to paste into my ). (And to answer the obvious question, I need to use bash here because I just joined a team and they do some stuff to set up bash to make the environment easier to work in. I can probably eventually make sure I have it working the same way in zsh, but for now it's easier if I use bash and just get it behaving more like zsh during interactive use.)
How to change default app for all files of particular file type through terminal in OS X?
How can I change the default app for all files of a particular file type through the Terminal in OS X?
How to export opened tabs in Chrome?
Are there any extensions for Chrome that allow me to export all currently opened tabs as a text file, containing all the URLs of those tabs? I don't necessarily need it to be a text file if there is another way that you can think of. My goal is to share the URLs with someone via email. I'm currently using Session Manager to save my open tabs but it has no functionality to export them as described above.
Find all the fonts used in a Photoshop file
I have this (Photoshop file) and I'm trying to convert it to HTML & CSS. Only thing I can't determine is what font they used in the How can I find out what fonts were used in the Photoshop file?
How can I determine what process a window belongs to?
Every time I start up windows vista lately, I see a random floating window. It is a tiny little window with no title, and only the resize, maximize and restore buttons. I'd post an image, but I don't have reputation here yet. I can close it, and it does indeed go away, but I would love to figure out what it is and stop it from popping up at all. I used Autohotkey's window spy on it and all I learned is that it is a swing window, which doesn't help me out a whole lot. Is there a good way to identify which process it belongs to and figure out how to kill it?
What's the correct monitor height for large monitors?
Conventional ergonomics guides suggest aligning the top of the monitor to where the operator looks at straight on. It seems doubtful that that still applies to today's 24" and 30" and larger displays. What was the reasoning behind that rule? What's the correct way to position a huge display according to current research? Would anyone have a reference to research confirming the "2/3 up" rule?
Why must a folder be executable?
Permission for files: And for folders: If I only use the "read and write" permission, the folders won't show their contents. What's the reason for this?
How can I swap colors with GIMP?
I have made an image with three colors: RGB I want to swap each channel to a specific color. Is there a way to do that efficiently with GIMP? Example: I would like: Blue: #434343 Red: #EEEEEE Green: #BBBBBB
Is there an "include" procedure in vimrc?
I have some configuration in my vimrc. Some generic ones, and some other really specific. I would like to share this config with some co workers, but a lot of them don't need these specific ones. Instead of editing a bunch of different vimrc, I would like to know if it's possible to have an "include" directive - something like a file named ".vimrc_module" and called from vimrc. Is it possible?
Is looking for Wi-Fi access points purely passive?
Say I carry a Wi-Fi enabled phone or laptop through an area where there are WAPs. Assuming that I don't actively try to connect to them or otherwise interact with them, is it possible for the owner of that WAP to know that I was there? I'm asking this in the context of my earlier question: Looking for MACs on the network I was talking with a friend about my newfound ability to detect phones (and other devices with MAC addresses) on the network, and he pointed out that it might be useful to detect unknown phones on the network; I could use that data to track down anyone who was in my house and brought a Wi-Fi phone with them. So, if I set up a logging fake WAP with no security or encryption, can I glean any useful information about the devices that come into the house? Assuming that the thief doesn't actively try to connect...
Make Google chrome with specific user profile as default browser
Is it possible to set Google chrome with a custom user profile as the default browser? When I set google chrome as the default browser, it picks the "default" user profile as against the custom one I have setup. I tried setting google chrome as default browser after opening it from that particular user profile, but it doesn't seem to have an effect. I googled around but could only find another poor soul like myself who asked a similar question here: http://www.google.com/support/forum/p/Chrome/thread?tid=69f0a6e776ceab1c&hl=en There weren't any responses to that question.
Google Chrome Annoying Download warning
Whenever I download a .dmg, .exe file, etc. Google Chrome assumes I don't know what I am doing and asks me if I understand the risks and warns me that the file may be harmful to my computer. I get the idea, but I want these prompts to stop. How do I do this?
Why does my Windows computer immediately turn back on after sleep/hibernate?
After clicking sleep or hibernate in Windows 7, my computer loads for a while and then goes into sleep mode, but not 1 second later it powers back up. The event log has no errors and no warnings appear when it comes back out of sleep/hibernation. Here's my system specifications: Asus P5KPL-VM Windows 7 I believe this is all that's relevant. I've installed the latest chipset drivers, but I'm unable to update my BIOS (but this is another matter; maybe because the motherboard in the V3-P5G31 bundle is different). I've also tried turning off the "Allow this device to wake up my computer" for the network card, keyboard, and mouse -- but this makes no difference. If flashing the BIOS is the only thing that will fix this, then I will create a new question to this effect. Maybe I should change the suspend mode from S3 to S1?
Windows RDP -- Possible to resize resolution on-the-fly?
I'm wondering if it's possible to resize the desktop on an RDP session on the fly I realize you can do it before you connect, but I'm looking to resize it on the fly similar to how vmware works. If I have it in a window that's 800x600 I'd like the remote desktop to be resized to 800x600... but if I maximize my local window or go full screen, I'd like the remote desktop to assume the resolution of the local PC, or the window dimensions. VMWare does this exactly how I want with an option called "use host settings for monitors" As I scale the window, the desktop on the guest os scales, I'd like to do this on an RDP session? Any ideas?
What is it that kills laptop batteries?
There are many superstitions on what you must never do lest your battery become worthless - and by worthless I mean hold about 16 - 24 seconds of charge. This has happened to every laptop I have ever owned, and I just got a new one, so please help me sort out fact from fiction. Here are some of the things I've heard: Do not keep your laptop fully charged. You must run it completely down every so often. Do not use your laptop plugged in to the wall. Only plug it in when it needs charge. If you will not be using your laptop for a long period of time, don't leave it at full charge. Do not leave your laptop running 24/7. The first two I know to be complete fiction: this was true of old batteries such as you might have had in an iPod in 2003, but modern batteries function better when kept at or near full charge. Devices even have circuitry to prevent you from completely depleting your battery, as this is dangerous. The third point sounds probable, and I'd be interested to know if it was tr…
What is the difference between (these four) sleep states?
Whilst browsing the internet I found an article here about how to run a Power Efficiency Report. As I wasn't doing anything, I decided to try it and see what it did. In the results it listed the following four sleep states with true of false next to them showing if my PC supports it. S1 S2 S3 S4 What are the differences between these sleep states?
Two keyboards on one computer. When I write with A I want a US keyboard layout, when I use B I want Swedish. Possible?
I have a laptop which I use an external keyboard with. When I type using the external keyboard I want to use a US keyboard layout, since that's the type of external keyboard I have. On the other hand, when I type using the integrated keyboard I'd like to use a Swedish layout. Is this possible? And how would I go about doing it? I'm asking here as I think we'll find most Linux expertise here.
Linux equivalent command for "open" command on Mac/Windows?
Coming from Mac OS X, you can type: and your file will open just as if you had opened it from Finder. On Windows, one can type: and it will open just as if you had opened it from Explorer. On Ubuntu, I'd like to be able to open files in the same manner in GNOME. What's the command?