Most Popular

1500 questions
149
votes
3 answers

How do I create a script file for terminal commands?

In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I do this in Ubuntu? I'm sure this is a duplicate,…
Seth
  • 59,332
149
votes
5 answers

What is the equivalent of the "tracert" DOS command?

tracert is a command in MS-DOS command prompt to trace the route to an IP Address. Is there any command in the Gnome Terminal equivalent to this?
Vipin Verma
  • 5,524
  • 15
  • 45
  • 64
149
votes
9 answers

How to change the default font size of XTerm?

XTerm font is very small. How can I set it larger?
Sudo
  • 1,493
149
votes
9 answers

How do I connect to a WPA wifi network using the command line?

So basically, I'd like to use iwconfig to connect to my wifi network when I'm not inside X. But I just don't see a way to do it in the man page. Any idea?
Ken Kinder
  • 4,250
149
votes
10 answers

Error while trying to upgrade from Ubuntu 18.04 to 18.10: "Please install all available updates for your release before upgrading."

On a Lenovo laptop, I want to upgrade from Ubuntu 18.04 to Ubuntu 18.10 (budgie). When I select upgrade on the update manager, the dialog box disappears and nothing happens. The upgrade doesn't start. Note- I went through the same procedure this…
dupont
  • 2,047
148
votes
6 answers

Setting PATH variable in /etc/environment vs .profile

Where is the preferred place to set the PATH envvar? ~/.profile or /etc/environment? What is the case when PATH is set in both places? Is the end result a concatenation of both values set in those two places?
pkaramol
  • 2,291
148
votes
3 answers

What does it mean that a package is "set to manually installed?"

When packages are already installed and I run an apt-get install , sometimes it will print a line is set to manually installed. What does that mean?
codegoalie
  • 1,583
148
votes
14 answers

Cannot set LC_CTYPE to default locale: No such file or directory

I have the exact question as this but there's no solution. I tried but it doesn't work How do I fix my locale issue? $ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No…
user390493
148
votes
4 answers

Progress bar for scp command

Is there any way to display a progress bar while copying from server to local (or vice versa) using scp?
Abdul Shajin
  • 1,855
148
votes
4 answers

What's the difference between the Server version and the Desktop version?

What's the difference between the Server version of Ubuntu and the Desktop version?
oneat
  • 1,610
148
votes
4 answers

Cannot install Ubuntu in VirtualBox due to "this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot" error

I was trying to install Ubuntu 12.04 in VirtualBox 4.2.12r84980. I see this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot But I am using a 64 bit Windows 8, and trying same .iso for trying Ubuntu. Then what is the…
aluph
  • 1,481
  • 2
  • 9
  • 3
148
votes
4 answers

What exactly does `update-alternatives` do?

What is the command update-alternatives used for? Take this example: sudo update-alternatives --install /usr/bin/java java /usr/local/java/jre1.7.0_09/bin/java 1 What does it do? How is it different from adding jdk to the path? Let's say that I…
148
votes
1 answer

How do I extract a specific file from a tar archive?

Is it possible to restore a single file from the .tar backup? I don't want to restore total backup. I just want to restore one single file from the backup.
Raja G
  • 105,327
  • 107
  • 262
  • 331
148
votes
6 answers

How to get my software into Ubuntu?

As a developer of free software, I want to get my application into Ubuntu. Should I provide a source tarball and ask for packaging? Or should I create a package myself? Should I target Ubuntu directly, or should I try to get into Debian and then…
147
votes
6 answers

Can't Mount NTFS drive "The disk contains an unclean file system"

I am getting an error when I try to access my NTFS drive from ubuntu. Unable to access “My Drive” Error mounting /dev/sda6 at /media/ubuntu/Media Center: Command-line `mount -t "ntfs" -o…
rolindroy
  • 1,581
  • 2
  • 10
  • 6