Linux Admin 101
Linux is an open source computer operating system that can be downloaded free of charge and used to run powerful tasks on a computer. It is also a remedy for Windows or MacOS. To know linux, you simply have to understand that everything in Linux is a file. Thus, to master linux, you need to learn how to manipulate files: editing, copying, moving files. Period. At the linux prompt (show sample), first let's discover directory structure. Main commands are PWD, and LS. Then you can cp and shit. The key for efficient navigation is tags and syntax, such as wildcards....
Finding and Copying to External Disks
- How do you find an external USB disk? Type sudo fdisk -l This lists disks. /dev/sdb1 showed up when i plugged in the drive.
- What is /dev/sdb1 ? A location?
- How to copy /home/marcin directory to a /dev/sdb1 device? First set a mount point, mount your external drive, then copy to it.
- What is the path of external disk? It needs to be mounted first - so it depends where it's mounted.
- What does it mean to mount a disk? When you 'mount' something you are placing access to the file system contained within onto your root file system structure.
- Is an external USB mounted autmatically in command line? Sometimes. If not, mount it by creating a mount point and
- What is a file system? It's a structure that computer uses to organize data.
- What is FAT32? A file formal up to 32 GB, runs on all systems.
- How do you mount? First create a mount point by sudo mkdir /media/external, and then mount by sudo mount -t ntfs-3g /dev/sdb1 /media/external
- How do you copy? sudo cp -r /~ /media/flash where /~ stands for /home/yourusername - in other words - sudo cp -r /home/yourusername/* /media/flash