Most Popular

1500 questions
167
votes
9 answers

Hide current working directory in terminal

As a default, the terminal prompt shows something like: user@system:/folder1/folder2/folder3/folder4$ the deeper you go into the filesystem, the less space is left for typing in commands. Can I change this to only show something like: > I mean, I…
Theodor
  • 1,765
167
votes
11 answers

How to hear my voice in speakers with a mic?

I have a USB microphone that I can chat on Skype, record sound etc. But how can I make it so that when my mic is on and I speak, Ι hear it in speakers live without having to record my voice first and then play it back? What apps do I need or where…
167
votes
2 answers

What does outputting to /dev/null accomplish in bash scripts?

Oftentimes I run into small bash scripts that use this sort of syntax in if statements: some command > /dev/null 2>&1 What is the purpose of outputting to /dev/null like that, and what does the 2>&1 mean? It always seems to work but I'd like to know…
javanix
  • 1,803
167
votes
3 answers

What's the right terminology for Unity's UI elements?

I've sent a few mails to the Ayatana mailing list regarding some UI suggestions for Unity, but I'm afraid I keep confusing the right terms for the UI element, so I would like to have some clarification. Answer Index: Ubuntu 12.10, 12.04 LTS and…
Bou
  • 4,542
167
votes
9 answers

How to restart GNOME Shell from command line?

I would like to implement a keyboard shortcut to restart gnome-shell whenever this one crashes (some bugs aren't currently fixed just yet). For this I would need a command line to restart the shell. The Alt+F2 and restart command won't work when the…
neydroydrec
  • 4,780
166
votes
8 answers

How can I check dependency list for a deb package

How can I check dependency list for a deb package. I am running Ubuntu 11.10 and I have backed up all deb packages from var/cache/apt/archives. I want to format my pc and re-install selected applications only. Also how can I get the list of…
Vikramjeet
  • 5,936
  • 10
  • 37
  • 43
166
votes
4 answers

How can I display the list of available Wi-Fi networks?

My Ubuntu laptop's Wi-Fi works fine on various Wi-Fi networks. But the list of available networks accessed from the toolbar icon of nm-applet no longer appears. I just see the known networks. The list of hidden networks also doesn't show any new…
Joshua Fox
  • 3,011
166
votes
5 answers

How to enable root login?

I would like to enable the root account on my Ubuntu installation. I realize the security implications of this.
Lincity
  • 25,749
166
votes
13 answers

Unable to use IntelliJ IDEA keyboard shortcuts on Ubuntu

I am very new to Ubuntu, and I'm having a problem that I don't know how to get it fixed. I even tried looking it up on the web for answers, but maybe I don't know the right terms to search for it. I work with IntelliJ IDEA, an application for…
166
votes
6 answers

Permission denied when running .sh scripts

./geany_run_script.sh: 5: ./geany_run_script.sh: ./Area_circumference: Permission denied program exited with code: 126. This problem always occur when I try to execute my code. What might be the solution?
khwilo
  • 1,853
166
votes
12 answers

How to find (and delete) duplicate files

I have a largish music collection and there are some duplicates in there. Is there any way to find duplicate files. At a minimum by doing a hash and seeing if two files have the same hash. Bonus points for also finding files with the same name apart…
Hamish Downer
  • 19,506
166
votes
8 answers

How do I SSH to machine A via B in one command?

I want to access a computer, say machine A which is based in my university's network. However, this computer is only accessible via the internal network of the university, so I can not use SSH to this computer from home directly. Here's what I do…
nikosdi
  • 1,852
166
votes
8 answers

Whats the simplest way to edit and add files to "/var/www"?

Having installed the web server is there a simple way to set a user able to use the graphic interface to copy files and directories to the local web server /var/www I gave myself administrative privileges in Ubuntu but it still doesn't allow copies.
k_graham
  • 1,761
166
votes
5 answers

What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD?

I am planning on doing a fresh install of Ubuntu and want to know what is the correct way to install ATI Catalyst Video Driver? There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an…
stephenmyall
  • 9,885
165
votes
12 answers

Wifi doesn't work after suspend after 16.04 upgrade

This particular version of the "doesn't work after suspend" came after upgrading to 16.04. It seems that the upgrade includes a Wicd applet (added to Metacity Classic Gnome task bar alongside regular network icon), but doesn't seem to work after a…
147pm
  • 2,185