Most Popular
1500 questions
135
votes
12 answers
Mount a VirtualBox drive image (vdi)?
Is it possible to mount a VirtualBox drive image (.vdi) so the contents can be viewed in Nautilus etc.?
I have a windows 2000 .vdi which won't boot ("inaccessible boot device") after upgrading from VirtualBox 2.x to 3.1.6. I believe the IDE drive…
matt wilkie
- 2,250
135
votes
1 answer
Cannot echo "hello" > x.txt even with sudo?
Possible Duplicate:
sudo & redirect output
I'm trying to create a file in /var/www, but even with sudo this fails:
user@debVirtual:/var/www$ sudo echo "hello" > f.txt
-bash: f.txt: Permission denied
When I use sudo nano, I can save something to…
Patryk
- 9,416
134
votes
2 answers
Exclude packages from `apt-get upgrade`
Possible Duplicate:
How to prevent updating of a specific package?
Keep the Ubuntu package version I'm using now
Is it possible to upgrade all packages except a given package? Is there something like apt-get upgrade --exclude package_to_exclude?
Olivier Lalonde
- 60,581
134
votes
7 answers
how do you copy a directory and its contents to a new location under a new directory name?
I'm new to the Linux command line and am trying to get to grips with the copy command at the moment.
Can anyone please tell me if it's possible to copy a directory with its subdirectories and associated files to a new directory with a new name, e.g.…
Edmuntu
- 1,353
134
votes
4 answers
I want to copy a directory from one place to another via the command line
I want to copy a directory from one place to another folder.
sudo cp is the command, but after that what should I type? The destination or source first?
pradeep
- 1,341
- 2
- 9
- 3
134
votes
10 answers
16.04 upgrade broke mysql-server
My overall upgrade went well, but I am left with a critically lingering issue of mysql-server not being able to install itself, and nothing I am trying gets it to work.
This is the error I see when trying to install/reinstall it:
Setting up…
TheGremlyn
- 2,774
134
votes
7 answers
What's the difference between package managers?
What are the differences between apt-get, aptitude, and synaptic, and which one is the recommended choice for normal day-to-day package management?
This is a basic question, but I think it'd be good information to have on the site, and besides I am…
David Z
- 10,945
134
votes
6 answers
apt-get update only for a specific repository
When I add a PPA and I want to install some of its content, it is quite annoying to re-update all my apt list using apt-get update.
Is it instead possible to only sync the content of a given repository?
Treviño
- 2,604
134
votes
4 answers
Changing from user to superuser
How do I change from user to superuser (root)? What command do I use in the Terminal to switch to root? I have tried --help but I get lost with all the listed help. I'm looking for a recent download/install so I can use it.
pcgeek
- 1,341
134
votes
5 answers
How to enable exFAT in Ubuntu 14.04
I just installed Ubuntu 14.04 and I can't mount my exFAT HDD.
I get the following error:
Unable to access “SeagateHDD”
Error mounting /dev/sdb1 at /media/me/SeagateHDD: Command-line `mount -t "exfat" -o…
Iuliu
- 1,473
134
votes
6 answers
What does "Ctrl + Alt + F12" do?
I accidentally pressed Ctrl+Alt+F12 and my display turned to black... I then had to make a reboot.. What did it do to my system? Also what does Alt+ F8 to F10 do?
user146550
- 1,341
- 2
- 9
- 3
134
votes
6 answers
How to defrag an ext4 filesystem
I don't want any answer saying that there's no need, please!
user108056
134
votes
3 answers
How do I find the reverse dependency of a package?
I was wondering if it was possible to check what package another package is a dependency of.
For example, jetty is mysteriously installed and running on my system and I'd like to check whether it is a dependency of something else.
Magnus
- 1,443
133
votes
4 answers
What is the meaning of exit 0, exit 1, and exit 2 in a bash script?
I'm doing some practice exercises.
Write a script that will be given a month number as the argument and will translate this number into a month name. The result will be printed to stdout.
I made a solution:
# Test for number of argument
if [ "$#"…
andrej benedičič
- 1,539
133
votes
9 answers
How do I remove 'Places' entries from the Nautilus sidebar?
I want to remove Videos and Music from the left side panel. But, I can't seem to find the option to do so. How do you do that?
jokerdino
- 41,732