All Questions

Filter by
Sorted by
Tagged with
506 votes
9 answers
57k views

Did I just get hacked?

I am developing a consumer product, and it is supposed to be connected to the Internet, so as expected, it is connected to the Internet so that I can properly develop it. I went away for an hour or ...
vaid's user avatar
  • 3,539
501 votes
15 answers
2.4m views

How to enable execution of PowerShell scripts?

When I try to execute my PowerShell script I get this error: File C:\Common\Scripts\hello.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help ...
Pavel Chuchuva's user avatar
500 votes
30 answers
450k views

How to check if a binary is 32 or 64 bit on Windows?

Is there an easy way to check if a binary is 32 or 64 bit on Windows? I need to check before I move the program to a 32bit machine and experience a spectacular failure.
Septagram's user avatar
  • 5,468
493 votes
18 answers
709k views

How to clear the contents of a file from the command line?

I have a log file that has a bunch of stuff in it that I don't need anymore. I want to clear the contents. I know how to print the contents to the screen: cat file.log I know how to edit the file, ...
Andrew's user avatar
  • 14.9k
490 votes
20 answers
385k views

How can I make Chrome stop caching redirects?

I am working on a web application that is using redirects (for pretty URLs). I am trying to debug logic in the way the redirects are working. However Google Chrome keeps remembering the redirects and ...
JD Isaacks's user avatar
  • 8,484
486 votes
7 answers
254k views

What is the difference between executing a Bash script vs sourcing it?

What is the difference between executing a Bash script like A and sourcing a Bash script like B? A > ./myscript B > source myscript
Scottie T's user avatar
  • 5,061
484 votes
5 answers
486k views

How to open files in vertically/horizontal split windows in Vim from the command line

There must be a way, something like this: vim -[option] <file-list> to open files from command prompt and not from within Vim. split windows vertically or/and horizontally in separate tabs
Andrei Chikatilo's user avatar
484 votes
11 answers
1.2m views

What is the home directory on Windows Subsystem for Linux?

When I start bash on Windows Subsystem for Linux, it drops me in the directory /mnt/c/Users/<username> When I ls this directory, I see the directories Desktop, Documents, etc. that I can see ...
bcf's user avatar
  • 4,983
483 votes
16 answers
1.1m views

Test if a port on a remote system is reachable (without telnet)

In the old days, we used telnet to see if a port on a remote host was open: telnet hostname port would attempt to connect to any port on any host and give you access to the raw TCP stream. These days,...
Steve HHH's user avatar
  • 7,100
480 votes
6 answers
790k views

How do I exit telnet?

I start telnet by telnet host port. How do I stop it in Windows? Shockingly, Ctrl+C doesn't work.
Val's user avatar
  • 1
477 votes
21 answers
1.7m views

How to download files from command line in Windows like wget or curl

How can I download something from the web directly without Internet Explorer or Firefox opening Acrobat Reader/Quicktime/MS Word/whatever? I'm using Windows, so a Windows version of Wget would ...
477 votes
14 answers
88k views

Does e-mail address obfuscation actually work? [closed]

Most of the time when I see someone post their email address online, especially if it's a personal address, they use something like me [at] example [dot] com instead of the actual email address (me@...
Kyle Cronin's user avatar
  • 7,389
474 votes
18 answers
465k views

An SSH tunnel via multiple hops

Tunneling data over SSH is pretty straight-forward: ssh -D9999 [email protected] sets up port 9999 on your localhost as a tunnel to example.com, but I have a more specific need: I am working ...
Mala's user avatar
  • 7,358
474 votes
2 answers
268k views

How do I rename a session in tmux?

When I first started using tmux, I didn't give my first session a name. Then, as I started creating different sessions for different tasks (work, play, etc), I started naming my sessions. Now I have ...
Richard Jones's user avatar
474 votes
9 answers
1.0m views

How can I free up drive space from the Windows installer folder without killing Windows?

On my SSD machine, the C:\Windows\Installer folder is massive and takes up about 15% of my total disk space. Is there a way to clean up that folder without killing Windows 8.1/10? Tucking away the ...
DeepSpace101's user avatar
  • 8,837
471 votes
18 answers
844k views

How do I compare binary files in Linux?

I need to compare two binary files and get the output in the form <fileoffset-hex> <file1-byte-hex> <file2-byte-hex> for every different byte. So if file1.bin is 00 90 00 11 in ...
user avatar
468 votes
18 answers
327k views

How can I remove malicious spyware, malware, adware, viruses, trojans or rootkits from my PC?

What should I do if my Windows computer seems to be infected with a virus or malware? What are the symptoms of an infection? What should I do after noticing an infection? What can I do to get rid of ...
466 votes
4 answers
159k views

What is randomart produced by ssh-keygen?

When you generate a key, you get "randomart" from newer versions of OpenSSH. I am unable to find an explanation of why, and what I'm supposed to use it for. Generating public/private rsa key pair. ...
dlamblin's user avatar
  • 10.7k
462 votes
14 answers
378k views

Mac OS X equivalent of the Ubuntu "tree" command

Is there an equivalent to the Ubuntu tree command for Mac OS X?
Misha Moroshko's user avatar
462 votes
1 answer
512k views

How to remove one or all auto-complete text entries in Chrome? [duplicate]

Ok... so this is embarrassing. I typed in "boobs" on EncyclopediaDramatica's search because, well, it's a really funny page. But now I've got a problem... EVERY TIME I click a search field in Chrome ...
Garrett's user avatar
  • 4,859
461 votes
18 answers
835k views

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 ...
Sabrina's user avatar
  • 5,363
460 votes
16 answers
1.2m views

How can I download an entire website?

How can I download all pages from a website? Any platform is fine.
454 votes
11 answers
545k views

How do I add text to the beginning of a file in Bash?

Hi I want to prepend text to a file. For example I want to add tasks to the beginning of a todo.txt file. I am aware of echo 'task goes here' >> todo.txt but that adds the line to the end of ...
user479534's user avatar
  • 4,751
450 votes
11 answers
1.8m views

How to rename the User folder in Windows 10?

After installing Windows 10 on my Surface Pro 3 it took my user name 'Jeremy' and created a user folder named C:\Users\jerem. I want to rename the folder C:\Users\Jeremy. The procedure for Windows 8 ...
GollyJer's user avatar
  • 7,280
449 votes
8 answers
77k views

Why don't websites immediately display their text these days?

I've noticed that recently many websites are slow to display their text. Usually, the background, images and so on are going to be loaded, but no text. After some time the text starts appearing here ...
laurent's user avatar
  • 6,069
448 votes
6 answers
589k views

How can I resume a stopped job in Linux?

How can I resume a stopped job in Linux? I was using emacs and accidentally hit ctrl-z which blasted me back to the console. I can see it when I type 'jobs' [*****]$ jobs [1]+ Stopped ...
Bobby's user avatar
  • 4,591
441 votes
18 answers
180k views

How to prevent Gnome-shell's Alt+Tab from grouping windows from similar apps?

I love pretty much everything about how Gnome Shell handles app-switching through Alt+Tab. My one gripe with it, though, is how it forces the user to use Alt+` (or Alt+ whatever key above the Tab key ...
Waldir Leoncio's user avatar
438 votes
7 answers
1.3m views

How do I exit an SSH connection?

I’m connecting to a server via SSH to send a message to a socket server using a command like: ssh 181.169.1.2 -p 5566 After the connection is established and I write the message and send it I can’...
Andreea's user avatar
  • 4,491
436 votes
9 answers
950k views

How to save a remote server SSL certificate locally as a file

I need to download an SSL certificate of a remote server (not HTTPS, but the SSL handshake should be the same as Google Chrome / IE / wget and curl all give certificate check fail errors) and add the ...
Kimvais's user avatar
  • 4,768
434 votes
18 answers
1.0m views

Is there a way to "auto login" in PuTTY with a password?

Is there a way to configure a password for a stored session in PuTTY? I know there is the capability to specify an "auto-login username" (under Connection/Data), but is there a way to do the same ...
jldupont's user avatar
  • 6,694
433 votes
8 answers
650k views

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 ...
Sandy's user avatar
  • 4,889
432 votes
25 answers
543k views

How to delete directories with path/names too long for normal delete

Windows seems to have a length limit on file names when trying to delete, though it won't prevent those files from being created. Our build process creates a number of temporary files (many build off ...
Herms's user avatar
  • 9,632
426 votes
20 answers
671k views

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's user avatar
  • 9,707
426 votes
9 answers
869k views

How to get the summarized sizes of directories and their subdirectories?

Let's say I want to get the size of each directory of a Linux file system. When I use ls -la I don't really get the summarized size of the folders. If I use df I get the size of each mounted file ...
2ndkauboy's user avatar
  • 4,453
425 votes
11 answers
339k views

Selecting columns in Visual Studio Code

Does Visual Studio Code support selecting columns of text? I have not yet found this feature, so I am wondering if it is hidden somewhere. I am familiar with holding down Alt while selecting text, but ...
ChiliYago's user avatar
  • 5,145
425 votes
11 answers
820k views

Clear cache for specific domain name in chrome

I want to clear the cache for a specific domain name in Chrome. Is there an extension or other method that I can use to do this?
Benjamin Crouzier's user avatar
420 votes
13 answers
509k views

How can I delete a symbolic link in Windows?

I created a symlink using mklink. Now I need to change it but I can't figure out how to delete it so I can recreate it correctly.
Ben V's user avatar
  • 4,372
414 votes
9 answers
711k views

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 ...
Louis Waweru's user avatar
  • 24.6k
411 votes
11 answers
537k views

How to check which apache modules are enabled/installed?

Which is the most elegant way to check which apache modules are enabled?
udo's user avatar
  • 8,011
411 votes
4 answers
377k views

How to remove an entry from Chrome's Remembered URLs from the url bar?

I've got a URL in Chrome "local.mysite.com" that autopopulates when I start typing "local.my" into the URL bar. Note that this URL DOES NOT EXIST in my browser history (at chrome://history/#e=1&p=...
cmcculloh's user avatar
  • 5,677
410 votes
5 answers
1.1m views

What are PATH and other environment variables, and how can I set or use them?

Questions about setting environment variables the PATH are very common here, and in most cases the answers are very similar to each other. In the future it would be nice to have a good Q/A for this....
slhck's user avatar
  • 228k
408 votes
6 answers
264k views

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's user avatar
  • 4,191
404 votes
25 answers
260k views

Switching back to last *used* tab on Chrome

How do I toggle back to the last tab used in Chrome on Mac? Ctrl-Tab and Ctrl-Shift-Tab navigates the tabs in order. But I want to switch back and forth between two tabs similar to how how Cmd-Tab ...
Sajee's user avatar
  • 6,379
400 votes
3 answers
964k views

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 ...
Kirt's user avatar
  • 7,221
399 votes
10 answers
437k views

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 (...
wip's user avatar
  • 7,064
398 votes
15 answers
243k views

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 ...
ell's user avatar
  • 4,054
397 votes
7 answers
277k views

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 ...
Jay Conrod's user avatar
  • 5,620
396 votes
7 answers
1.0m views

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:...
Nathan Long's user avatar
  • 26.5k
396 votes
14 answers
552k views

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&...
ProfessionalAmateur's user avatar
395 votes
21 answers
544k views

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 ...
user avatar

15 30 50 per page