Mounting a Windows Server network filesystem (cifs) on Linux

May 3, 2018
cifs linux

From time to time I need to mount a windows server network filesystem (cifs) on a linux device. This is the command line I typically use for interactive -

# mount -t cifs -o username=my_user_name,password=my_password --verbose //my_windows_server/my_share /mnt/my_mount_point

Where my_user_name, my_password, my_windows_server, my_share, and my_mount_point are replaced with the real values.  Obviously, there are security implications with embedding a command line like this in a script, and so other techniques to handle the username/password should be employed in that use-case.

Extract the size of a file from a bash script

May 26, 2018
linux stat bash

Sorting a list in lexographic order using bash

May 26, 2018
bash linux sort

Setting the timezone on AWS Linux AMI from command line

May 7, 2018
aws linux timezone