Saturday, December 10, 2011

Linux Permissions on External Disks

When using Linux with external disks, sometimes you may find that you do not have permission to read the disk.

To gain permission to access a directory and its files, you can use the command

sudo chown -R username: file_path_of_directory

where username is your username, and file_path_of_directory is the file path of your directory at its mount point, usually something like /media/diskname (where diskname is the name or label of the disk).

Monday, December 5, 2011

How to Find Your Linux Kernel Version from the Command Line

A handy way of finding out your current Linux kernel version (i.e., your current Linux operating system release number) from the command line is to use the command uname -r.