Most Popular
1500 questions
100
votes
4 answers
Is it possible to stop .sudo_as_admin_successful being created?
Every time I execute a command with sudo, a file called .sudo_as_admin_successful is created in my home directory. As far as I can tell, this exists for the sole purpose of disabling this message that bash prints on startup:
To run a command as…
ash
- 2,207
100
votes
5 answers
How to remove nodejs from Ubuntu 16.04?
Steps to replicate:
Ubuntu 16.04 xenial (x86-64)
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
I want to uninstall nodejs and npm and have seen several posts which suggest this is the most common way:
sudo apt-get purge…
user1063287
- 2,255
100
votes
0 answers
How do I see which ports are open?
I am running a web server on a machine with Ubuntu 11.
Everything is accessible from the local network, but not from outside.
What can I do to check to make sure the appropriate ports are open?
I am relatively new to Ubuntu and server management, so…
CoderJK
- 1,129
100
votes
4 answers
How to execute a script in a different directory than the current one?
I tried executing a script with this command:
./home/user/scripts/someScript
but it doesn't work:
No such file or directory
Any ideas?
UAdapter
- 17,967
100
votes
11 answers
How can I copy/paste files via RDP in Kubuntu?
I recently installed the latest Kubuntu (x64) on my work machine as I am trying to migrate away from Windows. Unfortunately I use RDP very frequently to connect to customer's servers and need to be able to copy files across.
I have tried the…
Dai
- 1,101
100
votes
5 answers
What is the shortcut to move between two Terminator tabs?
When I open Terminator, I can move two Terminator in same tab using Ctrl + Tab.
How to move between two Terminator tabs?
Amila Sampath
- 1,121
100
votes
4 answers
command to check RAM slots in motherboard?
I have a Samsung NP300e5Z Core i5 laptop. I am using Ubuntu 14.04 in this laptop. My system RAM is 4GB and I want to increase it but I am not sure how many memory slots are available in my system. So, how to check
how many memory slots…
purna ram
- 1,233
- 3
- 11
- 9
100
votes
5 answers
How can I quickly copy a GPT partition scheme from one hard drive to another?
On a non GPT partition table I can do
sfdisk -d /dev/sda | sfdisk /dev/sdb.
But sfdisk doesn't support GPT partition tables. What can I use instead?
I'm looking for a one or two command solution, not just using GNU parted to output the partition…
Kris Harper
- 13,705
100
votes
9 answers
How can I play encrypted DVD movies?
My machine can't play encrypted DVDs on a fresh install. How do I add this capability? Another useful bit of information would be what programs are best for playing DVDs, once I'm able to do so. See the similar question here. Will I be able to…
eugenemarshall
- 3,213
100
votes
16 answers
How to create a bootable USB with multiple ISO images in it
What I want is to create a bootable pen drive that shows GRUB menu and I can select any of the several bootable systems from there to install/run. I have several ISO images that I want to install in the USB like Ubuntu, Fedora, System Rescue CD,…
Luis Alvarado
- 216,643
100
votes
8 answers
How to remove or delete single cron job using linux command?
I have created cron jobs for my site which is listed below and they are working fine. I print all cron job by using this PHP script:
$cronfiles=exec('crontab -l',$output);
echo "
"; print_r($output); Which outputs: [0] => 0 0 * * * wget php -q…
anumavu
- 1,001
100
votes
6 answers
How to install build-essential?
I am trying to install G++ compiler in Ubuntu 13.10. It told me I needed to install the build-essential package.
I have tried the below code
sudo apt-get update
sudo apt-get install build-essential
It gives me this error:
Reading package lists...…
Jaffer Sadhique
- 1,009
100
votes
9 answers
How can I open a .dmg file?
I've got a .dmg file, and I can't figure out how to open it. How can I open it?
jrg
- 61,707
100
votes
6 answers
How do I resume a release upgrade?
Yesterday I started the upgrade from [one version of Ubuntu to the next], but I interrupted it because it was taking too long. Now if I restart it, it doesn't proceed.
Is there any possibility to clean the mess it left when I interrupted it and make…
Dave
- 1,053
100
votes
4 answers
In virtualbox fullscreen mode, can I disable or move the popup menu bar?
I'm running XP in virtualbox cause I need Photoshop and Illustrator. It works great on my 5 year old laptop which is stunning, but there's a minor annoyance when I go fullscreen.
The menu bar is in the bottom middle, and it pops up over the content.…
joon
- 1,719