Why Can’t I Do This in Linux ?

I assume it is just as frustrating for a Linux user to use Windows as vice versa.

I am a Windows user who has to use Linux occasionally. I am no stranger to the command line. But there is so much stuff I just can’t remember, because I only need to use it once in a blue moon.

So, here is a list of command line tasks I wish I could remember.

Mounting Windows Shares

sudo apt-get install cifs-utils
sudo mount -t cifs //server.local/myshare /mnt/myshare -o user=billgates

Running a Live Ubuntu Distro

Installing packages can fail with an error “E: Unable to locate package”. Seems that the “universe” repository needs to be added:

sudo add-apt-repository universe

Install a .deb-File

sudo apt install ./name.deb

Create an Empty File and Make it Executable

touch file.sh
chmod u+x file.sh

Don’t forget to start the file with “#!/bin/bash”.

List Harddisks


Lists all block devices.


fsarchiver: Partition imaging

Leave a comment

Your email address will not be published. Required fields are marked *