Most Popular
1500 questions
348
votes
14 answers
How do I check if a package is installed on my server?
I recently installed Ubuntu Server edition 13.10 (Saucy Salamander). But I have run into a bit of problem.
At the end of the installation, it asks about several extra packages whether you want them or not, like OpenSSH server and virtual machine…
D.Zou
- 3,791
347
votes
4 answers
Where is the user crontab stored?
Since upgrading my user's crontab has been wiped out. This is not the first time this has happened this year and it's a pain restoring it each time.
I'd like to be able to back up the crontab for my user but for that I need to know where it's…
Oli
- 299,380
346
votes
9 answers
What is the difference between "Redirection" and "Pipe"?
This question may sound a bit stupid, but I can not really see the difference between redirection and pipes.
Redirection is used to redirect the stdout/stdin/stderr, e.g. ls > log.txt.
Pipes are used to give the output of a command as input to…
John Threepwood
- 3,777
- 5
- 18
- 12
345
votes
2 answers
Dwarf Fortress starting during apt-get upgrade
When I run apt-get upgrade on my Ubuntu 17.04 machine, sometimes it starts Dwarf Fortress by itself.
It has happened already at least two times, so it was probably not just some sort of one time thing. Also, the execution ofapt-get upgrade seemed to…
Adrijaned
- 1,848
- 2
- 11
- 8
345
votes
9 answers
Are PPAs safe to add to my system and what are some "red flags" to watch out for?
I see a lot of interesting programs out there that can only be obtained by adding a "PPA" to the system but, if I'm understanding correctly, we should stay within the official "repositories" for adding software to our system.
Is there any way for a…
Rob
- 12,940
345
votes
39 answers
Comparison of backup tools
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. While you are encouraged to help maintain…
8128
- 28,868
344
votes
3 answers
Run adduser non-interactively
I'd like to use the adduser command to add a user (with disabled password) via a shell script.
By default, adduser prompts you for various values (e.g., Full Name). Is there any way to submit these values via command line? Or will I need to useradd…
Lorin Hochstein
- 5,475
344
votes
6 answers
How to install specific Ubuntu deb packages, with exact version?
I want to setup a new virtual machine with some specified packages (name and version), that are provided.
For example, apache2 in version 2.2.20-1ubuntu1 with all dependencies. Even if there is a new version of this package on the servers this one…
ayckoster
- 3,687
344
votes
2 answers
Change password on root user and user account
If I change the password for the root user is that going to automatically change the password for the user account?
I found this link for root:
WikiHow: How to Change the Root Password in Linux
How do I change the user account password?
Alisha
- 3,551
- 2
- 15
- 8
344
votes
7 answers
How to restart X Window Server from command line?
How can I restart X Window Server from the command line?
I'd really like to be able to restart my GUI without having to do a full system reboot.
Noah Goodrich
- 3,915
343
votes
15 answers
How to backup settings and list of installed packages
If I want to make a backup of everything I have done since the fresh install of Ubuntu, what are the possible options? What all should I backup? I want to get all the settings that I changed, all the packages I installed, etc.
n1kh1lp
- 3,531
342
votes
5 answers
How can I configure a service to run at startup
I have a daemon that runs fine if I start it manually with the service command:
ricardo@ricardo-laptop:~$ sudo service minidlna start
* Starting minidlna minidlna [ OK…
Ricardo Reyes
- 4,267
342
votes
16 answers
Hitting arrow keys adds characters in vi editor
When I tried to use arrow keys in insert mode in vi editor the following characters are being inserted in the editor:
for ↓ I get B,
for ↑ I get A,
for ← I get D,
for → I get C.
Please help me in resolve this problem.
bvb
- 3,521
341
votes
7 answers
Reset the password in Ubuntu / Linux Bash in Windows
I have installed Linux Bash on Windows 10 (available from Microsoft), but I've forgotten my password.
I've searched for a solution but I only find suggestions that involve doing something before the system boots, like accessing recovery mode, but…
Maheedhar K V
- 3,511
341
votes
5 answers
Big /var/log/journal?
I don't understand why the /var/log/journal/ folder is so big.
For example, by executing the command systemctl -f, i see the fill.
If I click on an email on Thunderbird, it generates dozens of lines that I consider useless.
Currently, I have more…
Bristow
- 3,460