Most Popular

1500 questions
400
votes
6 answers

Restore tmux session after reboot

Is there any way to save a tmux session? In other words, if I reboot the computer, will I always lose the sessions?
KendallB
  • 4,111
  • 3
  • 14
  • 6
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
  • 4
  • 18
  • 20
396
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?
ProfessionalAmateur
  • 3,405
  • 5
  • 19
  • 19
389
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,569
  • 3
  • 12
  • 10
389
votes
7 answers

How can I make chown work recursively?

I've got a directory called pdfs that contains a bunch of sub- and sub-sub-directories. I want to change ownership on all PDF files in all of the subfolders. I just tried this: chown -R someuser:somegroup *.pdf ...but it didn't change ownership of…
Nathan Long
  • 26,015
  • 36
  • 102
  • 139
388
votes
10 answers

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 (for example, from one window in Google Chrome, to…
wip
  • 6,834
  • 7
  • 28
  • 29
388
votes
7 answers

Find what package a file belongs to in Ubuntu/Debian?

I frequently find myself missing a program, man page, or other file when working on my Ubuntu 8.04 system. Is there any simple way to look up what package contains a given file (whether it is installed already or not)? Maybe some obscure option for…
Jay Conrod
  • 5,480
  • 5
  • 23
  • 17
387
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
  • 11,660
  • 20
  • 63
  • 73
387
votes
21 answers

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 process (e.g. Firefox) from the terminal it's been…
AnC
384
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…
George Duckett
  • 5,400
  • 6
  • 27
  • 44
383
votes
13 answers

How can I search the bash history and rerun a command?

Can I search history in bash and run the result?
Richard Hoskins
  • 12,245
  • 10
  • 49
  • 52
383
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)…
Ben Johnson mk2
  • 707
  • 4
  • 8
  • 21
383
votes
3 answers

What is the Windows equivalent of the Unix command cat?

I want to do exactly what unix "cat" does, but on my PC. Is there a simple equivalent command for the Windows command line? Specifically I want to create a file from all the files of a given type in a folder In Unix: cat *fna…
Kirt
  • 7,001
  • 17
  • 51
  • 61
383
votes
9 answers

How can I view two files side by side in Notepad++?

I would like to split the Notepad++ window so that I can edit two files side by side. How can I do this in Notepad++?
Jonas
  • 26,874
  • 52
  • 105
  • 125
379
votes
9 answers

Rebooting Ubuntu on Windows without rebooting Windows?

Is it possible to reboot the Ubuntu sub-system without restarting my system? I tried to use the shutdown command after installing some updates, but that doesn't seem to be an option here. The screenshot text : ~$ bin/rcheck.sh Reboot required. ~$…
Louis Waweru
  • 23,945
  • 39
  • 132
  • 198