File Compression and Archiving with Gzip, Zip, and Tar in Linux

Compressing with Gzip and Zip

Compressed files use less disk space and download faster than large, uncompressed files. You can compress Linux files with the open-source compression tool Gzip or with Zip, which is recognized by most operating systems.

By convention, compressed files are given the extension .gz. The command Gzip creates a compressed file ending with .gz; Gunzip extracts the compressed files and removes the .gz file.

To compress a file, at a shell prompt, type the following command:

gzip filename.ext

Continue reading “File Compression and Archiving with Gzip, Zip, and Tar in Linux”

Advertisements

simpel java script hand-out

<html>

<body>

<script type=”text/javascript”>

document.write(“Hello World!”);

</script>

</body>

</html>

HELLO WORLD

<html>

<body>

<script type=”text/javascript”>

document.write(“<h1>This is a header</h1>”);

</script>

</body>

</html>

THIS IS HEADER

<html>

<head>

</head>

<body>

<script type=”text/javascript”>

document.write(“This message is written by JavaScript”);

</script>

</body>

</html>

Continue reading “simpel java script hand-out”

Install UNetbootin in ubuntu

UNetbootin (Universal Netboot Installer) is a cross-platform utility that can create live USB systems and can load a variety of system utilities or install various Linux distributions and other operating systems without a CD.

USB Install

This installation mode creates bootable USB flash drives and bootable USB Hard Disk Drives; it is a Live USB creator.

Multiple installs on the same device are not supported.

It is worth noting that UNetbootin’s meta-data is very out of date. For example, the latest version of Linux Mint offered in the drop-down menu is version 10, whilst the latest official release is version 14 (at time of writing, February 2013). However, UNetbootin can still be used to write a bootable Mint 14 ISO file onto a USB device, if the user first downloads the ISO file manually.

How to install UNetbootin in Ubuntu :

Using these few commands, downloading and running it will work.

sudo add-apt-repository ppa:gezakovacs/ppa
sudo apt-ge.t update
sudo apt-get install unetbootin

have a nice try