Most Popular

1500 questions
351
votes
3 answers

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 jsp/extension/add-aspect.jsp? [y]es, [n]o, [A]ll,…
Nicolas Raoul
  • 11,561
349
votes
7 answers

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-bit option. Could anyone give any clues about this…
Nan Xiao
  • 4,133
349
votes
16 answers

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
  • 3,599
349
votes
6 answers

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
  • 3,601
348
votes
9 answers

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 switching to English constantly I can't see the…
Nilzor
  • 4,579
344
votes
9 answers

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" >> /etc/config_file Is there a way to append to a file…
agentofuser
  • 7,677
343
votes
4 answers

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
  • 3,541
  • 2
  • 16
  • 6
342
votes
5 answers

How can I find files that are bigger/smaller than x bytes?

In a terminal, how can I find files that are bigger or smaller than x bytes? I suppose I can do something like find . -exec ls -l {} \; and then pipe the result to awk to filter by file size. But shouldn't there be an easier way than this?
ceiling cat
  • 4,737
341
votes
7 answers

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 keep it simple, we created some shortcuts for our…
Shaharyar
  • 3,761
340
votes
11 answers

How to force refresh without cache in Google Chrome?

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 to be stubbornly hanging on to the old Gravatar.…
Kip
  • 4,634
339
votes
11 answers

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 multiple windows, each with a dozen or so tabs…
chris
  • 9,595
335
votes
7 answers

How do you redirect wget response to standard out?

I have a crontab that wgets a PHP page every five minutes (just to run some the PHP code), and I want to send the output of the request to standard out, while sending the normal wget output to /dev/null (or otherwise hide it). I couldn't find it in…
331
votes
10 answers

How do I find a file by filename in Mac OSX terminal?

I want to find a file on my Macbook with the filename: abc.dmg. I've tried to use spotlight, but it doesn't find it. When I tried find, and used: find -name abc.dmg -path /, I got errors back. What is the proper syntax to find a file by filename…
SPRBRN
  • 8,149
330
votes
9 answers

What is a SSH key fingerprint and how is it generated?

I always find that I get this message when I ssh into a new machine: 12:f8:7e:78:61:b4:bf:e2:de:24:15:96:4e:d4:72:53 What does it stand for? Will every machine have the same fingerprint every time? How are these fingerprints generated? What…
Kit Ho
  • 5,587
329
votes
3 answers

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 PC, then having your machine wake up at 3:30AM to…
seagull
  • 6,216
  • 10
  • 33
  • 42