Most Popular

1500 questions
199
votes
9 answers

How to add Android Studio to the launcher?

I'm trying to install Android Studio so that I can launch it from a launcher instead of via terminal. Android Studio > Tools > Create Desktop Entry doesn't do anything Can someone give specific instructions please? I think this is something to do…
spences10
  • 2,602
199
votes
1 answer

What is the loopback device and how do I use it?

What are loopback and localhost? Why do they exist, what are they used for, and how would I use them?
Eliah Kagan
  • 117,780
199
votes
9 answers

Command to list services that start on startup?

Is there a command to list services that run on startup? I imagine it would involve parsing /etc/init.d/, and the various /etc/rc.* directories.
Eric H
  • 2,093
199
votes
6 answers

Is aptitude still considered superior to apt-get?

When I first started with Ubuntu using aptitude was the 'in-thing', with some stated improvements over apt-get. Am I correct in saying that apt-get has now 'caught up' with aptitude, and it makes little difference which is used (although it is…
8128
  • 28,740
198
votes
1 answer

apt gives “Unstable CLI Interface” warning

I am writing a script that needs to read a file containing information of a package for which I wrote this line apt show $PACKAGE_NAME > pack_info.txt However this doesn't creates the pack_info.txt file and always gives this Warning : WARNING :…
C0deDaedalus
  • 2,385
  • 4
  • 13
  • 19
198
votes
4 answers

Ubuntu 17.10 and later: can't change the input switching shortcut to alt+shift

When I try to set the default combo for switching to different language layouts in my keyboard from Shift+Super+Space to Alt+Shift I can't. I used to have this combo since Ubuntu 14 and even before that when I used to have Windows. Now for some…
papajo
  • 2,977
  • 5
  • 19
  • 29
198
votes
14 answers

How do I change fonts and adjust their size?

I've been finding fonts on the internet and installing them on my system. What's the easiest way to change my fonts? I would prefer an easy to use graphical way, but answers with command line recommendations are also welcome.
Jorge Castro
  • 71,754
198
votes
21 answers

How do I include lines in resolv.conf that won't get lost on reboot?

I have finally migrated to 12.04 from 7.10. I have one last part to complete but I am stumped. I am using Puppet on each server, and in the past I have included a nameserver address and a search domain name for the puppetmaster in resolv.conf.…
Sam
  • 1,981
  • 2
  • 12
  • 3
198
votes
7 answers

What's the difference between .tar.gz and .gz, or .tar.7z and .7z?

Recently, I've been backing up a lot of my data, and I noticed that I can save files as .gz or .tar.gz, or .7z and .tar.7z, etcetera. What are the differences between the normal one and the .tar.* variant? Which one of them is adviced when making…
198
votes
5 answers

Where is the .Trash folder?

Using Ubuntu 11.10, I accidentally deleted a file that was approximately 700 MB. I tried to find it in the in following locations, but couldn't: /home/user/.local/share /home/user/ <-- there was no folder .Trash /home/user/Desktop/ <-- there was no…
198
votes
4 answers

Uninstall a program installed with Wine

I am using Ubuntu 11.10. By using wine software i installed some software like nimbuzz and ibibo messenger. Both the programs are not working and showing the bug as We're sorry, but an unknown error has caused ibibo Messenger to close. So I wanna…
Teja
  • 2,195
197
votes
1 answer

What does -y mean in apt-get -y install command?

I always see commands like this apt-get -y install What is the -y tag for and what is the difference between apt-get install with and without the -y tag?
abdelrahman khaled
  • 2,081
  • 2
  • 11
  • 5
197
votes
5 answers

Why doesn't this show the hidden files/folders?

I was looking through my system with du -sch ./* to find the big useless files I may have stockpiled with no reason, when I found this: $ du -sch ./* du: cannot read directory ‘./drbunsen/.gvfs’: Permission denied du: cannot read directory…
Dr_Bunsen
  • 4,713
  • 4
  • 28
  • 40
197
votes
11 answers

How to exclude/ignore hidden files and directories in a wildcard-embedded "find" search?

Starting from (notice the wildcards before and after "some text") find . -type f -name '*some text*' how can one exclude/ignore all hidden files and directories? I've already been googling for far too long, came across some -prune and !…
197
votes
3 answers

Command to append line to a text file without opening an editor

Assuming i have a line that i want to add to a file without opening an editor. How could i append this line alias list='ls -cl --group-directories-first' to this file config.fish
NES
  • 33,195