Posts Tagged command line
📅 December 14, 2016
Steganography is the practice (or art) of hiding secret messages in plain view.
Take an image file of a flower, for example. Opening the file shows a flower. Whoopie. However, there might be a hidden message encoded inside the bits and bytes of the image data that is not visible unless certain software is used to decode it.
The same can apply to text files. You could write an innocent readme.txt file that looks like any other text file of instructions when opened normally. With steganography, you could encode a secret message within readme.txt that includes game cheat codes, secret contact information, a cookie recipe, ASCII art, or whatever else you wish to convey to your accomplice who receives the file.
stegsnow is a fun command line program that encodes secret messages in ASCII text files. Use stegsnow to encode a text file with a hidden message, and then use stegsnow again to extract the message from the file. The file’s text contents are not altered, so the file reads the same as it did before encoding. Anyone unaware would open the text file and see the innocent text contents in a standard text editor, but “those who know” would run the file with stegsnow to see a completely different message.
📅 December 7, 2016
Seeking fun with random identities? Need a fake name and address but cannot seem to think of anything?
rig is a command line program that generates simple names and addresses for use with registration where you might need a fake name in order to avoid spam or for whatever reason…like just plain fun.
The ASCII art jugglemaster (aajm) program shows a man juggling balls in a terminal using ASCII art.
📅 November 19, 2016
CAVEZ of PHEAR is an arcade-style game that runs inside a terminal. The gameplay is similar to Boulder Dash — actually, it is a Boulder Dash clone — where you must collect all diamonds from a maze while avoiding a squishy demise if excavating beneath boulders.
The best part? The game is made entirely in ASCII!
📅 October 24, 2016
The timezone setting (tzdata) determines how time is displayed on a Linux system. This is specified using a location string, and we can change this string to set a system’s timezone to any timezone on the planet.
📅 April 14, 2016
What? You added a new user to your Linux system from the terminal and his login does not appear on the login screen? No default directories in his home? He cannot login?
If you have read about command-line user management or studied for Linux+ certification, you no doubt have learned the “official” way to add a new user to a system with useradd.
That might be fine for a certification test, but the real world differs. Various distributions might tweak the process to make it…well…different from what the books mention.
One such case is Linux Mint Cinnamon. Invoking useradd according to the book will not simply add a new user and away you go. There are a few extra steps involved to produce results comparable to the Users and Groups GUI dialog of Linux Mint.
Here are a few ideas that show how to create a new user from a terminal in Linux Mint 17.3 Cinnamon. This way, you can take the ideas and script them for multi-user creation.