NOTE TO SELF: bash – shift & colors
Interesting way to use colors (an easy way) in bash. And a cool way to use shift. This is from a script that I found online that install GNS3 and vpcs andRead More…
Interesting way to use colors (an easy way) in bash. And a cool way to use shift. This is from a script that I found online that install GNS3 and vpcs andRead More…
UPDATE: I have another article on this topic called PASTE primer. Which covers the simplest way to join any number of lines without AWK or SED which is much easier. …Joining Lines… ImagineRead More…
Here I show you how to setup a MOTD to show some text upon any type of login. With the extra benefit of showing system information upon ssh connections (and loggin sshRead More…
Sqlite3 pretty output ################# Lets make pretty sqlite output, or else it will look like below unpretty. NOTE: here pretty means, how cool something looks and how easy it is to readRead More…
Have to get through with the disclaimer before continuing: Do not void your warranty, please understand that SSH access can void your warranty. Im not responsible for any damages that might occur.Read More…
There are 2 different problems here, and each has different mechanics and different fixes. #1. when the volume is actually full and reports 100% usage (in df) – error message below in redRead More…
How to view user information on smb: # pdbedit -vL All of it is stored in files also explained in this article https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/tdb.html NOTE: Changing password of a user using smbpasswd, affectsRead More…
HOW TO CLONE PARTITION TABLES (GPT & MBR) ########################################## First read this on how to create partitions with sgdisk (GPT) and sfdisk (MBR): Creating partitions with sfdisk or sgdisk Cloning partition tables, first makeRead More…
All info here: https://github.com/infotinks/bsinfo
NFS Relative Mounts Help with this article: http://www.bermweb.net/?p=41 And also: http://lukas.zapletalovi.com/2011/05/export-for-both-nfs-v4-and-v3-clients.html NFSv3 and NFSv4 have a difference between them that NFSv4 supports exports that are virtualized and therefore can be relativized. NFSv3Read More…