Most Popular
1500 questions
275
votes
3 answers
ps aux output meaning
When typing the command ps aux, what does each column of the output mean? For example:
$ ps aux
timothy 29217 0.0 0.0 11916 4560 pts/21 S+ 08:15 0:00 pine
root 29505 0.0 0.0 38196 2728 ? Ss Mar07 0:00 sshd: can [priv] …
Tim
- 17,287
274
votes
9 answers
In vim, how can I quickly switch between tabs?
In gnome-terminal, I can just press Alt + (1, 2, 3, etc.) to switch to specific tabs. I can also use Ctrl + (PgUp / PgDn) to cycle through tabs (admittedly less convenient, but it can be remapped).
If I want to use vim tabs instead of gnome-terminal…
Matthew
- 14,786
273
votes
12 answers
Why does my microwave kill the Wi-Fi?
Every time I start the microwave in the kitchen, our home Wi-Fi stops working and all devices lose connection with our router! The kitchen and the Wi-Fi router are in opposite ends of the apartment but devices are being used a little here and there.…
Ohlin
- 1,953
- 3
- 15
- 12
273
votes
5 answers
Why should I use Vagrant instead of just VirtualBox?
I've been using VirtualBox for many years to create a development environment.
A lot of my colleagues are talking about Vagrant and many people seem very excited about it but I just can't seem to grasp the benefits of it.. seems to me like it's a…
John Hunt
- 3,148
273
votes
17 answers
How can I produce high CPU load on a Linux server?
I’m currently in the process of debugging a Cacti installation and want to create CPU load to debug my CPU utilization graphs.
I tried to simply run cat /dev/zero > /dev/null, which works great but only utilizes 1 core:
Is there a better method of…
Oliver Salzburg
- 87,539
- 63
- 263
- 308
272
votes
3 answers
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.
moinudin
- 3,074
271
votes
9 answers
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 list free open ports not in use?
Stanley Mungai
- 2,821
271
votes
11 answers
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't have a flag for signing.
Is there a way to…
Magnus
- 4,386
271
votes
19 answers
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):
find '$dir' -name '$str'\* -print | head -10
How…
Richard Easton
270
votes
8 answers
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?
user70192
- 2,829
266
votes
11 answers
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.36.105) 56(84) bytes of data.
64 bytes from…
AndreaNobili
- 7,161
- 16
- 40
- 49
266
votes
3 answers
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?
Eonil
- 5,734
266
votes
27 answers
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 (e.g. Spotify).
Olly
- 576
264
votes
10 answers
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++?
srk
- 2,841
264
votes
10 answers
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 possible for Google to search the Internet, which is…
Arne
- 1,787