Most Popular
1500 questions
248
votes
35 answers
Is there a way to display a countdown or stopwatch timer in a terminal?
How can I display a real-time countdown timer on the Linux terminal? Is there an existing app or, even better, a one liner to do this?
tir38
- 2,721
- 2
- 15
- 13
247
votes
15 answers
Looking for HTTP debugging proxy for Mac similar to Fiddler on Windows
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 working on to verify that the site is doing what I…
Doug Harris
- 27,811
247
votes
9 answers
Unix zip directory but excluded specific subdirectories (and everything within them)
I'm trying to zip a directory (on Unix via SSH) but I need to exclude a couple of subdirectories (and all files and directories within them).
So far I have this:
zip -r myarchive.zip dir1 -x dir1/ignoreDir/**/*
That doesn't seem to work though.
I…
sulman
- 5,181
247
votes
8 answers
How can I avoid SSH's host verification for known hosts?
I get the following prompt everytime I try to connect a server using SSH. I type "yes", but is there a way to aovid this?
The authenticity of host '111.222.333.444 (111.222.333.444)' can't be established.
RSA key fingerprint is…
shantanuo
- 2,773
247
votes
4 answers
My cat sat on my laptop, now the right side of my keyboard types the wrong characters
My cat sat on my laptop and now if I type either L or P, it inputs 3 or * instead. The rest of my keyboard still works correctly. The problem is bad enough that I had to use the touch screen of my computer to type this in.
How can I restore the…
user660920
- 1,775
246
votes
11 answers
What to do when Ctrl + C can't kill a process?
Ctrl + C doesn't always work to kill the current process (for instance, if that process is busy in certain network operations). In that case, you just see "^C" by your cursor and can't do much else.
What's the easiest way to force that process to…
Dustin Boswell
- 2,571
246
votes
11 answers
Windows equivalent of whereis?
Is there an equivalent of the Unix whereis command in Windows?
So that I could figure out where commands I can run actually is.
Svish
- 39,580
246
votes
11 answers
Kill a process which says "Access denied"
I have a process that I can't kill with either Task Manager or Process Explorer - I get the error "Access denied". The process isn't a Windows executable.
How can I kill it? Is there some tool I could use to override this protection?
I'm using…
Tony_Henrich
- 11,706
245
votes
14 answers
Customize Google Chrome keyboard shortcuts?
I would like to customize keyboard shortcuts in Google Chrome.
For example, I would like to map the key combination Ctrl+Shift+W to the command "Close Other Tabs" instead of right-clicking on a tab (default command).
Is there any setting in…
wip
- 7,084
245
votes
13 answers
Easiest way to open CSV with commas in Excel
CSV files are automatically associated with Excel but when I open them, all the rows are basically in the first column, like this:
It's probably because when Excel thinks "comma-separated values", it actually searches for some other delimiter (I…
Borek Bernard
- 14,368
245
votes
6 answers
Cut part from video file from start position to end position with FFmpeg
I have a video file of 30 minutes, but I want to extract a video from 00:09:23 to 00:25:33.
I can define the startposition with -ss, but I couldn't find one for the end position. Any help please?
x74x61
- 2,841
245
votes
9 answers
How can I give write-access of a folder to all users in linux?
I installed apache2 on Ubuntu just now, and noticed that the /var/www folder is protected. I can just sudo everything but I would rather just give it write access.
How can I do this?
I tried sudo chmod 7777 /var/www but it didn't work.
Carson Myers
- 3,101
245
votes
5 answers
Pull another Git branch without switching
We recently switched from SVN to Git and at the same time put our live systems into version control (instead of local checkout and file copy to live).
On the project I'm assigned to we all access the same repository and to get changes into live we…
user27709
244
votes
9 answers
How can I direct a query to specific DNS server?
I would like to issue a query to a specific DNS server, whose IP address I know. It doesn't really matter if it's on Windows or *nix.
In Windows I can do something like:
C:\Documents and Settings\Anton Daneyko>nslookup superuser.com
Server: …
Anton Daneyko
- 2,753
243
votes
13 answers
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.
nedned
- 3,262