Most Popular

1500 questions
220
votes
17 answers

How to customize the Ubuntu Live CD?

I would like to customize Ubuntu live CD by installing some additional packages. I have followed the Ubuntu help wiki guide but it doesn't seem to work. Can anyone provide clear instructions? I'm not keen to use Remastersys; I'd prefer a manual…
karthick87
  • 84,513
220
votes
4 answers

How to connect to WiFi from the command line?

Other posts seems to be addressing more complicated network connection issues from the command line. The Unity panel Network indicator/button doesn't respond too well sometimes - it keeps trying to connect to a network even when i click on…
cmo
  • 6,558
220
votes
7 answers

How to read complete line in 'for' loop with spaces

I am trying to run a for loop for file and I want to display whole line. But instead its displaying last word only. I want the complete line. for j in `cat ./file_wget_med` do echo $j done result after run: Found. Here is my data: $ cat…
user192118
  • 2,201
220
votes
5 answers

How to read and write HFS+ journaled external HDD in Ubuntu without access to OS X?

I have a HFS+ journaled external hard-drive and need to be able to write to it on Ubuntu. I don't have access to my Mac, it's thousands of miles away and I won't have access to it for three months. Can anything be done without losing the data on the…
oppochips
  • 2,201
  • 3
  • 14
  • 4
220
votes
6 answers

How to open a file manager of the current directory in the terminal?

When I work in terminal, sometimes I want to open the current directory in a GUI file manager. And then to click the items in the window to run the application. How can I do this?
user8260
220
votes
5 answers

Unable to update "Snap Store": cannot refresh "snap-store": snap "snap-store" has running apps (ubuntu-software)

I am a new Ubuntu 22.04 user who is facing an issue with the Snap Store. Whenever I try to update the Snap Store I can see these error messages. Pending update of "snap-store" snap Close the app to avoid disruptions (13 days left) Unable to…
ABHILASH T
  • 2,623
219
votes
5 answers

Difference between the i386 download and the amd64?

What is the difference between standard i386 download and the amd64 download of Ubuntu 11.04? I am currently running the i386 on an amd machine, would my system work better with the amd64 download instead? (my machine was running Windows 7 64bit,…
Rob
  • 12,940
219
votes
8 answers

Not able to execute a .sh file: /bin/bash^M: bad interpreter

I wanted to execute a shell script: -rwxr-x--x 1 root root 17234 Jun 6 18:31 create_mgw_3shelf_6xIPNI1P.sh I tried to do a standard procedure, but I got this error: ./create_mgw_3shelf_6xIPNI1P.sh localhost 389 -l…
user165062
  • 2,253
  • 3
  • 15
  • 6
219
votes
19 answers

ModuleNotFoundError: No module named 'distutils.util'

After updating to Ubuntu 20.04, whenever I run: pip install or pip --version it says: adam@daryy:~$ pip3 Traceback (most recent call last): File "/usr/local/bin/pip3", line 5, in from pip._internal.cli.main import…
Rock Life
  • 2,290
218
votes
14 answers

Is there a lightweight tool to crop images quickly?

I need to crop images often - photos, printscreens, etc., and loading gimp for such a simple task takes way too long. Can you recommend a faster alternative?
218
votes
6 answers

Why are hard links not allowed for directories?

I am using Ubuntu 12.04. When I try to create a hard link for any directory, it fails. I can create hard links for files inside file system boundary. I know the reason why we cannot create hardlinks for files beyond file system. I tried these…
Nischay
  • 3,771
218
votes
18 answers

How to remove Ubuntu and put Windows back on?

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows. How do I remove Ubuntu and reinstall Windows? Editor's note: many of the answers are about removing Ubuntu from dual-boot…
Josev King
  • 319
  • 3
  • 4
  • 3
217
votes
5 answers

Really verbose way to test Git connection over SSH?

When using GIT, I have problems with using GIT over SSH, and since it works just fine both from work, and at home with a different modem, it's obviously my home modem that is acting up. I have no problems connecting over HTTP. So, I'm assuming it is…
IQAndreas
  • 3,298
217
votes
7 answers

What is the simplest Debian Packaging Guide?

I went to the Ubuntu wiki but got confused,there were too many ways. Please tell me an easy guide to Debian packaging.
akshatj
  • 13,386
216
votes
10 answers

If I build a package from source how can I uninstall or remove completely?

I used source code to build one package such as below: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --with-package-name="Myplugin" --with-package-origin="http://www.ubuntu.org/" --enable-gtk-doc…
user25165