Most Popular

1500 questions
201
votes
3 answers

How do I list the members of a group?

How can I see all the members of a group in Linux?
fratrik
  • 2,795
200
votes
6 answers

How do I increase the size of swapfile without removing it in the terminal?

Is there a way to increase my existing "swapfile" without having to destroy and re-create it? I would like to up my swap space from 1GB to 2GB. Currently it is set up as such: $ sudo swapon -s Filename Type Size Used Priority /swapfile file 1048572…
Dave
  • 2,355
200
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
  • 73,907
200
votes
7 answers

Why don't the Ubuntu repositories have the latest versions of software?

Why are packages in the official Ubuntu repositories older than the latest (upstream) versions from Debian Sid, PPAs, the authors, etc.?
200
votes
9 answers

How can I execute a .jar file from the terminal

I know that to execute a file, I use the . command, then the file name with a space between them. But I'm trying to execute a Java .jar file using the . and it does not work. I went into the properties and marked it as executable and made it run…
jaorizabal
  • 3,788
199
votes
7 answers

Why am I getting authentication errors for packages from an Ubuntu repository?

I'm experimenting with VPNs, so I wanted to install pptpd. john@desktop:~$ sudo apt-get install pptpd [sudo] password for john: <snip> The following extra packages will be installed: bcrelay The following NEW packages will be installed: bcrelay…
John
  • 3,967
199
votes
4 answers

Pressing enter produces ^M instead of a newline

For example, if I am tail -f ing a file or read ing user input, <Enter> will produce ^M in the terminal instead of ending the read or adding a newline to stdout. ^J works fine. I'm ssh ing into the ubuntu system, if that matters. This happens to me…
benekastah
  • 2,099
199
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,793
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,878
199
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,991
  • 2
  • 12
  • 3
198
votes
8 answers

How do I set environment variables?

I'm trying to set up Apache Tomcat on my pc, and it wants me to set up an environment variable for CATALINA_HOME . Does any know how to do this?
jumpnett
  • 6,185
198
votes
9 answers

How to get date and time using command line interface?

How can I get current date/time in terminal. I mostly start up my system in text(console) mode and need the command to know the current date/time.
198
votes
8 answers

How to avoid using sudo when working in /var/www?

I want to stop having to use sudo everytime I work in /var/www . How can I do that? I simply want to put all of my sites into this directory and work with them without too much pain.
TaylorOtwell
  • 2,115
197
votes
8 answers

How to create script with auto-complete?

When I use program like svn and I type in Gnome Terminal: svn upd and hit Tab it's autocompleted to: svn update Is it possible to do something like that in my custom bash script?
UAdapter
  • 17,987
197
votes
16 answers

How to make a sound once a process is complete?

I have started a long process through a terminal. Is it possible to make the Ubuntu terminal make a sound once the process is complete? This way, I don’t need to keep checking, but will instead be notified through a sound.
Goaler444
  • 2,083