Most Popular

1500 questions
449
votes
6 answers

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 emacs test_queue.cpp
Bobby
  • 4,601
444
votes
18 answers

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 for non-US keyboard layouts) to switch between…
438
votes
9 answers

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 certificate as trusted in my laptops Windows'…
Kimvais
  • 4,788
438
votes
7 answers

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’t exit the text mode. I’m only allowed to enter…
Andreea
  • 4,491
436
votes
18 answers

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 with the password?
jldupont
  • 6,714
433
votes
8 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,889
432
votes
25 answers

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 of a WSDL) that run afoul of this limit. Our ant…
Herms
  • 9,652
429
votes
19 answers

How to encode base64 via command line in macOS/OS X?

Is there a terminal command in macOS/OS X which will base64 encode a file or stdin?
Josh
  • 9,737
428
votes
9 answers

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 system but that also doesn't help me. And with du I…
2ndkauboy
  • 4,473
426
votes
11 answers

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 Visual Studio Code does not behave this way.
ChiliYago
  • 5,155
425
votes
11 answers

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?
422
votes
13 answers

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
  • 4,392
416
votes
9 answers

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 screenshot text : ~$ bin/rcheck.sh Reboot required. ~$…
Louis Waweru
  • 24,631
  • 40
  • 135
  • 202
411
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
  • 4,221
411
votes
11 answers

How to check which apache modules are enabled/installed?

Which is the most elegant way to check which apache modules are enabled?
udo
  • 8,011