Most Popular

1500 questions
144
votes
8 answers

scp copy over ssh doesn't work - permission denied error, please?

It's driving me nuts! I just want to transfer one simple file from laptop to server. I'm using ubuntu on both machines. So I have: -rwxr-xr-x 1 sandro 414622 2011-10-14 23:42 sandrophoto-html.tar.gz And I'm sending it using: sudo scp -P XXXX…
user25389
144
votes
2 answers

What is the correct way to edit a crontab file?

I am trying to automate the refreshing of awstats for my webserver and understand that I need to use cron to set that up. So each user has a crontab file? I was following the instructions here community/AWStats And it says to go to the file at:…
timbram
  • 2,275
  • 5
  • 20
  • 21
144
votes
3 answers

How can I check the SMART status of a SSD or HDD on current versions of Ubuntu 14.04 through 20.04?

How can I check the SMART status of a drive under 14.04 and beyond? I've seen Checking HD SMART status on a fresh install but it doesn't seem to apply under 14.04 and later.
Elder Geek
  • 36,813
144
votes
8 answers

How do I upgrade Docker?

I type docker.io version, and get: Client version: 0.9.1 Go version (client): go1.2.1 Git commit (client): 3600720 Server version: 0.9.1 Git commit (server): 3600720 Go version (server): go1.2.1 Last stable version: 0.11.1, please update docker I…
Gerrat
  • 1,808
144
votes
13 answers

What are the alternatives to Notepad++ on Ubuntu?

I use Notepad++ on Windows 7 and I want to know if there is a good substitution for it on Ubuntu. I want something that is good for editing html files.
user171010
  • 1,449
144
votes
10 answers

How to create a local APT repository?

I would like to build my own local repository on my LAN, so that machines on the LAN can update and upgrade from it. I want to download the packages and store them on my local server so that I can update, upgrade, install, etc, from it without using…
user61928
144
votes
5 answers

How to connect and disconnect to a network manually in terminal?

Since the network manager is troubling me so much I want to replace it (possibly wicd or NM from ppa:volanin ). I do not know how to connect and disconnect to the network through the terminal without using network manager. I would like a…
user7048
  • 1,441
144
votes
10 answers

Moving from bash to zsh

I'm considering moving from bash to zsh as I often come across posts praising zsh. I'm an experienced command line user and I'm assuming the basics are pretty much the same, so I'm looking for advice to get the benefits of moving, and any gotchas to…
Hamish Downer
  • 19,526
144
votes
7 answers

In SSH, how do I mv to my local system?

I ssh -ed into my webhost's directory, and tar -ed the webapp to download. When I try to mv to ~/mydirectory/backups or /home/mydirectory/backups , it defines the "home" as my root on the webhost that I'm ssh'ed into. How do I mv in ssh to a local…
JeanSibelius
  • 3,692
144
votes
8 answers

How can I install a .bin file?

I want to update Acrobat Reader for Firefox, but the download has the .bin extension. How can I install it?
144
votes
13 answers

How to ungroup windows on Unity task switcher?

I'm playing with ubuntu 12.04, precise pangolin, and there's an issue I can't see how to solve. If I have three instances of, let's say, Firefox, in the switcher appears a single Firefox icon, I have to wait something like a second for it to open so…
opensas
  • 3,257
144
votes
6 answers

Changing colors for user, host, directory information in terminal command prompt

Is it possible to change the colors in the command prompt for the user@computer , as well as the the current directory and command parts of the prompt display? I've already seen something like this done by OSX users, but I don't know how to do the…
Luiz Rodrigo
  • 1,789
144
votes
17 answers

How can I capture network traffic of a single process?

I would like to examine the network traffic being handled by a single process, but simple network captures won't work since I am dealing with such a busy system (lots of other traffic happening at the same time). Is there a way to isolate a tcpdump…
Kees Cook
  • 17,873
143
votes
3 answers

How do I quickly switch between workspaces in unity?

I'm using Ubuntu 11.10 with Unity and would like to switch between workspaces with a keyboard shortcut. Is there any way to achieve this?
js-coder
  • 2,257
143
votes
6 answers

apt full-upgrade versus apt-get dist-upgrade

In accordance with man pages: apt has parameter full-upgrade apt-get has parameter dist-upgrade . Are both the same command? btw: which is officially the recommended command in Ubuntu 16.04? apt or apt-get ?
a903user
  • 1,463
  • 2
  • 12
  • 9