Most Popular
1500 questions
422
votes
25 answers
How to get the GPU info?
I'm looking for a command that would give me the same info as:
cat /proc/cpuinfo
Except for the GPU (type of the chip and memory, frequency).
user2413
- 14,957
419
votes
30 answers
What kinds of desktop environments and shells are available?
This question exists as it fills a specific criterion. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will likely be closed per the FAQ. More…
Amith KK
- 13,547
418
votes
8 answers
How to list dependent packages (reverse dependencies)?
In order to research what caused the installation of a given package, I'd like to get a list of packages which depend on that package. I couldn't find anything obvious in man dpkg.
l0b0
- 9,271
417
votes
14 answers
Command line to list DNS servers used by my system
Is there a command to list DNS servers used by my system?
I tried
$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE…
Anurag Uniyal
- 4,334
416
votes
43 answers
Installing Broadcom Wireless Drivers
I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible.
What are the steps to install Broadcom wireless drivers for a BCM43xx card?
I'm a user with no advance…
Fer1805
- 91
415
votes
9 answers
How can I uncompress a *.7z file?
How can I uncompress a *.7z file in Ubuntu and keep the directory structure?
michael
- 6,259
413
votes
5 answers
Failed to load module “canberra-gtk-module” .... but already installed
Gtk-Message: Failed to load module "canberra-gtk-module"
but I already have the libcanberra-gtk-module and libcanberra-gtk3-module installed.
(i.e. I tried this solution, but it is already installed.)
This happens for instance, when I run ipython…
cmo
- 6,558
412
votes
5 answers
What does 2>/dev/null mean?
I would like a brief explanation of the following command line:
grep -i 'abc' content 2>/dev/null
Naive
- 4,895
- 11
- 28
- 35
410
votes
6 answers
How to download a file from a website via terminal?
Suppose that we have a full URL of desired file e.g.
http://domain.com/directory/4?action=AttachFile&do=view&target=file.tgz
I would like to go without installing a new software. Is it possible?
Command
cp …
0x6B6F77616C74
- 4,203
- 3
- 16
- 12
409
votes
10 answers
How to check if a command succeeded?
Is there any way to check if there is an error in executing a command?
Example :
test1=`sed -i "/:@/c connection.url=jdbc:oracle:thin:@$ip:1521:$dataBase" $search`
valid $test1
function valid () {
if $test -eq 1; then
echo "OK"
else echo…
moata_u
- 5,603
409
votes
4 answers
Why use apt-get upgrade instead of apt-get dist-upgrade?
I usually use apt-get update && apt-get upgrade to run my updates and upgrades instead of the GUI because it seems to run more quickly.
However, I've noticed lately that I often get a message that one of my upgrades was held back. I then usually…
jimchristie
- 4,987
409
votes
10 answers
How can I install just security updates from the command line?
sudo apt-get upgrade installs all updates, not just security updates. I know that I can use Update Manager to select only important security updates, but is there a way to do this from the command line?
crenshaw-dev
- 32,852
409
votes
5 answers
How can I accept the Microsoft EULA agreement for ttf-mscorefonts-installer?
After a recent update, ttf-mscorefonts-installer prompted me to accept its license agreement.
┌─────────────────┤ Configuring ttf-mscorefonts-installer ├─────────────────┐
│ …
Peter
- 4,613
408
votes
9 answers
How to see time stamps in bash history?
Is there any way I can see at what time the commands were executed from the bash history? We can see the order but is there any way I can get the time also?
Bottom-Line: Execution time in the Bash history
Raja G
- 105,327
- 107
- 262
- 331
408
votes
11 answers
How do I disable mouse magnet on middle edge with multi monitors?
I use Ubuntu 12.04 on a two screen setup. Multiscreen on 12.04 has generally become much better, but there is one thing that really gets on my nerves: there's a mouse magnet of sorts on the middle edge (between the two screens). It's undoubtedly…
Benjamin Wohlwend
- 4,193