Most Popular

1500 questions
120
votes
6 answers

Bypass the yes/no prompt in 'apt-get upgrade'

In order avoid typing out all of the apt-get commands when updating my computer I have made a simple alias command to do it. But I really want to be able to just type in my alias and let it do its thing and not have to wait to for the yes/no prompt…
Ntc
  • 1,414
119
votes
8 answers

How to move all files in current folder to subfolder?

I am at the path: /myuser/downloads/ And I create a sub folder: /myuser/downloads/new Now I want to move all files and folders/sub-folders in the downloads folder to the sub-folder. how can I do this? I tried: mv -R *.* new/ But move doesn't take…
Blankman
  • 8,645
119
votes
4 answers

How to install pgAdmin 4 in desktop mode on Ubuntu

How to install pgAdmin 4 in desktop mode? The documentation only details server mode.
Victor
  • 9,244
  • 9
  • 25
  • 34
119
votes
4 answers

How do I run wireshark, with root-privileges?

A standard installation of Wireshark doesn't give the program permission to access the network interface. I suppose I have to run the program with sudo , but do not know how to add it to the icon - if that's the way to do it.
Sven AA
  • 1,193
119
votes
14 answers

Getting an "Authentication token manipulation" error when trying to change my user password

I am logging in to my Ubuntu Server using my username. Once I am logged in I am typing passwd command. Entering a new password but a second after getting following error messages: passwd: Authentication token manipulation error passwd: password…
Bakhtiyor
  • 12,884
119
votes
5 answers

convert images to pdf

I have saved multiple images from google books. I wanted to convert them to a single pdf file, where in I need some inputs. The below two images(one png and one jpeg) are two continuous pages. first page(png) second page(jpeg) I save them in my…
user301880
  • 1,301
119
votes
10 answers

How to install pip for python 3 in ubuntu 12.04 LTS

I am trying to install the Pillow module for python 3.3, but for that I need to install pip. Every time that I install pip it installs for python 2.7, any help?
BCasaleiro
  • 1,293
119
votes
11 answers

Please recommend a hex editor for shell

Can you recommend a hex editor that can be run from shell? I need to be able to edit not only view the content.
Aviran
  • 1,341
119
votes
7 answers

Conveniently schedule a command to run later?

What's a simple way to run a command, say, 8 hours from now? I can think of this way: nohup bash -c "sleep 28800 ; ./mycommand.sh" & Is there a more "proper" way?
119
votes
5 answers

How to access the last return value in bash?

Simple scenario: I'm looking for a wsdl file lost in the middle of a project. $ find -name '*.wsdl' ./some/very/very/long/way/to/some/lost/directory/filename.wsdl Now that I know where it is, I want to do something with this file, say edit it.…
Anto
  • 2,791
119
votes
7 answers

How do you mute from the command line?

How do you mute the sound system from the command line?
myusuf3
  • 35,799
119
votes
5 answers

bc: set number of digits after decimal point

bc handles numbers as integers: # echo "100/3" | bc 33 bc -l handles numbers as floating point objects: # echo "100/3" | bc -l 33.33333333333333333333 Is there a way to limit the number of digits after the decimal point?
Adam Matan
  • 12,949
119
votes
4 answers

how to use sudo command to install .tar.gz?

Possible Duplicate: How to install a .tar.gz (or .tar.bz2) file? I am newbie to ubuntu. I would like someone to explain how to use sudo command to unzip & install .tar.gz file to me.
omjaijagdish
  • 1,199
119
votes
4 answers

How do you make Ubuntu accept files sent over bluetooth

I have a problem when I send my files from phone to ubuntu 12.04 via bluetooth as the phone prompts with the message "the file not sent"! I can send any files from ubuntu 12.04 to my android phone.
kevin
  • 1,191
118
votes
6 answers

How to install geckodriver in Ubuntu?

I use Selenium in Python, I tried to run the webdriver function: default_browser = webdriver.Firefox() This Exception: WebDriverException: Message: 'geckodriver' executable needs to be in PATH. geckodriver in this site:…
mySun
  • 2,021