Linux - How-Tos

From The TinkerNet Wiki
Jump to navigation Jump to search

SEARCH: live usb linux mint persistent

Maintenance

User Management

Networking

Automatically mounting directories on an as-needed basis... See Autofs

Services

Telnet and ftp services

FTP

How To Set Up Your FTP Server In Linux

Man: vsftpd.conf

Restart a service

sudo service FOOBAR restart

or

sudo systemctl restart FOOBAR.service

Where "FOOBAR" is the name of the service you want to restart...

Hardware Information

determine details about an install

Find out Distro Name:

cat /etc/issue

Using TimeShift

Software Updates & versions NOT from the repositories

  • HexChat
    • sudo add-apt-repository ppa:overcoder/hexchat
    • sudo apt-get update

how to format USB Flash Disk using terminal

  • First, you have to find out which device (/dev/sd??) your USB stick is. Therefore look at the output of

sudo fdisk -l

or

lsblk

  • After that unmount the device/partition (if necessary) by running

sudo umount /dev/sd??

Make sure you replaced ?? with the correct device/partition name from the previous output.

  • To format The partition as FAT32 use

mkdosfs -F 32 -I /dev/sd??

Again replace ?? with your respective letters.

Be careful that if you enter the wrong device name, you might also accidentally format your hard disk!

Dealing with Serial Ports

How to connect to a terminal to Serial-USB

How To Check and Use Serial Ports Under Linux

ESP-8266, Ubuntu, and 74880 baud

74880 baud - Redux

Finding the serial ports:

dmesg | grep tty

Make a Linux machine respond to a serial port:

sudo /sbin/agetty ttyS0

Make a Linux machine talk to a serial port:

sudo screen /dev/ttyS0 38400

or

sudo minicom --device /dev/ttyS0

Dealing with File Formats

How to remove an audio track from an mp4 video file?

Sound

OCR

Using Windows Applications

Interesting Experiments