Showing posts with label Console. Show all posts
Showing posts with label Console. Show all posts

Sunday, May 16, 2021

Fix corrupted console font on Kali Linux 2021.1

Fix corrupted console font on Kali Linux 2021.1
I have installed Kali Linux on a VM with 512 MB memory and 2 vCPU using network installer. The installation was uneventful but my first login shows the following:
It is not pretty, so to fix it do:
$: sudo dpkg-reconfigure console-setup

Then select:

  • UTF-8
  • Guess optimal character set
  • Terminus
  • 8x16

Select different font type as appropriate.

It should now look much better

Keywords: Kali, Linux, Console, garbled, corrupted, text

Sunday, April 14, 2013

Delete files in a directory that is older than specified

Delete all files in C:\temp which was older than 04/14/2013.
c:\temp> forfiles /D -04/13/2013 -c "cmd /c rmdir /s /q @file"

Sunday, September 21, 2008

Piping pslist or tslist to findstr

If you are are a console junkie and you frequently play around or look around what is running in your system you may find that using TaskManager can be time consuming and limiting. So I looked around and found a way to use pslist (from Windows Sysinternals) or tslist ( a built in command line ).

The command below means to show information about a process running on "remote_machine" with process name of python.exe
D:\><path_to_pslist>pslist.exe \\remote_machine | findstr python.exe

This one is using the built in tslist command. Same as before, we want to query for a process named python.exe on "remote_machine."
D:\> tslist /S remote_machine | findstr python

~ts

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...