Most Popular

1500 questions
95
votes
9 answers

How can I open a .dmg file?

I've got a .dmg file, and I can't figure out how to open it. How can I open it?
jrg
  • 60,101
  • 54
  • 172
  • 246
95
votes
7 answers

No internet connection on Virtualbox (Windows 7 as guest, ubuntu 13.04 as host)

Internet works perfectly on host (Ubuntu 13.04, 32 bit, fully updated) but cannot connect to internet on guest Windows 7 (under Virtualbox 4.2). Have tried NAT and Bridge Network - none worked. I had internet connection in the guest OS a couple of…
Ben
  • 953
  • 1
  • 7
  • 5
95
votes
5 answers

How can I recursively change the permissions of files and directories?

I have ubuntu installed on my local computer with apache / php / mysql. I now have a directory at /var/www - inside which I have several of my ongoing projects. I also work with opensource ( drupal, magento, sugarcrm ). The problem I am facing is…
Nikhil
  • 1,165
  • 2
  • 9
  • 11
95
votes
7 answers

Selecting text in the terminal without using the mouse

I am about to press enter to run a command in terminal, but before doing that, I want to copy the command to clipboard without using the mouse. How? If you're somewhere other than the terminal, Ctrl+Home does it. Is there a way of arbitrarily…
Strapakowsky
  • 11,664
  • 15
  • 36
  • 40
95
votes
1 answer

What does “%U” mean when calling a command?

When editing the Applications menu, I see for some applications their commands have %U such as gedit %U and gnome-mplayer %U, but others don't such as gcalctool. I was wondering what %U means when calling a command, and when it is needed and when…
Tim
  • 24,657
  • 62
  • 151
  • 245
95
votes
7 answers

How to check the information of current installed video drivers?

My CPU usage is high when I do trivial things such as scrolling through a PDF file. So I think my video driver is not properly installed. I want to confirm that by checking the information of my currently installed video driver, such as if there's a…
smwikipedia
  • 1,092
  • 1
  • 8
  • 12
95
votes
3 answers

What is dconf, what is its function, and how do I use it?

Mark Shuttleworth recently blogged about the decision to include the Qt libraries in the 11.10 release, with a followup from Jono Bacon. Mark states that the biggest challenge to integrating apps written in Qt into the larger Ubuntu system is Qt's…
user2405
95
votes
8 answers

How to run a script without closing the terminal?

I have a script in file bla.sh and it is executable. When I click on it, the script is executed and the window is closed. I'd like the window to stay open. Something like command cmd /k** command in Windows. P.S. I don't want to use pause, but I…
UAdapter
  • 17,157
  • 38
  • 78
  • 102
95
votes
1 answer

Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files?

When running apt-get -y install on Ubuntu 10.04 I would like apt-get (or aptitude if that makes it easier) to not prompt me when installing additional dependencies (behavior of -y as I understand it) and but not prompt me about…
0xC0000022L
  • 5,656
  • 6
  • 52
  • 91
95
votes
7 answers

How can I free space from a massive 39.5GB /var/log/ folder?

I just got a message from the default disk analyses software (Baobab) that I only have 1GB left on the hard drive. After some search, I found that the /var/log/ folder is the cause of this. Some file/sizes in /var/log/: kern.log = 12.6…
blade19899
  • 26,496
  • 21
  • 113
  • 177
94
votes
9 answers

How do I install Adobe Acrobat Reader deb package downloaded from Adobe website?

I am new to Ubuntu, but I believe I have Ubuntu 11.10 installed correctly. I am trying to install Acroread using AdbeRdr9.4.6-1_i386linux_enu.deb that I downloaded from the Adobe web site. How do I do this?
ubuntu_rookie
  • 941
  • 1
  • 7
  • 3
94
votes
4 answers

How to execute a script in a different directory than the current one?

I tried executing a script with this command: ./home/user/scripts/someScript but it doesn't work: No such file or directory Any ideas?
UAdapter
  • 17,157
  • 38
  • 78
  • 102
94
votes
4 answers

How to Display Hidden Characters in vim?

How can I configure vim to display hidden characters like tabs or spaces ONLY while those characters are typed? I do not want tabs and/or space replaced with special characters like ">" or "_" when the file is written.
dan0
  • 943
  • 1
  • 7
  • 4
94
votes
12 answers

How to convert a m4a sound file to mp3?

I tried to convert an .m4a file to an .mp3 file using ffmpeg with the following command: $ ffmpeg -i music.m4a music.mp3 Unfortunately, I got a zero byte-sized file returned as output. The output of the command is as follows: FFmpeg version…
The Student
  • 11,786
  • 27
  • 61
  • 94
94
votes
5 answers

When to use () vs. {} in bash?

I'm studying shell scripting with bash and I need to know the difference between (...) and {...}. How does one select between the two when writing a script?
Fat Mind
  • 2,425
  • 4
  • 25
  • 41
1 2 3
99
100