TC341 Notes

Back to Notes

Notes for TC 341

Unix commands:
ls 	list all files and dirs in the current dir.
ls -l 	same as above but with details
pwd	presentg working dir
mkdir	make a new dir
rmdir	remove a dir
mv	move a file
chmod	used to switch permissions on a file
cp 	copy command
rm	remove file
cd	change dir
grep	search command


Micro-Emacs commands:
me	start micro-emacs
^x^c	exit me
^x^w	write the file to disk
^x^f	open a file
^g	cancel command
^x^n	change file name
^x^r	read file (overwrites buffer)
^x^i	insert a file at the cursor position
^x^s	save file under current name
^x^v	view file(prevent change)
esc<	move to top of file
esc>	move to end of file