Most Popular

1500 questions
402
votes
7 answers

less command with multiple files: How to navigate to the next/previous file?

I just found out I can use less with multiple files. The less status line tells me: (END) - Next: file2.txt But how do I navigate previous/next from less?
401
votes
11 answers

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 no space on the host. Now I've deleted the log…
DeepNightTwo
  • 4,125
398
votes
15 answers

Why are we still using CPUs instead of GPUs?

It seems to me that these days lots of calculations are done on the GPU. Obviously graphics are done there, but using CUDA and the like, AI, hashing algorithms (think bitcoins) and others are also done on the GPU. Why can't we just get rid of the…
ell
  • 4,054
397
votes
11 answers

What disk image should I use with VirtualBox, VDI, VMDK, VHD or HDD?

Latest versions of VirtualBox supports several formats for virtual disks, but they forgot to provide a comparison between them. VDI VMDK VHD HDD Now, I am interested about a recommendation or comparison that considers the following: be able to…
sorin
  • 12,189
397
votes
7 answers

How to iterate over lines in a variable in Bash?

How does one properly iterate over lines in bash either in a variable, or from the output of a command? Simply setting the IFS variable to a new line works for the output of a command but not when processing a variable that contains new lines. For…
394
votes
14 answers

How to disable the "Get Windows 10" icon shown in the notification area (tray)?

This icon showed up in my taskbar notification area today and I cannot seem to get rid of it: Clicking on it displays the following screen: So how do I disable or remove the "Get Windows 10" icon?
393
votes
1 answer

Mouse pointer moving on arrow keys pressed in Windows?

I'm encountering a strange problem on my W10 computer, for a few days my arrow keys have been "driving" my mouse pointer. Pressing the left arrow key will move the pointer a few pixels left, etc. The first thing that came to my mind was "Oh well, I…
zdimension
  • 14,283
391
votes
1 answer

Ping faster than light

I just discovered very strange thing while testing my internet connection. My ping is smaller than it should be. For example ping time to Arizona State University is about 14ms. eryk@eryk-pc:~$ ping www.asu.edu PING www.asu.edu.cdn.cloudflare.net…
dagi12
  • 2,599
387
votes
4 answers

Why does pinging 192.168.072 (only 2 dots) return a response from 192.168.0.58?

I mistakenly missed the dot off of an IP address and typed in 192.168.072. To my surprise I connected to a machine at 192.168.0.58 If I ping 192.168.072 I get responses from 192.168.0.58. Why is this? I'm on a Windows PC on a Windows domain. If I…
387
votes
8 answers

tmux vs. screen

I'm about to get back into using GNU Screen, but I have been hearing people occasionally mention tmux as a better alternative. Does it really offer an alternative to all the features Screen offers, such as activity monitoring in different windows,…
Alison R.
  • 4,490
385
votes
8 answers

How to recursively delete directory from command line in windows?

What is the windows equivalent of rm -r [directory-name]?
Eric Wilson
  • 8,068
384
votes
9 answers

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?
Lenik
  • 18,830
383
votes
22 answers

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 on-screen when it's not possible to grab the title…
381
votes
19 answers

If 32-bit machines can only handle numbers up to 2^32, why can I write 1000000000000 (trillion) without my machine crashing?

32-bit computers can only store signed integers up to 231 - 1. This is why we have run out of IPv4 addresses and have entered the 64-bit era. However, the number 231 - 1 (2,147,483,647) is not as large as the number 1 trillion (1,000,000,000,000)…
379
votes
15 answers

How do you list all processes on the command line in Windows?

Is there a command equivalent to 'ps' on Unix that can list all processes on a Windows machine?
readonly
  • 4,064