Christina's World

Unix Terminal

Change *.ps to *.eps:

ls *.ps | awk '{print("mv "$1" "$1)}' | sed 's/ps/eps/2'

ls *.ps | awk '{print("mv "$1" "$1)}' | sed 's/ps/eps/2' | /bin/sh

 

Change all file info in a folder. Change all 'date modified' to the current day and time:

find . -exec touch -t 201411142300 {} \;

 

Learning Raspberry Pi

Lyx\LATEX insert degrees symbol

1. can define command as: \newcommand{\degree}{$^{\circ}$}

and then just use tex code \degree when you want a degree symbol

 

2. use tex code $^\circ$

ie $360^\circ$ gives output 360°