Last active
January 15, 2020 13:32
-
-
Save cjthorpe/0571f2fa6eb5931d8e9539b4834f8dee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RAM Usage | |
ps aux | awk '{print $6/1024 " MB\t\t" $11}' | sort -rn | head -25 | |
# HISTIGNORE - Colon-separated list of exact commands to ignore storing of in BASH history. | |
HISTIGNORE="clear:bg:fg:cd:exit:date:w:* --help" | |
# Format, Mount drives in Linux (Ubuntu) | |
sudo mkfs.ext4 /dev/sdb | |
sudo mkdir /mnt/sdb | |
sudo mount /dev/sdb /mnt/sdb | |
Add the following to /etc/fstab to ensure it mounts automatically after a reboot: | |
/dev/sdb /mnt/sdb ext4 defaults 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment