Most Popular
1500 questions
118
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,781
118
votes
10 answers
On Unity: What can replace Gnome 2 system monitoring in the top Panel?
I'm used to having System monitoring in the top Gnome Panel: CPU, Temperature, Net, Fan-Speed. (see screenshot below)
In Unity, the Top Panel is locked for window name and global menu, so I can't add panel applets.
So my question is:
Is there a…
tobi
- 2,252
118
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,919
118
votes
8 answers
How can I resize an LVM partition? (i.e: physical volume)
I want to shrink my second (LVM) partition, in order to create a new partition in the newly freed space. I am using the Live CD to do so, because I know I can't resize/move this partition while it is in use. When I opened GParted in the Live CD, I…
Idan Yadgar
- 1,281
- 2
- 9
- 5
118
votes
7 answers
input delay on Terminal Ubuntu 22.04.4
I have been using Ubuntu since Christmas, and just recently I have been receiving delayed input while using the Ubuntu terminal. It especially takes affect when using vim or man commands, which is strange as no other software I have has no delay…
Oeshen Playz1036
- 1,341
118
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,181
118
votes
3 answers
What is the NVIDIA Server Driver?
In the Software & Updates app in Ubuntu 20.04, in the Additional Drivers tab, there is an NVIDIA Server Driver option that I don't remember seeing in previous Ubuntu releases. The package name is nvidia-driver-440-server.
What are the differences…
acl
- 1,281
117
votes
4 answers
Cannot restart samba, samba.service is masked
When I try to restart Samba, I am receiving the following error message:
Failed to start samba.service: Unit samba.service is masked.
In addition, when I run systemctl, it shows smbd.service in red showing failed.
At the same time restart began…
Melissa Sexton
- 1,171
117
votes
16 answers
What screenshot tools are available?
I have noticed that many people use images in their Ask Ubuntu answers. What software are people using?
RunningUtes
- 3,972
117
votes
17 answers
Unable to Install Guest Additions CD Image on Virtual Box
Error when I clicked on Insert GuestAdditions CD Image from "Devices"
Unable to insert the virtual optical disk /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the machine VirtualUbuntu.
Would you like to try to force…
Rads
- 1,273
- 2
- 9
- 6
117
votes
4 answers
How to install a package with apt without the "Do you want to continue [Y/n]?" prompt?
Of course when you type:
sudo apt-get install whatever
It asks you:
Do you want to continue [Y/n]?
Is there any way I can just install it without it asking me if I want to continue? I don't really care about space, I have more then enough.
programking
- 1,541
117
votes
7 answers
Change keyboard layout (English UK) on command line to English US
I am using Ubuntu 12.04. The keyboard layout is English US everywhere except for the Command Line where it works in English UK. Terminal also has English US. How do I change the default keyboard layout in Command Line to English US?
Also, I think it…
Evelyn
- 1,273
117
votes
23 answers
Which Time Tracker application do you recommend?
I have to do three or four jobs a day, and each has several parts. I want a time tracker tool to help me know how much time I've spent on each part and each job overall.
I've found some like gnotime and hamster.
What application do you recommend…
Alexar
- 1,416
117
votes
9 answers
How can I type accented characters like ë?
Currently I use the character palette applet in gnome panel to put special characters into text.
This is okay, but I have to stop typing, select the character I want from the applet and then copy and paste.
Is there a way to simply type special…
Helix
- 2,403
117
votes
5 answers
How to add a user without /home?
I want to create a new user to run a service on the system but don't want to have /home and other configuration files for it. Like there is a user for postgres but it doesn't have any /home directory.
Owais Lone
- 7,523