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
#!/bin/bash | |
# | |
# Highligh Nginx config file in Vim | |
# Download syntax highlight | |
mkdir -p ~/.vim/syntax/ | |
wget http://www.vim.org/scripts/download_script.php?src_id=19394 -O ~/.vim/syntax/nginx.vim | |
# Set location of Nginx config file | |
cat > ~/.vim/filetype.vim <<EOF |
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
# GRUB loading. | |
# Welcome to GRUB! | |
# | |
# error: file `/boot/grub/i386-pc/normal.mod` not found. | |
# Entering rescue mode... | |
grub rescue> ls | |
hd(0) (hd0,msdos1) | |
grub rescue> set | |
cmdpath=(hd0) | |
prefix=(hd0,msdos1)/boot/grub |