Skip to main content

Posts

Showing posts with the label BASH

LPI E - Exam Review 3.7 - cron

Mastering the Cron-icles Conquer the Crystal Caverns Cron Jobs navigate: 3.6 << -- >> 3.8 Review of Concepts The cron questions cover scheduling cron jobs using cron expressions, editing crontab files with crontab -e, and understanding the syntax and structure of cron job entries. Critical thinking was required to solve complex scheduling scenarios. Users can expect questions on cron syntax, special characters, and creating effective cron job commands.   Brave adventurers and seekers of knowledge, I, the mighty Dragon of the Ice Caverns, stand before you today to guide you through the mysteries of cron. The crontab system file, the keeper of scheduled tasks, resides in the depths of the /etc directory, holding the power to automate essential jobs. Brace yourselves, for the next 10 questions that await you will test your understanding of cron's arcane wisdom and hold the key to transforming your destiny. Question 1: You, as a system administrator, want to schedule a...

LPI E - Exam Review 3.4 - gunzip

The Compression Challenges Navigating the Realm of Efficient Data Storage navigate: 3.3 << -- >> 3.5 Review of Concepts These multiple-choice questions and explanations should test your knowledge of the different compression tools and their respective parameters for compressing and decompressing files in the Linux Terminal.   In the depths of the cavern, where ancient knowledge resides, a dragon of unparalleled wisdom and power emerges. Its voice echoes through the vast chamber, resonating with stern authority, as it addresses the adventurer. "To proceed beyond this point, you must demonstrate your prowess in the realm of compression. It is not merely about compressing and decompressing files, but also about unraveling the secrets hidden within. The adventurer braces themselves, feeling the weight of the dragon's words and the immense challenge that lies ahead. Question 1: Your company needs to compress a large archive containing important text documents wh...

LPI E - Exam Review 3.3 - tar

File Compression and Archiving A Journey Through Tar and Gzip navigate: 3.2 << -- >> 3.4 Review of Concepts By understanding the principles of compression, archiving, and file management, one can navigate the realm of data optimization and storage with ease, harnessing the power of compression tools to enhance efficiency and manage data effectively.   Riddle 1 I am a widely used archiving tool on Linux systems. What am I? A) Tar B) Zip C) Gzip D) Xz Riddle 2 What does "tar" stand for? A) Tape archive B) Text and archive C) Tarball archive D) Terminal archiving Riddle 3 Which option is used to create a new archive file with tar? A) c B) t C) u D) v Riddle 4 How can you view the contents of a tar ball? A) t option B) v option C) u option D) x option Riddle 5 Which option can be used with tar to output the names of files it operates on? A) v option B) c option C) u option D) x option Riddle 6 Which compression algorithm is represented by the option "z" in...

LPI E - Exam Review 3.2 - zips

Unleashing Compression An Adventurer's Journey with Dragon Riddles navigate: 3.1 << -- >> 3.3 Review of Concepts By understanding the principles of compression, archiving, and file management, one can navigate the realm of data optimization and storage with ease, harnessing the power of compression tools to enhance efficiency and manage data effectively.    " Brave adventurer, you have come far, seeking knowledge and wisdom. Before you can face the challenges that lie ahead, you must prove your wit and unravel the mysteries I present. Listen closely to my ten riddles, for within them lies the path to your advancement. Riddle 1: I reduce the size of files, making them small, Replacing repetitive patterns is my call. Lossless or lossy, I come in different types, Optimizing storage, transferring data with hype. What am I? Riddle 2: I bundle up files and directories so neat, Creating backups, preserving data's feat. I am used for source code and data retention...

Dragons - Exam Review 3.1

Dragon's Den Conquering Challenges in the Linux Caverns navigate: 2.12 << -- >> 3.2 The Story Introduction Having successfully found the exit to the labyrinth, our intrepid adventurer's journey takes an unexpected turn as they step out into a cavern teeming with dragons. Each dragon presents a unique challenge in the form of riddles or quizzes, testing the adventurer's knowledge and skills in different domains of Linux command line mastery. In this blog post, we will explore the thrilling encounters with these dragons and delve into the topics of archiving files, searching and extracting data, and transforming commands into powerful scripts. Archiving Files on the Command Line In this treacherous domain, the adventurer encounters a wise dragon well-versed in the art of file compression and archiving. The dragon poses challenges related to the utilization of command line tools such as tar and gzip. Through understanding the intricacies of creating, extracting,...