All Issues
24,993 verified issues
How to find out Mac OS X version from Terminal?
I know how to find Mac OS X version from GUI: Apple Menu (top left) > About This Mac Is there a Terminal command that will tell me Mac OS X version?
Where does $PATH get set in OS X 10.6 Snow Leopard?
I type on the command line and get I'm wondering where this is getting set since my file is empty. I'm particularly concerned that, after installing MacPorts, it installed a bunch of junk in . I don't think that directory even exists in a normal Mac OS X install. Update: Thanks to jtimberman for correcting my statement
Batch converting PNG to JPG in linux
Does anyone know a good way to batch-convert a bunch of PNGs into JPGs in linux? (I'm using Ubuntu). A png2jpg binary that I could just drop into a shell script would be ideal.
How to syntax highlight via Less
is there a way to syntax highlight a file I see in Less? actually I'm using this command to open an xml file (and sometimes a series of them) or I'd like to stay in Less (to learn that program better and to use my knowledge of :n and :p for next/previous navigation) But it also want some kind of basic syntax highlighting – at least show the comments differently. Do you know any way to do it?
How do I make rm not give an error if a file doesn't exist?
I'm writing a makefile that will clean up some useless files at the end of the compilation. If a target has already been made, it will of course skip that target and the useless file may not be there. So if I do this: I may get errors because one of the files doesn't exist. Is there any way to tell to ignore these files? In reading the man page, I see the following option: That sounds like almost what I want, but I'm not really sure about the permissions part. Is there a way to do this?
How do I install a VSIX file in Visual Studio?
I just downloaded a VSIX file from the Visual Studio Gallery. How do I install it in Visual Studio?
What can I do if I forgot my Windows password?
I got a brand new Windows 7 machine, installed the operating system, created one account and forgot its password. What can I do? There is no external CD, the operating system is loaded from somewhere inside the machine. I already tried to remember passwords and tried all candidates with all possible combinations of caps lock, num lock etc.
How to write multi lines in one Excel cell?
I want to write multi-lines in one MS Excel cell. But whenever I press the key, the cell editing ends and the cursor moves to next cell. How can I avoid this?
How to delete directories with path/names too long for normal delete
Windows seems to have a length limit on file names when trying to delete, though it won't prevent those files from being created. Our build process creates a number of temporary files (many build off of a WSDL) that run afoul of this limit. Our ant script is somehow able to delete them when doing a clean, but sometimes I need to delete the workarea directory (where all the temp files go) without actually doing a full clean from ant. This is the same errors this question, but the answers there don't really work for me as I'm dealing with a directory, not a file, and I don't always know what specific files or subdirectories are causing the problem. And I'm trying to avoid any manual process (other than triggering a single command) to actually delete them. If I try deleting the directory from Explorer I get the error Trying in powershell gives the following error: Does anyone know of any tools or easy ways to get around this delete error without having to manually find the problem files …
What's the least conflicting prefix/escape sequence for screen or tmux?
Screen goes with Ctrl+A. tmux on the other hand—as developed within screen—uses Ctrl+B. Both keystrokes, however, are also used in editors, shells, etc. Thus choosing either one degrades the user experience and functionality of those tools when used within tmux or screen. What prefix conflicts the least with other programs' and shells' keybindings?
What is 1e100.net and why do I have TCP ports open to it?
I see my PC has TCP connections open to . Then I checked the whois record and find it is registered to Google. Weird. A quick search seems to indicate that is pretty popular - about the same reach as or according to Alexa - but what is it? I run Chrome so I assume it might have something to do with that, but why is there so little information about it?
I regularly see gstatic.com in the status bar, what is that domain?
Sometimes when I am browsing the web, among the hostnames that fly by in the statusbar is one that includes as the base domain. I can't navigate to to gain any more information. All I get is a Google page that says The requested URL / was not found on this server. So I imagine that has something to do with Google. Whatever it is, it seems to take forever when I am browsing a page that references .
Run a batch file in a completely hidden way
I'm looking for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc..). I don't want to use some program to do that, I'm looking for something cleaner. I've found a solution that uses VBScript, but I don't really like using VBS, either.
How to copy with cp to include hidden files and hidden directories and their contents?
How can I make copy absolutely all of the files and directories in a directory Requirements: Include hidden files and hidden directories. Be one single command with an flag to include the above. Not need to rely on pattern matching at all. My ugly, but working, hack is: How can I do this all in one command without the pattern matching? What flag do I need to use?
Is it possible to download using the Windows command line?
Without using any non-standard (Windows included) utilities, is it possible to download using the Windows command line? The preferred version is Windows XP, but it's also interesting to know for newer versions. To further clarify my question: It has to be using HTTP The file needs to be saved Standard clean Windows install, no extra tools So basically, since everybody is screaming Wget, I want simple Wget functionality, without using Wget.
What is the difference between “Size” and “Size on disk?”
Looking at the properties for a Windows file I get two attributes, “Size” and “Size on disk,” and "Size on disk" is always larger. What do these two metrics mean?
How to type special characters in Linux?
In windows there is possibility to type from keyboard special signs by holding alt key and typing a few numbers, that depends on with sign you want to use. Does it work with linux in the same way?
sudo with password in one command line?
On busy days, I'd like to run on the night and go to bed, hoping the application would automatically be installed. But what I see the next day is the screen where sudo asks me for the password. So how could I run sudo with password in one command line, or is there any other method to do this?
Create/rename a file/folder that begins with a dot in Windows?
Many programs needs folder names that starts with a dot, like , , etc. How do I create such a folder? When using the Windows Explorer in Windows 2000 (and other versions), I get an error message saying "You have to enter a filename". The only solution I have come up with, is to open a command prompt (Start > Run > "CMD" > OK) and enter . Why have Microsoft this error message in the Explorer, but not in the command shell? Is there any registry hack out there to fix this, so that I am able to enter the folder name directly in the Explorer?
How do I place a bootable ISO on a USB drive?
What's the best way of placing a bootable ISO on a USB drive, such that the drive is bootable? ISOs such as a live Linux preview disk, Windows installation ISO, etc.