Most Popular

1500 questions
136
votes
10 answers

How to create a new blank file in Nautilus 3.6 and above?

I used to create new blank files in Nautilus (Files) using the right click context menu. It really saved me a lot of time. Since Nautilus 3.6, there is no such entry. Is there a way to create a new blank file in Nautilus 3.6 and above?
remjg
  • 3,823
135
votes
5 answers

Unable to change the root password in Windows 10 WSL

I have tried both commands sudo passwd and sudo -u root /bin/bash But as soon as I enter the new password twice, it says password has been updated. You close the shell and open a new instance, it is still working on the old root password. Please…
Dragonborn
  • 1,453
135
votes
10 answers

Bash remove first and last characters from a string

I have a string like that: |abcdefg| And I want to get a new string called in someway (like string2) with the original string without the two | characters at the start and at the end of it so that I will have this: abcdefg Is that possible in…
135
votes
4 answers

What's the risk of upgrading over SSH?

When I run sudo do-release-upgrade over ssh, I get the following message. This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in case of failure it is harder to recover. If you…
C. Ross
  • 3,067
135
votes
5 answers

What is gdm3, kdm, lightdm? How to install and remove them?

What is gdm3, kdm, lightdm? How to install and remove and repair them? Can anyone explain in details?
135
votes
8 answers

How do I install openjdk 7 on Ubuntu 16.04 or higher?

I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7. Apparently it is not available from a trivial apt-get install openjdk-7-jdk. Only versions 8 and 9 are listed in the repository. Can anyone point me to…
onairda
  • 3,055
135
votes
12 answers

How can I set default terminal used in Unity?

How can I set the default terminal used in Unity? I would like to use the Ctrl+Alt+T hotkey to start a non-default terminal. The default terminal is gnome-terminal. Where can I change the default terminal value?
Regisz
  • 2,180
135
votes
8 answers

How to run a checkdisk?

I suspect there might be bad sector on a disk. I used ext3 filesystem. What tool is the best equivalent of the error checking tool of Windows?
135
votes
1 answer

What's the easiest way to unrar a file on Ubuntu 12.04

I just realized I can't unrar .rar files on my Ubuntu machine!
135
votes
4 answers

Calculating the number of lines in a file?

How would I calculate and display the number of lines and words that are contained in a .sh file?
user264934
  • 1,435
135
votes
16 answers

How do I deactivate F1 and F10 keybindings in gnome-terminal?

How can I turn off the F1 (help) and F10 (notifications menu) key bindings? First one I need for screen utility and second to exit mc in console. There are no such key bindings in the Keyboard Shortcuts system settings.
135
votes
15 answers

Tool to add shapes, annotations and text using templates to images

Often I need to annotate (draw some arrows, lines, basic shapes like squares, ellipses etc and enter some text) on top of pictures (JPG, PNG images) and screenshots (again png images). I would also need to be able to crop, resize etc. I tried the…
koushik
  • 5,132
135
votes
16 answers

Text editor to edit large (4.3 GB) plain text file

Is there any text editor, which can edit such file? I've tried: gedit kate nano vim mcedit without success.
cupakob
  • 1,949
135
votes
6 answers

Can I set my user account to have no password?

If I attempt to change my password to nothing by opening "User Accounts", the "Change" button remains greyed out: How do I change my password to be empty? I know you can set Ubuntu to automatically log you in, but I want my password to be empty, I…
Flimm
  • 44,031
135
votes
13 answers

How to harden an SSH server?

What measures can/should I take to make sure that security around my SSH server is absolutely impermeable? This will be community wiki from the start, so lets see what people do to secure their servers.