Most Popular

1500 questions
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
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
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.
135
votes
6 answers

How to defrag an ext4 filesystem

I don't want any answer saying that there's no need, please!
user108056
135
votes
12 answers

Mount a VirtualBox drive image (vdi)?

Is it possible to mount a VirtualBox drive image (.vdi) so the contents can be viewed in Nautilus etc.? I have a windows 2000 .vdi which won't boot ("inaccessible boot device") after upgrading from VirtualBox 2.x to 3.1.6. I believe the IDE drive…
matt wilkie
  • 2,250
135
votes
3 answers

How do I find the reverse dependency of a package?

I was wondering if it was possible to check what package another package is a dependency of. For example, jetty is mysteriously installed and running on my system and I'd like to check whether it is a dependency of something else.
Magnus
  • 1,453
135
votes
1 answer

Cannot echo "hello" > x.txt even with sudo?

Possible Duplicate: sudo & redirect output I'm trying to create a file in /var/www, but even with sudo this fails: user@debVirtual:/var/www$ sudo echo "hello" > f.txt -bash: f.txt: Permission denied When I use sudo nano , I can save something to…
Patryk
  • 9,426
134
votes
4 answers

I want to copy a directory from one place to another via the command line

I want to copy a directory from one place to another folder. sudo cp is the command, but after that what should I type? The destination or source first?
pradeep
  • 1,341
134
votes
10 answers

16.04 upgrade broke mysql-server

My overall upgrade went well, but I am left with a critically lingering issue of mysql-server not being able to install itself, and nothing I am trying gets it to work. This is the error I see when trying to install/reinstall it: Setting up…
TheGremlyn
  • 2,774
134
votes
7 answers

What's the difference between package managers?

What are the differences between apt-get , aptitude , and synaptic , and which one is the recommended choice for normal day-to-day package management? This is a basic question, but I think it'd be good information to have on the site, and besides I…
David Z
  • 11,035
134
votes
6 answers

apt-get update only for a specific repository

When I add a PPA and I want to install some of its content, it is quite annoying to re-update all my apt list using apt-get update . Is it instead possible to only sync the content of a given repository?
Treviño
  • 2,614
134
votes
5 answers

CPU benchmarking utility for Linux

I am looking for a utility that will benchmark CPU performance under single and multi threaded instances. At present I have an old rig with a dual core CPU (E7500) at 3.6 Ghz and I am looking at replacing it with a quad core CPU (Q9400) at 3.2 Ghz.…
fatso
  • 1,341
134
votes
5 answers

How to enable exFAT in Ubuntu 14.04

I just installed Ubuntu 14.04 and I can't mount my exFAT HDD. I get the following error: Unable to access “SeagateHDD” Error mounting /dev/sdb1 at /media/me/SeagateHDD: Command-line `mount -t "exfat" -o…
Iuliu
  • 1,473