All Questions

Filter by
Sorted by
Tagged with
395 votes
9 answers
607k views

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's user avatar
  • 27.5k
390 votes
13 answers
279k views

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

Can I search history in bash and run the result?
Richard Hoskins's user avatar
390 votes
11 answers
620k views

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 ...
sorin's user avatar
  • 11.8k
389 votes
1 answer
24k views

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 ...
dagi12's user avatar
  • 2,579
388 votes
23 answers
730k views

How do I list the SSL/TLS cipher suites a particular website offers?

How can I retrieve a list of the SSL/TLS cipher suites a particular website offers? I've tried openssl, but if you examine the output: $ echo -n | openssl s_client -connect www.google.com:443 ...
Jeremy Powell's user avatar
388 votes
4 answers
657k views

Go back to previous directory in shell

Is there a way to go back to previous directory we were in using bash,tcsh without using pushd/popd ? I'd like to type something like "back" and got returned to the previous directory I was in. Edit: ...
Lydon Ch's user avatar
  • 5,959
386 votes
13 answers
280k views

Scroll shell output with mouse in tmux

Mouse scrolling doesn't work in tmux the way it works when I run shell without tmux (in Gnome Terminal). It seems tmux sends mouse scroll events as if I pressed Up/Down keys. But I want it to scroll ...
user31494's user avatar
  • 3,973
384 votes
4 answers
55k views

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 ...
George Duckett's user avatar
384 votes
7 answers
145k views

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

I just found out I can use less with multiple files. less status line tells me (END) - Next: file2.txt But how do I navigate previous/next from less?
Jesper Rønn-Jensen's user avatar
383 votes
19 answers
237k views

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 ...
381 votes
10 answers
457k views

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 ...
DeepNightTwo's user avatar
  • 3,925
381 votes
5 answers
496k views

Bash: Iterating over lines in a variable

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 ...
Alex Spurling's user avatar
380 votes
8 answers
883k views

How to recursively delete directory from command line in windows?

What is the windows equivalent of rm -r [directory-name]?
Eric Wilson's user avatar
  • 7,988
379 votes
4 answers
176k views

How does one swap two panes in Tmux?

I have two panes in horizontal split. I'd like to have the pane currently on the right to be on the left in the window. I'm not talking about moving the focus (Ctrl+B o). How do I achieve this? 'left ...
oddRaven's user avatar
  • 4,025
374 votes
22 answers
598k views

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-...
Matthew Rankin's user avatar
373 votes
8 answers
278k views

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, ...
Alison R.'s user avatar
  • 4,300
371 votes
14 answers
571k views

How do I find the location of an executable in Windows?

I remembered that I used a tool called as where to find locations for any executable programs like this in a console: C:\Tmp\Where myTool.exe C:\Program Files\MyApp\myTools.exe .... Now I cannot ...
David.Chu.ca's user avatar
  • 5,135
371 votes
12 answers
24k views

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 ...
Torben Gundtofte-Bruun's user avatar
368 votes
9 answers
393k views

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's user avatar
  • 18.3k
368 votes
10 answers
378k views

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:...
user avatar
365 votes
15 answers
1.2m views

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's user avatar
  • 3,924
365 votes
13 answers
793k views

How to reload the page by emptying cache in Google Chrome?

I don't know what exactly it's called, by cache refresh I mean, refresh the page after clearing its cache. I don't want to clear the entire browser cache. I can't seem to cache refresh my pages. In ...
360 votes
17 answers
931k views

"Show desktop" keyboard shortcut in Mac OS X

I am using a MacBook Pro with Mac OS X 10.5. Is there a similar function to "show desktop" (shortcut is WIN+D) on a Mac?  It should hide all applications and show a clean desktop.
George2's user avatar
  • 5,039
359 votes
5 answers
92k views

Who provides the Internet service to Internet Service Providers (ISPs)?

I've been wondering recently about how the infrastructure of the Internet really works. I know that I have an Internet Service Provider (ISP) that supplies my connection to the Internet. But what ...
James Mertz's user avatar
  • 26.3k
358 votes
11 answers
895k views

How to read ext4 partitions on Windows?

Is there a way to read ext4 partitions from Windows? If so, what can I do?
357 votes
1 answer
177k views

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, ...
zdimension's user avatar
  • 13.1k
357 votes
14 answers
416k views

How to get information about an image (picture) from the Linux command-line?

I'm working on a web app and currently migrating some stuff from an old app, but I hate that I have to open an image editor to get some info about images I'm migrating. Things like image dimensions. ...
JWL's user avatar
  • 3,761
355 votes
11 answers
762k views

If I know the PID number of a process, how can I get its name?

If I have the PID number for a process (on a UNIX machine), how can I find out the name of its associated process? What do I have to do?
AndreaNobili's user avatar
  • 7,141
350 votes
12 answers
611k views

Native alternative to wget in Windows PowerShell?

I know I can download and install the aformentioned library (wget for Windows), but my question is this: In Windows PowerShell, is there a native alternative to wget? I need wget simply to retrieve ...
jsalonen's user avatar
  • 9,001
350 votes
16 answers
218k views

How can I clear a single site from the cache in Firefox?

In Firefox, I occasionally need to clear my cache to fix a website. But clearing the entire cache seems like extreme overkill. Is there any way to just clear the one site from my cache?
Ryan C. Thompson's user avatar
348 votes
14 answers
817k views

How can I send a Ctrl+Alt+Delete through Remote Desktop in Windows 8?

I need to send a CtrlAltDelete to a remote machine through Remote Desktop. The CtrlAltDelete is being intercepted by Windows 8, regardless of whether the remote desktop has focus or is in full screen. ...
rtf's user avatar
  • 12.7k
348 votes
19 answers
313k views

How to reliably keep an SSH tunnel open?

I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken. If I could at ...
Peltier's user avatar
  • 6,274
348 votes
7 answers
1.4m views

Why does virtualbox only have 32-bit option, no 64-bit option on Windows 7?

I have downloaded and installed the newest virtualbox 4.3.20 for my Windows 7 (64-bit OS), but when I want to install 64-bit Linux, the New->Create Virtual Machine only displays 32-bit option, no 64-...
Nan Xiao's user avatar
  • 4,113
347 votes
5 answers
182k views

What's the difference between 127.0.0.1 and 0.0.0.0?

I understand that 127.0.0.1 points to localhost, and so does 0.0.0.0 (correct me if I'm wrong). So, what's the difference between 127.0.0.1 and 0.0.0.0?
Sagnik Sarkar's user avatar
345 votes
7 answers
1.1m views

How do I get the distinct/unique values in a column in Excel?

If I have a column with values, and I want to find out what distinct values are in there (not how many - but the actual distinct values), how can I do that? In SQL Server I would do something like ...
Kjensen's user avatar
  • 6,614
345 votes
9 answers
529k views

Keyboard language keeps changing in Windows 10

So I recently did a clean install of Windows 10 English. I configured it to have English UI language but Norwegian keyboard. I have several problems with that setup: The keyboard language keeps ...
Nilzor's user avatar
  • 4,519
344 votes
15 answers
925k views

How do I view, add or edit Cookies in Google Chrome?

I wish to view, add and edit the cookies of my google chrome. Can anyone suggest to me a way to do it?
user67024's user avatar
  • 3,549
339 votes
11 answers
761k views

How to force refresh without cache in Google Chrome? [duplicate]

Does Chrome have an equivalent to Firefox's Ctrl+F5 refresh? I can't seem to find one. I changed my gravatar last night, and I can see the new one in Firefox after a Ctrl+F5 refresh, but Chrome seems ...
Kip's user avatar
  • 4,594
336 votes
3 answers
466k views

Linux unzip command: Option to force overwrite?

I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace ...
Nicolas Raoul's user avatar
333 votes
9 answers
113k views

How to append to a file as sudo?

I want to do: echo "something" >> /etc/config_file But, since only the root user has write permission to this file, I can't do that. But the following also doesn't work. sudo echo "something" ...
agentofuser's user avatar
  • 7,387
332 votes
5 answers
260k views

How can I search within the output buffer of a tmux shell?

I can't get this to work. How can I search the buffer of a tmux shell?
NES's user avatar
  • 3,431
330 votes
12 answers
123k views

Determine which tab in Firefox is using CPU resources?

Is there anything in the current Firefox similar to the Task Manager in Google Chrome? (Shift + Esc) There is something that occasionally takes up enough CPU to make Firefox unresponsive - but with ...
chris's user avatar
  • 9,365
326 votes
11 answers
323k views

Menu select item stuck on screen after context or command menu has closed

Periodically when I select a menu command, the label or selected option gets "stuck" on screen and won't go away. I can close all open applications, including whichever one I was using when it got ...
Sam Harwell's user avatar
  • 6,842
325 votes
4 answers
133k views

How to convert 2 horizontal panes to vertical panes in tmux?

After doing join-pane on 2 windows, you have 2 horizontal panes. How do I rearrange the panes to be vertical panes instead?
krishonadish's user avatar
  • 3,361
324 votes
7 answers
257k views

How to pin either a Shortcut or a Batch file to the new Windows 7, 8 and 10 Taskbar and start menu?

We are having trouble adding our batch scripts to the Windows 7, 8 or 10 taskbar or start menu. Our batchfiles take some arguments and just execute other application based on those arguments . To ...
Shaharyar's user avatar
  • 3,591
322 votes
6 answers
215k views

How do you prevent the dock from switching monitors in macOS Monterey?

In Mavericks, Apple introduced a "feature" where if you hover at the bottom of any screen the dock pops up on that screen. This is disrupting my workflow as I am constantly having the dock ...
Brad Dwyer's user avatar
  • 3,445
321 votes
5 answers
212k views

What does the "Fi" in "Wi-Fi" mean?

I just got into a heated discussion about Wi-Fi. What does the Fi in Wi-Fi mean? I would have thought potentially "frequency interface" since all network adapters are classified as interfaces. However ...
NotAdmin Dave's user avatar
320 votes
6 answers
508k views

How to match whitespace in sed?

How can I match whitespace in sed? In my data I want to match all of 3+ subsequent whitespace characters (tab space) and replace them by 2 spaces. How can this be done?
Peter Smit's user avatar
  • 9,496
319 votes
8 answers
608k views

How can I extract .rar files on the Mac? [closed]

Is there anything built-in that does this? (E.g. command line tools.) Or are there any third-party apps? Update: I like The Unarchiver, but vote up your favourite, or add it as an answer if it isn’t ...
Paul D. Waite's user avatar
319 votes
3 answers
167k views

Conclusively stop wake timers from waking Windows 10 desktop

How do you stop a Windows 10 Desktop waking up from the sleeping/hibernated power state without user intervention? For lots of users this won't be an issue but, if you sleep in the same room as your ...
seagull's user avatar
  • 5,516

15 30 50 per page