Most Popular
1500 questions
350
votes
12 answers
How do I view all available HDD's/partitions?
I found a 6 GB IDE HDD in my basement. I want to plug it in and see what might be on it. The drive seems to be recognized in BIOS. I can't find it in Ubuntu to view files, and Ubuntu is the only OS on that particular computer. I was wondering if…
Casey Hungler
- 3,791
349
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,801
349
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 stored.
Oli
- 299,936
348
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,797
- 5
- 20
- 12
346
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,950
346
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,878
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 of apt-get upgrade seemed…
Adrijaned
- 1,848
345
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,697
345
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,925
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,485
344
votes
4 answers
What's the difference between <<, <<< and < < in bash?
What's the difference between << , <<< and < < in bash?
Searene
- 4,600
344
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,541
344
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,490
343
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 ] but it's not configured to auto start when the PC reboots. How can I configure…
Ricardo Reyes
- 4,277
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