Most Popular
1500 questions
568
votes
24 answers
How to show the transfer progress and speed when copying files with cp?
Otherwise, is there any alternative command line utility that can achieve this?
Olivier Lalonde
- 57,431
- 62
- 125
- 146
566
votes
6 answers
Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa?
I have installed Ubuntu subsystem on Windows 10 (after enabling feature in settings), but where is the Ubuntu file system root directory located in the drive?
July
- 5,763
- 3
- 10
- 5
565
votes
35 answers
Unity doesn't load, no Launcher, no Dash appears
When I login, nothing happens.
I am presented with my desktop wallpaper.
No Dash, no Launcher, nothing.
jrg
- 60,101
- 54
- 172
- 246
564
votes
3 answers
How do I retrieve the public key from a SSH private key?
A SSH private key as generated by ssh-keygen contains a public key part. How do I retrieve this public key from the private key? I've lost my public key and need to put the contents of this public key in the servers authorized_keys file and do not…
Lekensteyn
- 171,743
- 65
- 311
- 401
563
votes
12 answers
How to let `dpkg -i` install dependencies for me?
Say, I have foo-1.2.3.deb which depends on perl and python, however, running command:
dpkg -i ./foo-1.2.3.deb
won't install these dependencies. So I must apt-get install perl python by hand.
How to make dpkg -i install these dependencies for me…
Lenik
- 10,188
- 12
- 34
- 36
562
votes
9 answers
What is the difference between a hard link and a symbolic link?
As the title says, I would like to know the difference between a hard link and a soft link created by the command ln. The command man ln does provide information, but does not sufficiently answer my question.
Also, it would be nice if someone could…
ste_kwr
- 11,020
- 8
- 28
- 37
561
votes
13 answers
How do I install Guest Additions in a VirtualBox VM?
I've recently installed Ubuntu on Oracle's Virtualbox. Now I want to install the guest additions.
I started up my Ubuntu guest OS, clicked "Devices" and chose "Install Guest Additions". Nothing happened, and I don't see the CD icon on my…
snakile
- 6,043
- 4
- 16
- 12
560
votes
3 answers
How do I use variables in a sed command?
I tried the following code to replace QQ with ZZ, but it doesn't do what I want:
var1=QQ
sed -i 's/$var1/ZZ/g' $file
However, this code does what I want:
sed -i 's/QQ/ZZ/g' $file
How do I use variables in sed?
UAdapter
- 17,157
- 38
- 78
- 102
558
votes
2 answers
What is the difference between apt-get update and upgrade?
What is the difference between apt-get update and apt-get upgrade?
Which should I run first?
Do any of them automatically run the other?
The Student
- 11,786
- 27
- 61
- 94
551
votes
6 answers
How do I get a list of installed files from a package?
I want to know where I can find my installed application when I installed it on Ubuntu using package manager.
I installed RabbitMQ and ran locate rabbitmq which gave me following…
Anupam Gupta
- 5,633
- 3
- 8
- 6
546
votes
14 answers
How do I change the hostname without a restart?
I want to change the OS hostname but I do not want to restart.
I have edited /etc/hostname but it requires a restart to get implemented. How to avoid this?
Deepak Rajput
- 6,887
- 9
- 29
- 37
543
votes
10 answers
What are PPAs and how do I use them?
I keep reading about Personal Package Archives ('PPAs') and people answer questions with a link to a PPA. What's the best way to use these?
There are multiple valid answers for this question spanning over several versions of Ubuntu. For your…
Jorge Castro
- 70,934
- 124
- 466
- 653
540
votes
15 answers
How to prevent updating of a specific package?
Because of bug #693758 I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package.
How can this be achieved?
Ivan
- 55,987
- 65
- 150
- 212
538
votes
18 answers
How can I create a Windows bootable USB stick using Ubuntu?
I'd like to create a Windows bootable USB stick, but I don't have a Windows machine at the moment to do so. How can I achieve that using Ubuntu?
Zignd
- 10,774
- 12
- 36
- 62
538
votes
6 answers
How to see the command attached to a bash alias?
Suppose I have an alias in the bash shell. Is there a simple command to print out what command the alias will run?
Casebash
- 5,639
- 4
- 18
- 16