All Questions
504,875
questions
271
votes
19
answers
333k
views
Unix/Linux find and sort by date modified
How can I do a simple find which would order the results by most recently modified?
Here is the current find I am using (I am doing a shell escape in PHP, so that is the reasoning for the variables):
...
271
votes
9
answers
668k
views
Get a list of Open Ports in Linux
I need a Linux command to list all free open ports for use in an application
lsof -i TCP| fgrep LISTEN
Does not seen to be helping as the Ports it lists are not necessarily free for use. How do I ...
271
votes
3
answers
163k
views
Rename screen session
Is it possible to change the name of a GNU screen session? Say I called started it with "screen -S foo" and I want to rename it to bar.
271
votes
11
answers
167k
views
Can you GPG sign old commits?
Git now has the ability to sign commits with git commit -S, which is great, but sometimes I forget the flag to commit, and sometimes I mail myself patches which I apply with am, and that command doesn'...
269
votes
8
answers
880k
views
Get Last Modified Date of File in Linux
I'm new to Linux. I'm using the command-line. I'm trying to view the last modified date of a file. How do I do that in Linux from the Command Line?
266
votes
11
answers
614k
views
Is it possible to ping an address:port?
I am not into networking, and I have the following question related to the Linux ping command.
Can I only ping an address? For example:
miner@raspberrypi ~ $ ping onofri.org
PING onofri.org (67.222....
266
votes
27
answers
250k
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 ...
265
votes
3
answers
488k
views
How to connect to a website that has only IPv6 addresses without a domain name?
If a server has only IPv6 addresses without a domain name, how can I connect to the server from my web-browser?
264
votes
10
answers
43k
views
Why is Google so much faster than a hard-drive search?
When I search a file on my HD in Windows 7 or Windows XP it takes some minutes to finish the process. If I fill in a search term in Google, the answer is on my screen in milliseconds
How is it ...
264
votes
5
answers
89k
views
Which Unicode characters do smilies like ٩(•̮̮̃•̃)۶ consist of?
How do I make Unicode texts like the one in the title, or like the following, without resorting to copy+paste?
٩(-̮̮̃-̃)۶ ٩(●̮̮̃•̃)۶ ٩(͡๏̯͡๏)۶ ٩(-̮̮̃•̃).
As an aside, note that in your browser the ...
263
votes
13
answers
343k
views
Is there a fix for the "Too many open files in system" error on OS X 10.7.1?
I need to get rid of the pesky "Too many open files in system" limit on OS X 10.7.1.
Is there a way?
263
votes
6
answers
127k
views
Choosing between .bashrc, .profile, .bash_profile, etc [duplicate]
This is embarrassing, but after many years of using POSIX systems full time, I still have a hard time figuring out if a shell customization should go in .bashrc, .profile, or somewhere else. Not to ...
262
votes
12
answers
805k
views
How can I execute a Windows command line in background?
How can I execute a windows command line in the background, without it interacting with the active user?
262
votes
12
answers
1.2m
views
How do I get different background images on my dual monitors?
Is there a way to set two different background pictures for my two monitors in Windows 7?
By default the same background picture is used for both displays. I am looking for a solution without ...
262
votes
1
answer
231k
views
How can I clear cookies for a single site? [duplicate]
Sometimes a webapp breaks for whatever reason, and I need to clear my cookies in order to use it again. I wind up clearing all of my cookies, which is a pain, because I then have to log back in to all ...
262
votes
10
answers
316k
views
How to use Markdown in Notepad++
I love writing in Markdown and would like to be able to write and preview Markdown content in Notepad++.
Are there any WYSIWYG Markdown plugins for Notepad++?
261
votes
7
answers
278k
views
What is the difference between a certificate and a key with respect to SSL?
Whenever I try to understand anything about SSL I always have a hard time keeping track of what "key" and "certificate" refer to. I fear many people use them incorrectly or interchangeably. Is there ...
261
votes
4
answers
314k
views
How can I install 7zip so I can run it from Terminal on OS X
I would like to be able to run 7zip from the command line on Mac. Does anyone have instructions on how to set this up?
261
votes
7
answers
264k
views
When should I use /dev/shm/ and when should I use /tmp/?
When should I use /dev/shm/ and when should I use /tmp/? Can I always rely on them both being there on UNIX?
259
votes
4
answers
261k
views
How to list Chocolatey packages already installed and newer version available from the command line
I have the following packages installed with Chocolatey.
choco list
> choco list
Chocolatey v0.9.9.2
adobereader 11.0.10
...
258
votes
9
answers
543k
views
How do I change the language of all Powerpoint slides at once?
I want to change the proofing language of all my slides in a Powerpoint. I've tried setting the language via the Language Preferences menu, however this only changes it for new powerpoints.
258
votes
10
answers
2.6m
views
How can I check the temperature of my CPU in Windows?
Does Windows provide a means to check my CPU temperature natively?
If not, are there any software tools which can reveal this information?
257
votes
5
answers
375k
views
How to find files with certain text in the Terminal
I'd like to find all files that contain a certain string of text. How would you do that in the Terminal?
256
votes
12
answers
381k
views
How do I start Chrome using a specified "user profile"?
I use the new built-in "Users" feature of Chrome to switch between Home/Work accounts easily. However, Chrome remembers the "last" user profile you had selected when launching new windows. This is a ...
254
votes
8
answers
189k
views
Way to avoid ssh connection timeout & freezing of GNOME Terminal
When I connect via ssh to certain servers, it timeouts and "freezes" the terminal (doesn't accept input, doesn't disconnect, can't Ctrl-C to kill the ssh process or anything).
This is in Ubuntu's ...
254
votes
13
answers
832k
views
How to search inside files on Windows 7?
In Windows XP we can search for files that contain a defined keyword (inside all files types).
Windows 7 can look inside files for a keyword, but only for text files. (*.doc, *.txt, *.inf, ...), not (...
253
votes
5
answers
780k
views
How to reinstall a package using 'apt-get'?
It seems that my aptitude is somehow broken:
sudo aptitude update
0% [Working]Segmentation fault
dmesg
[223282.616599] aptitude[30972]: segfault at 67707f ip 7f954dcfae5d sp 7ffff5a5f950 error 4 in ...
253
votes
12
answers
137k
views
Is there a way for one SSH config file to include another one?
In case it matters:
OS: Ubuntu 10.04
SSH: OpenSSH_5.3p1 Debian-3ubuntu5
I'd like one SSH config file to include another one. The use case would be to define whatever I want in my default .ssh/...
253
votes
10
answers
503k
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 ...
253
votes
2
answers
226k
views
Vertically stack multiple images using ImageMagick
I would like to combine multiple images into one image using ImageMagick. To explain a little better, I want the result to look similar to this:
That is, I have a number of screenshots, and I want to ...
253
votes
4
answers
335k
views
Connect to the host machine from a VirtualBox guest OS?
I'd essentially like to access my host computer from the guest in VirtualBox. Is there an IP address given for my host which I can use from the guest? Are there extra steps required to set this up? I'...
253
votes
8
answers
387k
views
Read the contents of a zipped file without extraction?
How can I read the contents of a particular file in an archive without extracting the .zip it is contained within? I'm using the Linux command line.
An earlier question asks about viewing the ...
252
votes
4
answers
448k
views
How to convert .ppk key to OpenSSH key under Linux?
I know that is possible to convert .ppk under puttygen in Windows, but how to do that on Linux? Is this possible ?
252
votes
8
answers
24k
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.
251
votes
10
answers
900k
views
How to fix the wrong number of unread emails flag in Outlook?
I have an annoying problem in Outlook 2013. My inbox is flagged with "1" unread message, but this is not the case. Even when I empty my inbox folder, this bold "1" stays next to my folder, new as it ...
251
votes
5
answers
446k
views
Linux Bash Script, Single Command But Multiple Lines?
I have the following script I wrote by searching Google, and it backs up my Linux system to an archive:
#!/bin/bash
# init
DATE=$(date +20%y%m%d)
tar -cvpzf /share/Recovery/Snapshots/$HOSTNAME_$...
249
votes
32
answers
447k
views
Windows equivalent of the Linux command 'touch'?
What do you use when you want to update the date-modified field of a file on Windows?
commands accessible via C++, .NET, C#, or something native to Windows (Vista preferably)
tools/applications ...
249
votes
16
answers
528k
views
How do I extract files from an MSI package?
We have some old patches that we want to get the files from but don't wish to spend the time installing them to a machine.
Can anyone advise a way to extract files from an MSI installation package?
249
votes
10
answers
199k
views
Is there any program or way to make Mac OS X's ⌘-Tab behave like Windows' Alt-Tab? [closed]
Is there any program or way to make Mac OS X's ⌘Tab(Command-Tab) behave like Windows' AltTab?
That is, instead of switching between applications, to switch between windows of all applications?
I do ...
248
votes
35
answers
289k
views
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?
248
votes
8
answers
203k
views
How to make an SSH tunnel publicly accessible?
Referring back to this question, I am executing the below via OpenSSH (Client: Mac OS X 10.6 | Server: Linux Mint), however the port that is being tunneled is not working publicly:
ssh -R 8080:...
247
votes
15
answers
336k
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 ...
247
votes
4
answers
30k
views
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 ...
246
votes
8
answers
275k
views
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 ...
246
votes
12
answers
359k
views
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 ...
246
votes
11
answers
1.0m
views
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 ...
245
votes
9
answers
856k
views
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 ...
245
votes
6
answers
460k
views
Cut part from video file from start position to end position with FFmpeg [duplicate]
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?
245
votes
11
answers
197k
views
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.
244
votes
9
answers
317k
views
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/...