update ripgrep installation, add swap file creation script

This commit is contained in:
arnaucube
2024-02-03 19:01:29 +01:00
parent 292bf2b2db
commit 3f99aae988
3 changed files with 41 additions and 3 deletions

14
swap-create.sh Normal file
View File

@@ -0,0 +1,14 @@
# create swap file
dd if=/dev/zero of=./swapfile bs=1GB count=40
# add permisions
chmod 600 ./swapfile
# format the swapfile
mkswap ./swapfile
# enable swap on swapfile
swapon ./swapfile
# check that it is enabled
swapon --show