<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.fortier-family.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Warnaud&#039;s Wiki - software:cli</title>
        <description></description>
        <link>https://wiki.fortier-family.com/</link>
        <lastBuildDate>Sat, 09 May 2026 12:55:17 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://wiki.fortier-family.com/_media/wiki/logo.png</url>
            <title>Warnaud&#039;s Wiki</title>
            <link>https://wiki.fortier-family.com/</link>
        </image>
        <item>
            <title>bitlbee</title>
            <link>https://wiki.fortier-family.com/software/cli/bitlbee</link>
            <description>Recently testing.bitlbee.org was down for more than a day so I decided to create my own Bitlbee gateway

Install

Well, nothing special.

Configuration

Server config

All of this takes place in /etc/bitlbee/bitlbee.conf


RunMode = Daemon

User = bitlbee

DaemonInterface = 0.0.0.0
DaemonPort = 6667

AuthMode = Open                                                              
#AuthMode = Registered</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:46 +0000</pubDate>
        </item>
        <item>
            <title>ffmpeg</title>
            <link>https://wiki.fortier-family.com/software/cli/ffmpeg</link>
            <description>FFmpeg

Convert

webm to mp4

Since Wix doesn&#039;t support Webm...

ffmpeg -i input.webm -c:v libx264 -crf 18 -c:a aac -b:a 192k output.mp4

	*  Audio sync problems: Use -async 1 parameter in FFmpeg
	*  Large file sizes: Increase CRF value (lower quality) or reduce bitrate</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 07 Jul 2025 04:26:01 +0000</pubDate>
        </item>
        <item>
            <title>git</title>
            <link>https://wiki.fortier-family.com/software/cli/git</link>
            <description>Github

set url and ssh keys to push using ssh


ssh-keygen -t rsa -C &quot;your_email@example.com&quot;
cat ~/.ssh/id_rsa.pub


Copy the content in the SSH keys of your Github profile

Test:

 ssh -T git@github.com

push changes

in your local copy of the repository:</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:45 +0000</pubDate>
        </item>
        <item>
            <title>ls</title>
            <link>https://wiki.fortier-family.com/software/cli/ls</link>
            <description>*  lsblk to list your hardware 
lsblk -o NAME,KNAME,MAJ:MIN,FSTYPE,LABEL,RO,RM,MODEL,SIZE,OWNER,GROUP,MODE,SCHED,MOUNTPOINT</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:46 +0000</pubDate>
        </item>
        <item>
            <title>ranger</title>
            <link>https://wiki.fortier-family.com/software/cli/ranger</link>
            <description>Installation

Main program

You need to install ranger through your package manager or via the source

Dependencies

You can install the following software:

	*  python-chardet: in case of encoding detection problems
	*  sudo: to use the “run as root</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:46 +0000</pubDate>
        </item>
        <item>
            <title>sar</title>
            <link>https://wiki.fortier-family.com/software/cli/sar</link>
            <description>Ultimate tool for monitoring, SAR is available in sysstat package.

Some tips I use:

	*  Convert from binary to text (to import on kSar for example) 
/usr/bin/env LC_TIME=POSIX sar -A -f saXX &gt; saXX.txt

 :!: binary format is not supported anymore… you will need an old system/VM to do so.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:46 +0000</pubDate>
        </item>
        <item>
            <title>screen</title>
            <link>https://wiki.fortier-family.com/software/cli/screen</link>
            <description>*  Share a screen session: 
in one terminal 
 screen -S SharedSession 

 in another terminal 

 screen -x SharedSession 

 :!: Require same user.
See &lt;https://www.howtoforge.com/sharing-terminal-sessions-with-tmux-and-screen&gt; for more details and tmux examples

	*  Logging: 
To save everything that is in your screen session, at the beginning:</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 07 Jul 2025 05:11:11 +0000</pubDate>
        </item>
        <item>
            <title>start</title>
            <link>https://wiki.fortier-family.com/software/cli/start</link>
            <description>Usefull tools!

	*  SAR
	*  Screen
	*  Taskwarrior
	*  Bitlbee
	*  ZNC
	*  ls and other ls*
	*  The Ranger FileManager</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:48 +0000</pubDate>
        </item>
        <item>
            <title>taskwarrior</title>
            <link>https://wiki.fortier-family.com/software/cli/taskwarrior</link>
            <description>I use (and abuse) TaskWarrior and Taskopen

Some examples of use:

	*  Adding a task
task add ExampleName

	*  Display the list of tasks
task

 Output 

ID Age Project             Tag    Recur Description                    Urg 
 3 7s                                   ExampleName                       0</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:47 +0000</pubDate>
        </item>
        <item>
            <title>tools</title>
            <link>https://wiki.fortier-family.com/software/cli/tools</link>
            <description>Awesometools

btop

replacing htop/top

fuzzy finder

find everything

TL;DR;

mini man tool

Referencce; &lt;https://www.youtube.com/watch?v=ghWECXWi9kU&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 13 Nov 2023 10:31:10 +0000</pubDate>
        </item>
        <item>
            <title>uefi</title>
            <link>https://wiki.fortier-family.com/software/cli/uefi</link>
            <description>INTRO

I dislike UEFI, but it clearly boots faster OSes that uses it... One of the crap left behind are entries in the “BIOS” if you install different distributions

Cleaning

Efibootmgr

As root or sudoer

efibootmgr

lists all entries
Remove one with</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:13:34 +0000</pubDate>
        </item>
        <item>
            <title>znc</title>
            <link>https://wiki.fortier-family.com/software/cli/znc</link>
            <description>Setup of the ZNC bouncer

Install

Nothing special here, use your package manager

Configuration

First time

Log as your user and launch 

znc --makeconf

select the port

[ ?? ] What port would you like ZNC to listen on? (1025 to 65535): 65535

[ ?? ] Would you like ZNC to listen using SSL? (yes/no) [no]: yes
[ ** ] Unable to locate pem file: [/home/warnaud/.znc/znc.pem]
[ ?? ] Would you like to create a new pem file now? (yes/no) [yes]: 
[ ok ] Writing Pem file [/home/warnaud/.znc/znc.pem]...</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:47 +0000</pubDate>
        </item>
    </channel>
</rss>
