Most Popular

1500 questions
92
votes
5 answers

How to get list of dependencies of non-installed RPM package?

apt-cache show shows also it's dependencies. yum info does not show dependencies, but it obviously know them. How to ask yum for dependencies of specified package?
Vi.
  • 17,175
92
votes
11 answers

Back button of Adobe PDF Reader after clicking a hyperlink whose target is on the same document

PDF documents have hyperlinks to the contents on the same document (analogous to "#section" hrefs for an HTML document). Where's the back button to go back to the page I was on (where I clicked the hyperlink). Let's say I'm on the index of a PDF…
Srikanth
  • 4,939
92
votes
12 answers

Commmand line command to copy entire directory (including directory folder) to another directory

using the command line, I'd like to copy one directory to another. For example there is directory C:/test and C:/test2. I'd like to copy C:/test into C:/test2 so that the result will be C:/test2/test Everything I've found so far will only copy the…
agezna
92
votes
9 answers

grep to find files that contain ^M (Windows carriage return)

I use Linux. There is a pesky ^M (Windows cariage return) somewhere hidden in thousands of configuration files, and I have to find it, because it makes the server fail. How do I find ^M among a directories hierarchy full of configuration files? I…
Nicolas Raoul
  • 11,071
92
votes
3 answers

Does Windows 7 support UTC as BIOS time?

Since I live in Germany, my timezone is GMT+1 (or GMT+2 in the summertime period). Previous Windows versions were not able to have the hardware clock set to UTC, and the Windows time to the local time. That was / is a big mess, since almoust every…
mru
  • 1,098
92
votes
4 answers

What is the difference between pressing Alt+Tab and Ctrl+Alt+Tab?

When I press Alt+Tab, then I get a window to switch between windows. With Ctrl+Alt+Tab, I get the same result. What is the difference between them?
Wasif
  • 8,474
92
votes
6 answers

How to disable Ctrl+Q shortcut in Firefox on Linux

Since Firefox 57 there is no way to disable Ctrl+Q shortcut by plugin on Linux (see this bug). All workarounds I've found are based on setting the global Ctrl+Q shortcut to "steal" it from Firefox. But this will disable this shortcut in every…
rob006
  • 1,121
  • 1
  • 7
  • 10
92
votes
11 answers

How do you type Unicode characters using hexadecimal codes?

This is in Windows, but answers for other operating systems can be handy to others. Most guides say something to the effect of "hold down the Alt key and type in the code on the keypad". This works fine for decimal codes (like 65 for 'A'), but not…
user939
92
votes
6 answers

How to hide tab bar (tabstrip) in Firefox 57+ Quantum

How to hide/disable/remove the tab bar in Firefox 57+ ("Quantum")? The goal is to just hide the tab bar totally. Useful if paired with extensions like "Tree Style Tab". Note: there is a similarly looking question here: Firefox hide everything except…
VasyaNovikov
  • 3,486
92
votes
9 answers

How to paste into nano from clipboard?

I have an Ubuntu server hosted by Vultr which I am interacting with remotely using their provided terminal. I would like to know how to paste from my clipboard into nano, which I am using to write the code for my server. I have tried Ctrl+U but this…
92
votes
9 answers

Copy files in Linux, avoid the copy if files do exist in destination

I need to copy a /home/user folder from one hard disk to another one. It has 100,000 files and around 10G size. I use cp -r /origin /destination sometimes I get some errors due to broken links, permissions and so on. So I fix the error, and need…
Open the way
  • 8,613
92
votes
2 answers

Why does Qatar use a single IP address when 800,000 IP addresses are allocated to it?

In discussions about IP address banning, IP 82.148.97.69 is often cited as an example. According to Wikipedia, this IP address is the public address of "the entire nation of Qatar". There are two things I don't quite understand: Why does Qatar use…
91
votes
5 answers

Windows Unable to Delete ._. File

I currently have a file on the root of my external hard drive simply named ._., which I am guessing was added to my hard drive after using it on my MacBook a while ago. I'm trying to delete this file on my Windows 10 machine; however Windows keeps…
Mike Koch
  • 1,421
91
votes
2 answers

How do web-servers "listen" to IP addresses, interrupt or polling?

I'm trying to understand the lower details of web servers. I am wondering if a server, say Apache, is continuously polling for new requests or If it works by some sort of interrupt system. If it is an interrupt, what is sparking the interrupt, is it…
91
votes
5 answers

How to comment out multiple lines at once in Notepad++?

In Eclipse it is possible to comment out multiple lines at once by selecting them and executing CTRL + /: // helloworld Is this possible in Notepad++ as well instead of typing /+/ in front of each individual line?
030
  • 2,688
  • 8
  • 27
  • 40