Most Popular
1500 questions
383
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,390
- 6
- 26
- 44
382
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
379
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
- 24,839
- 34
- 101
- 137
378
votes
18 answers
Windows SSH: Permissions for 'private-key' are too open
I've OpenSSH 7.6 installed in Windows 7 for testing purposes. SSH client & server work just fine till I tried to access one of my AWS EC2 box from this windows.
It seems like I need to change the permission on the private key file. This can be…
Sabrina
- 4,453
- 7
- 14
- 23
377
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
- 3,881
- 3
- 13
- 6
377
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,230
- 20
- 60
- 72
377
votes
19 answers
How to encode base64 via command line?
Is there a terminal command in Mac OS X which will base64 encode a file or stdin?
Josh
- 9,107
- 11
- 47
- 70
376
votes
9 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,514
- 6
- 27
- 29
374
votes
8 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,240
- 4
- 22
- 17
371
votes
12 answers
How can I give my wife emergency access to logins, passwords, etc.?
I'm the digital guru in my household. My wife is good with email and forum websites, but she trusts me with all our important digital stuff — online banking and other things that require passwords; also family photos and the plethora of other…
Torben Gundtofte-Bruun
- 17,616
- 38
- 103
- 138
369
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
367
votes
12 answers
How can I search the bash history and rerun a command?
Can I search history in bash and run the result?
Richard Hoskins
- 11,865
- 10
- 48
- 52
365
votes
7 answers
How to merge audio and video file in ffmpeg
I want to merge an audio file (.wav or .au format) with a video file (.mp4 format).
Please suggest me how to achieve this. I want to merge these file to new .mp4 video file. An ffmpeg command would be very welcome.
Sandy
- 4,209
- 9
- 26
- 26
364
votes
10 answers
chown is not changing symbolic link
I'm trying to change the user/group of a symbolic link with the command:
$ chown -h myuser:mygroup mysymbolic/
But it's not changing. I'm logged in as root. The current user/group is set to root:root. What went wrong?
rizidoro
363
votes
8 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
- 25,524
- 47
- 103
- 124