• Ubuntu 18.04
Contact Us Write For Us Twitter
Linux Tutorials - Learn Linux Configuration
  • Home
  • Linux Tutorials
  • Linux Distros
      • Back
      • Ubuntu
      • CentOS
      • Debian
      • Fedora
      • Redhat
  • System Administration
  • Programming & Scripting
  • Linux Commands

How to use argparse to parse python scripts parameters

Details
Egidio Docile

Objective

Learn to use the argparse module to easily parse python scripts parameters

Requirements

  • Basic knowledge of python and object oriented concepts

Difficulty

EASY

Conventions

  • # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given command to be executed as a regular non-privileged user
python_logo

Introduction

In a previous article we have seen how to parse command line arguments using getopts in the context of bash scripts (you can find the article here). Now we will see how to accomplish the same task, in a more powerful way, when writing a python script.

Read more ...

Connect Your Android Phone To Linux with KDE Connect

Details
Nick Congleton

Objective

Install and configure KDE Connect on Linux and Android.

Distributions

This will work on nearly all Linux distributions.

Requirements

A working Linux install with Plasma and root privileges. Also, an Android device.

Difficulty

Easy

Conventions

  • # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given command to be executed as a regular non-privileged user

Introduction

KDE Connect is easily the best tool for sharing between Android and Linux. It allows you to see your phone's notifications and text messages from the Linux desktop. It also lets you reply to those texts through your phone without picking it up or unlocking it.

Read more ...

Create Encrypted Folders With Plasma Vault

Details
Nick Congleton

Objective

Install and use Plasma Vault to create encrypted storage directories.

Distributions

This will work on any distribution with Plasma 5.11 or higher.

Requirements

A working Linux install with Plasma 5.11 or better and root privileges.

Difficulty

Easy

Conventions

  • # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given command to be executed as a regular non-privileged user

Introduction

The Plasma desktop's new Vault feature makes encrypting directories incredibly simple. It's built right in to the desktop task manager, and directories can be managed by regular users without sudo. Vault is an excellent middle ground between single file encryption and whole filesystem encryption. It's not hard to see how useful that can be.

Read more ...

Sideload Apps From Ubuntu To Your Android Device

Details
Nick Congleton

Objective

Sideload an Android app from Ubuntu to a mobile device.

Distributions

This guide is tailored to Ubuntu, but the same principles will work on any distribution.

Requirements

A working Ubuntu install with root privileges and an Android device.

Difficulty

Easy

Conventions

  • # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given command to be executed as a regular non-privileged user

Introduction

Installing an app on Android isn't always as simple as downloading it from the Play Store. In a lot of cases, especially development, the Play Store isn't an option, and you need another way to push apps to an Android device.

Read more ...

How to Run A VPN Client Automatically As A Service

Details
Nick Congleton

Objective

Connect to a VPN automatically on booth with a service.

Distributions

This will work on almost any Linux distribution.

Requirements

A working Linux install with root privileges and a VPN subscription.

Difficulty

Easy

Conventions

  • # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given command to be executed as a regular non-privileged user

Introduction

VPNs are great. They protect people from all sorts of threats and snooping online. Sometimes, they can be a real pain to set up, or the set up procedure doesn't exactly fit the way you use your computer. That's why it's a great solution to run a VPN connection as a service at startup. You don't need to remember to turn it on, and it will keep running even if you don't have a desktop environment up. Plus, it will usually run before your desktop and any of your other connections, helping to keep your data from leaking.

Read more ...

Page 7 of 212

  • Start
  • «
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • »
  • End


Support Us

Bitcoin (BTC) Address:
1PyYJEVtxkokkYtLkRw9BA7Fr4xEAXJn3U

Linux Config Support


Litecoin (LTC) Address:
LXvDNUcdKuh3Svge358rNanXfXMKcPkxCo

Linux Config Support

Thank You
  • Top 10 Best Gnome desktop extensions for Ubuntu 18.04 Bionic Beaver Linux

Write For Us

LinuxConfig is looking for a technical writer(s) geared towards GNU/Linux and FLOSS technologies. Your articles will feature various GNU/Linux configuration tutorials and FLOSS technologies used in combination with GNU/Linux operating system.

When writing your articles you will be expected to be able to keep up with a technological advancement regarding the above mentioned technical area of expertise. You will work independently and be able to produce at minimum 2 technical articles a month.

Read More...

Featured Linux Tutorials

  • Bash scripting Tutorial
  • Howto mount USB drive in Linux
  • How to install Skype on Ubuntu 16.04 Xenial Xerus Linux 64-bit
  • How to check CentOS version
  • How to install Steam on Ubuntu 16.04 Xenial Xerus
  • Check what Debian version you are running on your Linux system
  • How to stop/start and disable/enable Firewall on Redhat 7 Linux system
  • How to setup and use FTP Server in Ubuntu Linux
  • How to mount partition with ntfs file system and read write access
  • How to install the latest Nvidia drivers on Ubuntu 16.04 Xenial Xerus
  • How To Upgrade From 16.04 and 17.10 To Ubuntu 18.04 LTS Bionic Beaver
  • How to install Ubuntu 18.04 Bionic Beaver

About

LinuxConfig.org team is determined to provide you with simple to follow Linux tutorials, various tips, tricks and programming guides as well as with GNU/Linux system administration tutorials in general to help you to learn Linux faster and use it with ease.

Any comments, constructive feedback or your involvement is welcome.

Contact:
web ( at ) linuxconfig ( dot ) org
© 2007 - 2018 LinuxConfig.org
Twitter