169
votes
2answers
58k views

Assigning custom extensions to a language's syntax highlighting in Notepad++

In the current version of Notepad++ opening .sql files results in Notepad applying SQL syntax highlighting to it. I'd like Notepad++ to do the same for other extensions as well, is there some setting ...
168
votes
6answers
90k views

How to control Windows 7 snap feature with two monitors?

There is the Snap feature in Windows 7. But it seems to not work when dragging window to the edge that are adjoin to the second monitor. How to make it working? May be some regedit cheat or something? ...
168
votes
4answers
198k views

What are PATH and other environment variables, and how can I set or use them?

Questions about setting environment variables the PATH are very common here, and in most cases the answers are very similar to each other. In the future it would be nice to have a good Q/A for ...
167
votes
5answers
107k views

How to open files in vertically/horizontal split windows in Vim from the command line

There must be a way, something like this: vim -[option] <file-list> to open files from command prompt and not from within Vim. split windows vertically or/and horizontally in separate tabs ...
162
votes
8answers
9k views

What do the parentheses and number after a Unix command or C function mean?

I keep seeing parentheses and a number after a command in Unix or Linux or C function. For example: man(8), ftok(2), mount(8), etc. What do these mean? I see them in man too.
161
votes
10answers
30k views

How to copy text from Console2?

I just started using Console2 as an alternative to cmd.exe I can't figure out how to copy text from the console to the clipboard -- dragging over it with the mouse won't mark anything, and there is ...
160
votes
6answers
67k views

How can one turn off spell checking in Notepad++?

Notepad++ recently added built-in support for spell checking, and it is enabled by default. Where can I turn it off?
159
votes
19answers
30k views

32-bit vs. 64-bit systems

What are the differences between 32-bit and 64-bit systems? If you have used both of them, what kind of sharp differences have you experienced? Would it be a problem to use 32-bit programs on ...
159
votes
4answers
36k views

How to turn off word-wrap in less

Short version: How can I make the less utility in Linux not wrap lines? Long version: Often I need to view huge CSV files using less with hundreds of columns. I frequently only care about the first ...
154
votes
9answers
18k views

Why does emptying disk space speed up computers?

I have been looking to a bunch of videos and I now understand a bit better how computers work. I understand a bit better as well what is the RAM, the volatile and non-volatile memories or the process ...
152
votes
15answers
21k 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 ...
150
votes
8answers
145k views

What is the “You have new mail” message in Linux/UNIX?

Sometimes, when I log into a box and 'su' to root, I get a cute little message saying I have mail (thank GOD it's not AOL). Where is this mail? What does it contain? Who/What sent it? How important ...
148
votes
5answers
91k views

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

Whenever I open NotePad++ the following error message appears: --------------------------- Configurator --------------------------- Load langs.xml failed! --------------------------- ...
147
votes
7answers
118k views

What does 'source' do?

$ whatis source source: nothing appropriate. $ man source No manual entry for source $ source bash: source: filename argument required source: usage: source filename [arguments] It exists, and it is ...
145
votes
25answers
138k views

What can I do to stop the Play / Pause button from opening iTunes?

In Snow Leopard the Play / Pause media button (on the F8 key) opens up iTunes. How can I disable that? Preferably keeping the old Leopard behaviour, so I can use it to control other media applications ...
143
votes
9answers
22k 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 ...
142
votes
6answers
145k views

Inverting direction of mouse scroll wheel

Is there a way to make a mouse scroll wheel invert its direction? I'd like to scroll upwards and have that action scroll downwards and vice-versa. There is no setting on the Mouse control panel that ...
142
votes
5answers
308k views

How do I get the distinct values in a column in Excel?

If I have a column with values, and I want to find out what distinct values are in there (not how many - but the actual distinct values), how can I do that? In SQL Server I would do something like ...
142
votes
15answers
278k 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? ISOs such as a live Linux preview disk, Windows installation ISO, etc.
141
votes
7answers
16k 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 ...
141
votes
11answers
69k views

Create/rename a file/folder that begins with a dot in Windows?

Many programs needs folder names that starts with a dot, like .emacs.d, .gimp-2.2, .jedit etc. How do I create such a folder? When using the Windows Explorer in Windows 2000 (and other versions), I ...
140
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 ...
139
votes
13answers
263k views

How can I download an entire website?

How can I download all pages from a website? Any platform is fine.
139
votes
3answers
13k views

Why are laptop screens sized the way they are?

We've been discussing this in the Comms Room on Serverfault, and thought it might make a good question on SuperUser...especially if there's a clear answer. The hope is that it is a Good Subjective ...
136
votes
2answers
11k views

Why do file URLs start with 3 slashes?

HTTP starts with two slashes. E.g. http://example.com. Same goes for FTP. E.g. ftp://example.com. However, file "URLs" start with three slahes. E.g. Reading a pdf file using chrome, the URL would be ...
135
votes
9answers
15k 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 ...
135
votes
10answers
42k views

How do I reorder tmux windows?

In screen, I can just type C-a :number 0 to move a window to the top of the window list and push all the other windows down one. What's the equivalent command sequence for tmux? I looked at the man ...
135
votes
17answers
70k views

How to execute a command whenever a file changes?

I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished working with ...
134
votes
6answers
103k views

Disable Java Plugin in Google Chrome?

This is the second time I've had a drive-by executable installed on my machine using the following: Google Chrome 6 (latest) Windows 7, UAC on This happened while I was browsing for images to add ...
134
votes
10answers
73k 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 ...
134
votes
10answers
76k 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 ...
133
votes
2answers
193k 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 ...
131
votes
12answers
111k views

How do I detach a process from Terminal, entirely?

I use Tilda (drop-down terminal) on Ubuntu as my "command central" - pretty much the way others might use GNOME Do, Quicksilver or Launchy. However, I'm struggling with how to completely detach a ...
131
votes
7answers
137k views

How to check which apache modules are enabled/installed?

which is the most elegant way to check which apache modules are enabled?
131
votes
4answers
81k views

How to pin either a Shortcut or a Batch file to the new Windows 7 Taskbar?

We are having trouble adding our batch scripts to the new Windows 7 taskar. Our batchfiles take some arguments and just execute other application based on those arguments . To keep it simple, we ...
131
votes
1answer
62k views

“directory junction” vs “directory symbolic link”?

MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J ...
130
votes
17answers
182k views

Move an off-screen window back on-screen on Mac OS X

It seems that Mac OS X 10.6.1 Snow Leopard has a tendency to leave some windows off-screen at times, especially when I disconnect an external monitor from my MacBook. How can I move the window back ...
130
votes
9answers
185k 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, ...
128
votes
7answers
8k views

How do I securely store and manage 180 passwords?

I have about 180 passwords for different websites and web services. They are all stored in one single password protected Excel document. As the list gets longer I am more and more concerned about its ...
128
votes
14answers
225k 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 ...
128
votes
9answers
248k 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 ...
128
votes
10answers
50k views

Is it better to use a laptop on battery or on AC power?

When I'm at home, is it better to use the laptop plugged into AC power, or with just the battery, for the overall battery life?
127
votes
6answers
127k views

In Mac OS, what is the keyboard shortcut to switch between windows of the same application?

I often use the Cmd+Tab shortcut to switch between different applications (for example: Xcode and Google Chrome), but is there a shortcut to switch between different windows of the same application ...
126
votes
13answers
223k views

Is there a way to “auto login” in PuTTY with a password?

Is there a way to configure a password for a stored session in PuTTY? I know there is the capability to specify an "auto-login username" (under Connection/Data), but is there a way to do the same ...
124
votes
18answers
250k views

What utility can move my Windows boot partition over to another hard drive? [closed]

Can anyone recommend a cheap/free utility that can do this without very much effort? My preference is that it would be really easy. Boot into Windows Pick drive to move Pick target drive It copies ...
124
votes
9answers
79k views

How do I turn off Modern UI and get the old Start Menu back in Windows 8?

I just bought a new Windows 8 laptop, but I want to get rid of the new "Modern UI" Start Screen, and get the old Start Menu back. How do I do this?
122
votes
15answers
119k 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 ...
122
votes
5answers
11k views

How does Linux know that the new password is similar to the previous one?

A few times I tried to change a user password on various Linux machines and when the new password was similar to the old one, the OS complained that they were too similar. I always wondered, how does ...
122
votes
15answers
209k views

How can I send a Ctrl+Alt+Delete through Remote Desktop in Windows 8?

I need to send a CtrlAltDelete to a remote machine through Remote Desktop. The CtrlAltDelete is being intercepted by Windows 8, regardless of whether the remote desktop has focus or is in full screen. ...
122
votes
6answers
115k views

How to list files of a Debian package without install

This command can only list contents of installed packages, dpkg -L PACKAGENAME but how to list contents of a non-installed package, to preview/examine the package?

15 30 50 per page