Most Popular
1500 questions
175
votes
7 answers
What does "TTY" stand for?
On the Wikipedia's article (Computer terminal) under the hard copy terminals section of the article it says this "Early user terminals connected to computers were electromechanical teleprinters or teletypewriters (TeleTYpewriter, TTY)..."
So does…
MathCubes
- 5,666
175
votes
11 answers
Where is .bashrc?
I feel stupid asking, but I can't seem to find the answer to this anywhere. I'm trying to follow these instructions to edit my bash prompt, but there is no .bashrc in either my user directory (~/.bashrc), or in my home directory, or in the main file…
JeanSibelius
- 3,602
- 8
- 24
- 27
174
votes
3 answers
What is the difference between "systemctl start" and "systemctl enable"?
I installed MariaDB server to my machine. While setting up, I was met with the problem of whether I should have it enabled all the time, as the documentation I follow suggests with these steps:
sudo yum install mariadb mariadb-server
sudo systemctl…
Chathurika Senani
- 1,869
174
votes
4 answers
Can I see why a package is installed?
For a specific package, can I find out why it is installed?
So, can I see or it's manually installed, or that it is installed as a dependency of another package? Or that it is installed as part of the distro?
Peter Smit
- 7,587
174
votes
4 answers
How do you view file permissions?
I want to know how to see the permissions a particular file has. Which command should I type in the terminal? However, I don't want to change it.
CENTAUR
- 3,249
- 5
- 22
- 30
174
votes
7 answers
How to disable the "unlock your keyring" popup?
I read through all the related answers, but they do not apply to Ubuntu 14.04.
I have no .gnome2 folder and no Passwords and Encryption keys item in the system settings. I tried to crawl through every possible menu, but I could not find out how to…
Martin Drozdik
- 3,185
174
votes
10 answers
Not enough free disk space when upgrading
I'm getting an error in software updater when I try and do my daily updates. it says:
The upgrade needs a total of 25.3 M free space on disk `/boot`.
Please free at least an additional 25.3 M of disk space on `/boot`.
Empty your trash and remove…
carmatt95
- 1,747
- 3
- 12
- 7
174
votes
14 answers
Browsing the internet from the command line
How can I browse the Internet from the command line in Ubuntu?
user12025
174
votes
9 answers
How do I delete my commands quickly?
I use terminal for almost all tasks. Let's say I have entered a huge command like this:
sudo a-huge-command
What is the easiest way to delete the whole command with a single shortcut, rather than keep on hitting backspace key?
I'm a Ubuntu newbie…
batman
- 7,961
173
votes
10 answers
Mount single partition from image of entire disk (device)
I made an image of my entire disk with
dd if=/dev/sda of=/media/external_media/sda.img
Now the problem is I'd like to mount an ext4 filesystem that was on that disk but
mount -t ext4 -o loop /media/external_media/sda.img /media/sda_image
obviously…
Nicola Feltrin
- 1,753
173
votes
11 answers
How to pass an array as function argument?
Struggling for a while passing an array as argument but it's not working anyway. I've tried like below:
#! /bin/bash
function copyFiles{
arr="$1"
for i in "${arr[@]}";
do
echo "$i"
done
}
array=("one" "two"…
Ahasanul Haque
- 1,843
- 2
- 11
- 6
173
votes
11 answers
How can I restart GNOME Shell, after it freezes or becomes unresponsive?
Sometimes, my GNOME Shell freezes. I can see (hear) background processes working (playing music), but I can't do anything in GNOME. No Alt+F2 followed by R and Enter.
I can switch to console using: Ctrl+Alt+F1, login as the same user and…
jk_
- 1,839
- 2
- 12
- 5
173
votes
16 answers
Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?
I am considering buying a Dell XPS 15 laptop. The laptop has a Nvidia 420m card which should work with Linux but I keep reading that the Nvidia Optimus technology isn't supported on Linux. I am not really interested in switching from Nvidia to Intel…
DSJones
- 1,751
173
votes
4 answers
Will apt-get dist-upgrade upgrade my system to a newer version?
I am using Ubuntu 12.04 right now. If I use the command sudo apt-get dist-upgrade will that upgrade my Ubuntu to 12.10? Does that mean I won't be using the LTS version after that? I don't want to use Ubuntu 12.10 because I've already tried it and…
albilaga
- 1,831
- 2
- 12
- 4
173
votes
4 answers