Most Popular
1500 questions
134
votes
6 answers
What does "Ctrl + Alt + F12" do?
I accidentally pressed Ctrl + Alt + F12 and my display turned to black... I then had to make a reboot.. What did it do to my system? Also what does Alt + F8 to F10 do?
user146550
- 1,341
- 2
- 9
- 3
134
votes
6 answers
How to find architecture of my PC and Ubuntu?
When running uname -a , I get as output 41-Ubuntu SMP Mon Aug 13 17:59:54 UTC 2012 i686 athlon i386 GNU/Linux Can someone please explain to me why both i386 & i686 ? What exactly is my PC architecture and what version of Ubuntu am I using (32bit or…
python_beginner
- 1,643
134
votes
8 answers
Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg)
I just upgraded from Ubuntu 21.10 to 22.04. sudo apt update ends with the following warnings... W: https://linux.teamviewer.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION…
heynnema
- 73,937
134
votes
4 answers
Ubuntu Server 18.04 LVM out of space with improper default partitioning
I installed Ubuntu Server 18.04 with the LVM option and left the default partition setup. Now my main drive only has 4GB in a 1TB hard drive. How can I fix this without starting from scratch? Results of df -h : Filesystem Size Used Available Use%…
CyborgDroid
- 1,453
- 2
- 9
- 6
133
votes
4 answers
What is the meaning of exit 0, exit 1, and exit 2 in a bash script?
I'm doing some practice exercises. Write a script that will be given a month number as the argument and will translate this number into a month name. The result will be printed to stdout. I made a solution: # Test for number of argument if [ "$#"…
andrej benedičič
- 1,539
133
votes
9 answers
How do I remove 'Places' entries from the Nautilus sidebar?
I want to remove Videos and Music from the left side panel. But, I can't seem to find the option to do so. How do you do that?
jokerdino
- 41,762
133
votes
2 answers
External links are opened as blank tabs in new browser window in Chrome
Since I installed Ubuntu (fresh install on a new machine), and set Google Chrome as default browser, whenever I open links from external apps these are open as blank tabs in new browser window (no actual redirection to site, just a blank tab). I…
unfulvio
- 1,655
133
votes
2 answers
Removing files older than 7 days
I write below command to delete all files that are older than 7 days, but it doesn't work: find /media/bkfolder/ -mtime +7 -name'*.gz' -exec rm {} \; How can I remove these files?
Malihe Pakyari
- 1,331
133
votes
7 answers
How do I redirect command output to vim in bash?
I am trying to redirect the output of a bash command into a new file. If I try the pipe as below : ls -la | vim Bash shows me the errors : Vim: Error reading input, exiting... Vim: preserving files... Vim: Finished. I know that I can open Vim and…
faizal
- 3,037
133
votes
12 answers
How to automount NTFS partitions?
I have two NTFS partitions, and I don't want to mount them manually every-time I start Ubuntu. How can I do this? Is there a tool or a code to use? If so, is it safe to automount? specially when they are being used by another OS?
Binarylife
- 16,692
133
votes
12 answers
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set
I have run following command accidentally sudo chown [username] -hR / Now sudo su getting error: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set How to Solve This?
Pandya
- 37,469
133
votes
5 answers
What is the $DISPLAY environment variable?
I am new to shell scripting. I don't understand what the $DISPLAY environmental variable is. I have Ubuntu 13.10 and I use /bin/bash shell. I have two monitors. Questions: Command echo $DISPLAY will print :0.0 on my machine (on both monitors). What…
Chandrayya G K
- 2,363
133
votes
25 answers
Any command line calculator for Ubuntu?
I am looking for a calculator which can do calculations in the terminal itself, without any other extra prefixes and suffixes. For example: If I typed something like 10000-9000 in the terminal, the answer should come out as 1000. Once again I am…
Raja G
- 105,627
- 107
- 263
- 332
133
votes
19 answers
Can I skip over releases when upgrading?
I am currently using Ubuntu 10.04. I know there is a 10.10 release, but can I upgrade directly to 11.04? Could you walk me through the steps please?
Jared Reyes
- 1,341
133
votes
5 answers
How to install Flash player on Ubuntu?
Even though I have the latest Adobe Flash player 11.2 for Linux in Firefox - ref: Flash player security doubts - a particular online flash game still requests that I update to the latest flash player. I've tried this online game on my laptop…
user190160
- 1,331