Posts Tagged command line
📅 May 20, 2018
Do you need a program that will convert an ASCII code into a character?
How about converting a number represented as ASCII into its binary equivalent based upon the data type you specify?
Try ascii2binary. Available from the Ubuntu repository, ascii2binary can be used alone or in scripts to convert a decimal, octal, binary, or hexadecimal input into its ASCII character or convert a text file of numbers into a binary file of numbers.
📅 January 2, 2018
Do you find yourself opening a terminal for every new program or command-line based operation you want to perform?
How about opening a terminal to run a GUI program, such as VeraCrypt?
When multiple terminals are open simultaneously, they might make your desktop appear geeky (which is fun), but they can also clutter the desktop quickly. Is there a way to reduce clutter?
Terminal multiplexing is the process of switching among several open terminals (Bash sessions) in a single terminal to avoid the clutter.
One handy program is called tmux. tmux is full-featured program that runs…wait for it…in a terminal, and it allows you to open and manage multiple terminals within. The result? A single terminal that reduces desktop clutter.
📅 August 28, 2017
The Desktop Management Interface (DMI) is a vendor-neutral, standardized framework for managing and gathering information about a computer system.
Which memory slots are populated?
What is the BIOS revision number?
What ports are located on the motherboard?
What is the processor version?
Using a program called dmidecode, these questions and many, many other technical details can be retrieved and displayed at the command line without having to open your computer case and reading tiny print on labels or in poorly-translated multi-lingual manuals.
As long as your hardware supports the DMI protocol, which is almost all modern hardware these days, then you can view the information using dmidecode.
Do you need to know the configured clock speed of your RAM? dmidecode will report the speed without needing to reboot into BIOS. Sure, fancy GUI programs, such as hardinfo, report identical information, but sometimes you simply want to impress your inner geek with command-line goodness.
📅 August 24, 2017
Have you opened a terminal, such as RetroPie for the Raspberry Pi, and admired the RetroPie ASCII art logo adjacent to a brief system information listing?
Wouldn’t it be fun to do the same in a desktop Linux installation?
With a program called neofetch, you can view the ASCII art logo for your current distribution complete with a synopsis of system information.
📅 April 11, 2017
Are you curious to find out what colors your terminal supports?
The program colortest-python answers this question by displaying colors in a variety of ways.
📅 April 8, 2017
Bash arrays can be tricky, so here are a few hints to aid understanding.
📅 December 20, 2016
Are you pondering important life questions, such as, “What is the temperature and current frequency of my Core i7 CPU?”
“I have no idea what C0/C1/C3/C6/C7 states are, but I sure want to know how much time my CPU spends in them.”
“What is the stepping, model, and family info of my i7 CPU? Are we related in some way?”
Well, ponder no longer because the command line program i7z (a reporting tool for Intel i7/i5/i3 processors) will answer those questions for you in real time. And if that is not enough, information can be logged to a log file for serious analysis later.