Unix is an operating system that uses a command-line interface. A free and widely popular version called Linux uses the same commands as Unix. Both operating systems use shell scripts, or scripts written for a command-line interpreter, to run applications and programs. When using Unix, you will need to know the particular commands and switches that run applications on the operating system. Performing tasks like unzipping multiple files is less intuitive than in a graphical operating system, so knowing the particular techniques to do so can be very useful.
- Skill level:
Log in as a root user.
Install the "zip" program by typing "# apt-get install zip" into the command prompt and pressing "Enter."
Install the unzip program by typing "# apt-get install unzip" into the prompt and pressing "Enter."
Type "$ unzip '*.zip'" into the command prompt.
Press "Enter." Unix will unzip all the files in the directory that have a .zip extension.
Type "$ for z in *.zip; do unzip $z; done" into the command prompt.
Press "Enter." Unix will unzip all of the zipped files in the directory.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for