178
votes
15answers
384k views

How to download files from command line in Windows, like Wget is doing?

How can I download something from the web directly without Internet Explorer or Firefox opening Acrobat Reader/Quicktime/MS Word/whatever? I'm using Windows, so a Windows version of Wget would ...
178
votes
10answers
85k views

How can I search the bash history and rerun a command?

Can I search history in bash and run the result?
177
votes
3answers
129k views

How do I make Windows 10's File Explorer open “This PC” by default?

I know how to do that on Windows Vista and Windows 7, and I know how to do that on Windows 8 and Windows 8.1, but neither of the ways work with Windows 10; it always defaults ...
177
votes
3answers
184k views

Go back to previous directory in shell

Is there a way to go back to previous directory we were in using bash,tcsh without using pushd/popd ? I'd like to type something like "back" and got returned to the previous directory I was in. Edit: ...
176
votes
7answers
381k views

How to decompress a .bz2 file

I have a file as: filename.bz2 I need to decompress. I have tried the command: tar xvjf filename.tar.bz2, but it didn't work as the file is not a tar file. How do I decompress this file?
175
votes
8answers
291k views

How to get the summarized sizes of folders and their subfolders?

Let's say I want to get the size of each folder of a linux file system. When I use ls -la I don't really get the summarized size of the folders. If I use df I get the size of each mounted file system ...
173
votes
15answers
517k views

“Show desktop” keyboard shortcut in Mac OS X

I am using a MacBook Pro with Mac OS X 10.5. Is there a similar function to "show desktop" (shortcut is WindowsD) on a Mac?  It should hide all applications and show a clean desktop.
173
votes
8answers
84k views

Find what package a file belongs to in Ubuntu/Debian?

I frequently find myself missing a program, man page, or other file when working on my Ubuntu 8.04 system. Is there any simple way to look up what package contains a given file (whether it is ...
173
votes
12answers
22k views

Why are pixels square?

Pixels in screens are square, but I'm not sure why. Both pixelated images look pretty bad - but I'm not sure there's any advantage of squares over hexagons here. Hexagons also divide up into 3 ...
173
votes
9answers
22k views

Why does emptying disk space speed up computers?

I have been looking at a bunch of videos and now understand a bit better how computers work. I better understand what RAM is, volatile and non-volatile memory, and the process of swapping. I also ...
172
votes
6answers
1.1m views

Windows 7 SP1 Windows Update stuck checking for updates

I installed Windows 7 fresh and installed SP1. Now, when I try to check manually for Windows Updates it just hangs on the Checking for updates screen. I tried running this tool but this did not fix ...
172
votes
7answers
163k views

chown is not changing symbolic link

I'm trying to change the user/group of a symbolic link with the command: $ chown -h myuser:mygroup mysymbolic/ But it's not changing. I'm logged in as root. The current user/group is set to root:...
172
votes
5answers
277k views

Difference between OTF (Open Type) or TTF (True Type) font formats?

On a Mac, when I'm downloading fonts am often given the choice between OTF (OpenType Format) and TTF (TrueType Format). Is there any difference in the way ligatures work or anything between the two ...
170
votes
10answers
147k views

How to copy with cp to include hidden files and hidden directories and their contents?

How can I make cp -r 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 ...
170
votes
9answers
340k views

Mac OS X: Best Way to Make an ISO from a CD or DVD

Both command-line and screen-oriented pointers appreciated! update: I verified the disk utility, hdiutil, and dd methods. dd seems the fastest, 30 minutes on my macbook pro vs. 40 minutes for ...
170
votes
5answers
192k views

How can I view two files side by side in Notepad++

I would like to split the Notepad++ window so that I can edit two files side by side. How can I do this in Notepad++?
167
votes
15answers
206k views

Looking for HTTP debugging proxy for Mac similar to Fiddler on Windows [closed]

In previous jobs when I've worked on a Windows machine, I've used Fiddler for viewing HTTP transactions and debugging. I'm specifically looking to monitor the HTTP transactions for an ajax site I'm ...
167
votes
17answers
337k views

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.
166
votes
10answers
89k views

Mac OS X equivalent of the Ubuntu “tree” command

Is there any equivalent of the Ubuntu tree command for Mac OS X ?
163
votes
4answers
265k views

Where can I download Windows 7 (legally from Microsoft)?

I just bought a serial for Windows 7 on-line from the Microsoft store (the most painful shopping experience EVER!). I selected that I wanted to download my version of Windows 7 after purchase. After ...
162
votes
11answers
237k views

How do I compare binary files in Linux?

I need to compare two binary files and get the output in the form <fileoffset-hex> <file1-byte-hex> <file2-byte-hex> for every different byte. So if file1.bin is 00 90 00 11 in binary ...
161
votes
9answers
31k views

How can a file size be zero?

Just something I ran into and couldn't think of a proper explanation. If I create an empty *.txt file on my PC and then look at its size, it shows 0. But how is that possible? I mean even if the file ...
160
votes
15answers
28k views

Is the performance of a CPU affected as it ages? [closed]

This is a hypothetical question about how a CPU operates. If I purchase two identical CPUs, and use one long term (say one year), will it be identical in speed to the unused CPU? Will the number of ...
159
votes
7answers
64k views

Scroll shell output with mouse in tmux

Mouse scrolling doesn't work in tmux the way it works when I run shell without tmux (in Gnome Terminal). It seems tmux sends mouse scroll events as if I pressed Up/Down keys. But I want it to scroll ...
159
votes
11answers
90k views

Why does 64-bit Windows need a separate “Program Files (x86)” folder?

I know that on a 64-bit version of Windows the "Program Files" folder is for 64-bit programs and the "Program Files (x86)" folder is for 32-bit programs, but why is this even necessary? By "necessary"...
158
votes
3answers
7k views

On OS X, why does `sudo ls` show hidden (dot) files?

With OS X Yosemite, using the following commands, I get the following: $ touch .a $ touch b $ /bin/ls b $ /bin/ls -A .a b $ sudo /bin/ls .a b It shows hidden files (that have names starting with ...
157
votes
7answers
152k views

Native alternative to wget in Windows PowerShell?

I know I can download and install the aformentioned library (wget for Windows), but my question is this: In Windows PowerShell, is there a native alternative to wget? I need wget simply to retrieve ...
157
votes
6answers
97k views

How do you prevent the dock from switching monitors in OSX Mavericks?

In Mavericks, Apple introduced a "feature" where if you hover at the bottom of any screen the dock pops up on that screen. This is disrupting my workflow as I am constantly having the dock pop up ...
156
votes
4answers
17k views

How does Windows know if a program is not responding?

How does Windows know if a program is not responding? Does it constantly keep polling all running applications?
156
votes
6answers
98k views

Notepad++ is unable to load langs.xml, why?

Whenever I open NotePad++ the following error message appears: --------------------------- Configurator --------------------------- Load langs.xml failed! --------------------------- ...
156
votes
9answers
255k views

How to rename user folder in Windows 8?

When I log in on a Windows 8 machine for the first time with my Microsoft Account (by providing an e-mail address), a new user folder is created: C:\Users\dzinx_000 In previous versions of Windows, ...
155
votes
13answers
21k views

How to find a router at an unknown location in a house?

I want to install a WLAN repeater in my father’s holiday house which he rents out to other people. My father is a digital neanderthal and doesn’t know where his router is, therefore I cannot ...
155
votes
16answers
276k views

How to compare the differences between two PDF files on Windows?

Do you know a good Windows software to compare PDF files side-by-side and show the modifications between the two? It would be great if you can post both free and not-free products.
155
votes
2answers
48k views

How do I rename a session in tmux?

When I first started using tmux, I didn't give my first session a name. Then, as I started creating different sessions for different tasks (work, play, etc), I started naming my sessions. Now I have ...
154
votes
9answers
18k views

I accidentally typed password into bash command line

I accidentally typed my password into bash command line, mistaking the Last login: ... line for Wrong password (I was in a hurry). What do I do to cover my trace? What I did was editing .bash_history ...
154
votes
19answers
182k views

How do I list the SSL/TLS cipher suites a particular website offers?

How can I retrieve a list of the SSL/TLS cipher suites a particular website offers? I've tried openssl, but if you examine the output: $ echo -n | openssl s_client -connect www.google.com:443 ...
154
votes
7answers
25k views

Why did dialup modems make noise?

I know that the signal was just tone pulses but why was it when (back in the 90s) when you first connected to the internet you heard a bunch of funny noises. After that if you were to use the internet,...
154
votes
4answers
135k views

How to compact VirtualBox's VDI file size?

I've a VirtualBox VM which configured a very large hard disk size (bigger than host). By my mistake, a program on the VM generated lots of log files and the VDI file size keeps growing until there is ...
154
votes
8answers
143k views

View files in ZIP archive on Linux

How can I view the files in a ZIP archive without decompressing it?
152
votes
9answers
23k views

Is it really possible for most enthusiasts to crack people's Wi-Fi networks?

Can most enthusiastic users (even if they are not professionals) use well-known techniques to break through the average home router's security? Some basic security options are: strong network ...
152
votes
8answers
248k views

How can I free up drive space from the Windows installer folder without killing Windows 8.1?

On my SSD machine, the C:\Windows\Installer folder is massive and takes up about 15% of my total disk space. Is there a way to clean up that folder without killing Windows 8.1? Tucking away the ...
151
votes
15answers
169k views

“This file came from another computer…” - how can I unblock all the files in a folder without having to unblock them individually?

Windows XP SP2 and Windows Vista have this deal where zone information is preserved in downloaded files to NTFS partitions, such that it blocks certain files in certain applications until you "unblock"...
151
votes
9answers
89k views

Why does the /winsxs folder grow so large, and can it be made smaller?

A Vista virtual machine I use only has a 10 GB virtual hard disk -- and I'm worried about it running out of space over time. I used TreeSize to check for the culprits.. And the primary culprit is ...
150
votes
6answers
121k views

How do you gunzip a file and keep the .gz file?

The default behavior of gunzip is to delete the .gz file after it decompresses. How do I prevent it from deleting the file?? If this functionality is not included then is there an alternative ...
150
votes
1answer
18k views

Why are there no odd Windows process IDs?

There are many ways to examine process IDs in Windows. For example, using the PowerShell command: ps | select Id, ProcessName | Sort Id | ft -AutoSize We see the following output: Id ...
149
votes
3answers
62k views

What's the equivalent of Linux's updatedb command for the Mac?

If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the ...
149
votes
4answers
35k views

Less and Grep: Getting colored results when using a pipe from grep to less

I use the --colour option of grep a lot, but I often use less as well. How can I pipe grep results to less and still preserve the coloring. (Or is that possible?) grep "search-string" -R * --colour | ...
148
votes
8answers
229k views

How to delete a file in Windows with a too long filename? [duplicate]

My wife has several files and folders that somehow ended up having filenames that have caused them to be undeleteable (can't be deleted) by normal means or via the command line. I believe the ...
148
votes
8answers
106k views

Clear cache for specific domain name in chrome

I want to clear the cache for a specific domain name in Chrome. Is there an extension or other method that I can use to do this?
148
votes
8answers
22k views

How do I get a static IP address for my teapot?

I maintain this teapot: It returns a 418 error when it is pinged, and it is pinged regularly by people arriving from the relevant Wikipedia page. (For those interested, and there appear to be a few ...

15 30 50 per page