Tips and Tricks

Useful tips

Using ZIP and TAR files

Under Linux, command line tools are 'unzip' and 'tar'. Use Winzip under Windows for either format. On a Linux/KDE desktop, you can also right-click to obtain a number of options. You can choose "Actions -> Extract Here" to extract both ZIP and TAR files

unzip usage

To view the contents of a ZIP archive, type
	unzip -v archive.zip
To extract the contents of a ZIP archive, type
	unzip archive.zip

tar: usage

To view the contents of a TAR archive, type
	tar tvf archive.tar
To extract the contents of a TAR archive, type
	tar xvf archive.tar
A TAR archive can also be compressed, in which case it will have either a '.tar.gz' or a '.tgz' extension. To manipulate such a compressed TAR archive, simply add the letter 'z' to each option above, f.i.
	tar tzvf archive.tar.gz

Differences between operating systems

OS Linux/ia64 Linux/i386 Windows DOS
Rename file mv file1 file2 mv file1 file2 (use GUI) ren file1 file2
Copy file
cp file1 file2 cp file1 file2 (use GUI) cp file1 file2
Editors Kate, Emacs, Vi same plus others Textpad, Wordpad, others ??
Run programs ./program ./program (double-click) ./program.exe
Run scripts ./script or ./script.sh ./script or ./script.sh (double-click) ./script.bat

Valid HTML 4.01!