Difference between revisions of "Linux - How-Tos"

From The TinkerNet Wiki
Jump to navigation Jump to search
(Created page with " '''SEARCH:''' [https://www.google.com/search?q=live%20usb%20linux%20mint%20persistent&ved=0ahUKEwjm37rbiancAhWK0YMKHW6kAUoQsKwBCDsoADAB&biw=1260&bih=656 live usb linux mint p...")
 
Line 2: Line 2:
 
'''SEARCH:''' [https://www.google.com/search?q=live%20usb%20linux%20mint%20persistent&ved=0ahUKEwjm37rbiancAhWK0YMKHW6kAUoQsKwBCDsoADAB&biw=1260&bih=656 live usb linux mint persistent]
 
'''SEARCH:''' [https://www.google.com/search?q=live%20usb%20linux%20mint%20persistent&ved=0ahUKEwjm37rbiancAhWK0YMKHW6kAUoQsKwBCDsoADAB&biw=1260&bih=656 live usb linux mint persistent]
  
= Maintenance =
+
=Maintenance=
  
== User Management ==
+
==User Management==
  
* [https://askubuntu.com/questions/25633/how-to-migrate-user-settings-and-data-to-new-machine How to migrate user settings and data to new machine?]
+
*[https://askubuntu.com/questions/25633/how-to-migrate-user-settings-and-data-to-new-machine How to migrate user settings and data to new machine?]
  
== Networking ==
+
==Networking==
  
 
Automatically mounting directories on an as-needed basis... See [https://help.ubuntu.com/community/Autofs Autofs]
 
Automatically mounting directories on an as-needed basis... See [https://help.ubuntu.com/community/Autofs Autofs]
  
== Services ==
+
==Services==
  
 
[https://forums.linuxmint.com/viewtopic.php?t=216097#p1130239 Telnet and ftp services]
 
[https://forums.linuxmint.com/viewtopic.php?t=216097#p1130239 Telnet and ftp services]
  
=== FTP ===
+
===FTP===
  
 
[https://itsfoss.com/set-ftp-server-linux/ How To Set Up Your FTP Server In Linux]
 
[https://itsfoss.com/set-ftp-server-linux/ How To Set Up Your FTP Server In Linux]
Line 22: Line 22:
 
[https://security.appspot.com/vsftpd/vsftpd_conf.html Man: vsftpd.conf]
 
[https://security.appspot.com/vsftpd/vsftpd_conf.html Man: vsftpd.conf]
  
=== Restart a service ===
+
===Restart a service===
  
 
<code>sudo service FOOBAR restart</code>
 
<code>sudo service FOOBAR restart</code>
Line 32: Line 32:
 
Where "FOOBAR" is the name of the service you want to restart...
 
Where "FOOBAR" is the name of the service you want to restart...
  
== Hardware Information ==
+
==Hardware Information==
  
* [http://www.binarytides.com/linux-commands-hardware-info/ 16 commands to check hardware information on Linux]
+
*[http://www.binarytides.com/linux-commands-hardware-info/ 16 commands to check hardware information on Linux]
* [http://www.tecmint.com/commands-to-collect-system-and-hardware-information-in-linux/ 10 Useful Commands to Collect System and Hardware Information in Linux]
+
*[http://www.tecmint.com/commands-to-collect-system-and-hardware-information-in-linux/ 10 Useful Commands to Collect System and Hardware Information in Linux]
* [https://www.maketecheasier.com/check-hardware-information-linux/ How to Check Hardware Information on Linux Using Command Line]
+
*[https://www.maketecheasier.com/check-hardware-information-linux/ How to Check Hardware Information on Linux Using Command Line]
  
== determine details about an install ==
+
==determine details about an install==
  
 
Find out Distro Name:
 
Find out Distro Name:
Line 44: Line 44:
 
<code>cat /etc/issue</code>
 
<code>cat /etc/issue</code>
  
== Using TimeShift ==
+
==Using TimeShift==
  
* [https://linuxhint.com/timeshift_linux_mint_19_usb/ A fairly good tutorial]
+
*[https://linuxhint.com/timeshift_linux_mint_19_usb/ A fairly good tutorial]
  
= Software Updates & versions NOT from the repositories =
+
=Software Updates & versions NOT from the repositories=
  
* HexChat
+
*HexChat
** <code>sudo add-apt-repository ppa:overcoder/hexchat</code>
+
**<code>sudo add-apt-repository ppa:overcoder/hexchat</code>
** <code>sudo apt-get update</code>
+
**<code>sudo apt-get update</code>
  
= how to format USB Flash Disk using terminal =
+
=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
+
*First, you have to find out which device (/dev/sd??) your USB stick is. Therefore look at the output of
  
 
<code>sudo fdisk -l</code>
 
<code>sudo fdisk -l</code>
Line 78: Line 78:
 
'''Be careful that if you enter the wrong device name, you might also accidentally format your hard disk!'''
 
'''Be careful that if you enter the wrong device name, you might also accidentally format your hard disk!'''
  
= Dealing with Serial Ports =
+
=Dealing with Serial Ports=
  
 
[http://stackoverflow.com/questions/5347962/how-to-connect-to-a-terminal-to-serial-usb-device-on-ubuntu-10-10 How to connect to a terminal to Serial-USB]
 
[http://stackoverflow.com/questions/5347962/how-to-connect-to-a-terminal-to-serial-usb-device-on-ubuntu-10-10 How to connect to a terminal to Serial-USB]
  
 
[http://www.cyberciti.biz/faq/find-out-linux-serial-ports-with-setserial/ How To Check and Use Serial Ports Under Linux]
 
[http://www.cyberciti.biz/faq/find-out-linux-serial-ports-with-setserial/ How To Check and Use Serial Ports Under Linux]
 +
 +
[http://sensornodeinfo.rockingdlabs.com/blog/2016/01/19/baud74880/ ESP-8266, Ubuntu, and 74880 baud]
  
 
Finding the serial ports:
 
Finding the serial ports:
Line 100: Line 102:
 
<code>sudo minicom --device /dev/ttyS0</code>
 
<code>sudo minicom --device /dev/ttyS0</code>
  
= Dealing with File Formats =
+
=Dealing with File Formats=
  
* [http://dailytechnologiesupdate.blogspot.ca/2011/11/converting-dmg-to-iso-file-in-ubuntu.html Converting .dmg to .iso file]
+
*[http://dailytechnologiesupdate.blogspot.ca/2011/11/converting-dmg-to-iso-file-in-ubuntu.html Converting .dmg to .iso file]
* [https://askubuntu.com/a/1021427 Open and convert CHM documents]
+
*[https://askubuntu.com/a/1021427 Open and convert CHM documents]
* [https://www.tecmint.com/how-to-open-extract-and-create-rar-files-in-linux/ How to Open, Extract and Create RAR Files in Linux]
+
*[https://www.tecmint.com/how-to-open-extract-and-create-rar-files-in-linux/ How to Open, Extract and Create RAR Files in Linux]
  
= How to remove an audio track from an mp4 video file? =
+
=How to remove an audio track from an mp4 video file?=
  
* [https://unix.stackexchange.com/questions/6402/how-to-remove-an-audio-track-from-an-mp4-video-file stackexchange]
+
*[https://unix.stackexchange.com/questions/6402/how-to-remove-an-audio-track-from-an-mp4-video-file stackexchange]
  
= Sound =
+
=Sound=
  
* [https://sfxpt.wordpress.com/2015/02/02/how-to-play-midi-files-under-ubuntu-linux/ How to play midi files under Ubuntu Linux]
+
*[https://sfxpt.wordpress.com/2015/02/02/how-to-play-midi-files-under-ubuntu-linux/ How to play midi files under Ubuntu Linux]
  
= OCR =
+
=OCR=
  
* [https://www.youtube.com/watch?v=6_aqncTWgkk Image to Text - OCR - Tesseract - Linux - Tutorial]
+
*[https://www.youtube.com/watch?v=6_aqncTWgkk Image to Text - OCR - Tesseract - Linux - Tutorial]
  
= Using Windows Applications =
+
=Using Windows Applications=
  
* [https://en.wikipedia.org/wiki/IEs4Linux IEs4Linux] (May no longer be available...)
+
*[https://en.wikipedia.org/wiki/IEs4Linux IEs4Linux] (May no longer be available...)
* [https://www.scummvm.org/ ScummVM] (Good for some old games)
+
*[https://www.scummvm.org/ ScummVM] (Good for some old games)
  
= Interesting Experiments =
+
=Interesting Experiments=
  
* [https://www.linux.com/blog/building-beowulf-cluster-just-13-steps Building a Beowulf Cluster in just 13 steps]
+
*[https://www.linux.com/blog/building-beowulf-cluster-just-13-steps Building a Beowulf Cluster in just 13 steps]

Revision as of 12:45, 4 November 2020

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

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