Skip to content

Instantly share code, notes, and snippets.

@RagdataAU Ragdata

Block or report user

Report or block Ragdata

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Ragdata
Ragdata / swap
Last active Nov 9, 2016
Shell script to help manage swap space - cp to /usr/bin and chmod +x
View swap
#!/bin/sh
CMD=$1
SIZE=$2
create()
{
if [ -z $SIZE ]; then
swapsize=1024
else
You can’t perform that action at this time.