Most Popular

1500 questions
392
votes
9 answers

How to clear bash history completely?

I want to clear all previous commands from the history of my server. I used history -c and it seems all things are cleared but when I ssh to the server, all the commands are still there. How can I clear them permanently?
hd.
  • 4,087
388
votes
6 answers

How do I make rsync delete files that have been deleted from the source folder?

I recently set up a machine with Ubuntu Server to host game servers. I installed a backup plugin for each game server that creates frequent backups of game world files in a particular folder on the machine. I also established a cron task to…
user254251
  • 3,953
388
votes
7 answers

"Unable to locate package" while trying to install packages with APT

When I try to install any package through the command line, I get an error. $ sudo apt-get install Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package Can…
CodeGeeky
  • 4,003
388
votes
7 answers

How do I find out my motherboard model?

Is there a way to find what motherboard model I have? If yes, how, please?
Ederico
  • 6,437
387
votes
16 answers

Unable to correct problems, you have held broken packages

After upgrading from 10.04 to 12.04 I am trying to install different packages. For instance ia32-libs and skype (4.0). When trying to install these, I am getting the 'Unable to correct problems, you have held broken packages' error message. Output…
trond
  • 3,895
387
votes
23 answers

Unable to mount Windows (NTFS) filesystem due to hibernation

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount. When I try to enter my Windows partition through Nautilus I get a message saying that this partition is…
yotamoo
  • 4,259
387
votes
8 answers

How to make ZSH the default shell?

I am trying to set ZSH as my default shell, however it keeps reverting back to bash. I have tried this code: sudo chsh -s $(which zsh) I've also tried: sudo chsh -s /bin/zsh Also tried these commands without sudo. Any ideas on what else I need…
Tom
  • 4,239
386
votes
9 answers

How do I install a root certificate?

Can anyone point me to a good tutorial on installing a root certificate on Ubuntu? I've been provided with a .crt file. I gather that need to create a directory at /usr/share/ca-certificates/newdomain.org and place the .crt in that directory.…
Sparky1
  • 13,199
386
votes
10 answers

How do I fix a "Problem with MergeList" or "status file could not be parsed" error when trying to do an update?

The computer gave me this output in a window: E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages E: The package lists or status file could not…
user12250
384
votes
10 answers

How can I resize an ext root partition at runtime?

How can I increase the size of the root partition of a system at runtime? I have a partition that is not allocated after the root partition (which is also ext4), how can I add that unallocated space to the space allocated to the root partition…
BonboBingo
  • 3,942
382
votes
10 answers

SSH returns: no matching host key type found. Their offer: ssh-dss

I am accustomed to using Putty on a Windows box or an OSX command line terminal to SSH into a NAS, without any configuration of the client. Ubuntu 16.04 attempts to SSH into the NAS (via LAN): ssh root@192.168.8.109 Unable to negotiate with…
gatorback
  • 6,523
382
votes
11 answers

Pending Update of Snap Store

What's with 'Pending Update of Snap Store?'
380
votes
5 answers

How can I empty the trash using terminal?

I am not able to find trash anywhere. Can you please tell me a command or anything like that to empty the trash using terminal ?
hellodear
  • 4,833
376
votes
7 answers

Is there a program like Microsoft Paint?

I'm slowly getting used to Ubuntu; for I've been a Windows user as long as I've used any computer. I'm hoping someone can suggest a good graphics software. I'm simply looking for one that works close to Microsoft Paint. (Paint brush functionality,…
374
votes
15 answers

How do I increase the hard disk size of the virtual machine?

I have run out of space on my WinXP virtual machine, which I only gave 10 GB space for when I created it. Is there an easy way to increase it to, say, 20 GB? I can't see any obvious option in VirtualBox settings. The suggestion below gives this…
wim
  • 13,088