Showing headlines posted by linuxer

( 1 2 3 4 5 6 ... 11 ) Next »

Bash Scripting Tutorial for Beginners

Most likely, your are at the moment sitting in front of your computer, have a terminal window opened and wondering: "What should I do with this thing? Well, the terminal window in front of you contains shell, and shell allows you by use of commands to interact with your computer, hence retrieve or store data, process information and various other simple or even extremely complex tasks.

Tutorial on how to create a paper and digital offline Bitcoin wallet with Linux

The objective is to create an offline digital and paper bitcoin wallet using Linux operating system, VirtualBox and Electrum Bitcoin wallet. The outcome of this tutorial will be a paper with written keywords which can be used to access your bitcoins. We will also create an encrypted version of virtual machine as a digital backup to be stored digitally on a secure medium which will provide a convenient access to your bitcoins if necessary.

How to schedule tasks using at command on Linux

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Dec 21, 2017 10:39 AM EDT)
  • Story Type: Tutorial; Groups: Linux
During the administration of a system, being able to schedule a task for a later execution it's one crucial ability: to perform a backup of a database for example, or perhaps to run a maintenance script. Less known than cron or anacron, the at program let us do this in a pretty easy way: in this tutorial we will learn how to use it and how it is different from the programs mentioned above.

Scan Your System For Vulnerabilities With Lynis

Lynis is a tool for performing an automated audit of your system. It's not a virus scanner or an antivirus. Instead, it checks certain criteria on your system to see how it's configured. By evaluating the system configuration, Lynis can give you an idea what areas are reasonably secure, and which ones need additional hardening.

How to use DNSenum to scan your server's DNS records

It's important to regularly test any public-facing server to see which information it's making available. That information is important to attackers. They can use it to put together a picture of your server, what's running on it, and which exploits might work against it.

Tutorial on how to write basic udev rules in Linux

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Dec 3, 2017 5:18 PM EDT)
  • Story Type: Tutorial; Groups: Linux
In a GNU/Linux system, while devices low level support is handled at the kernel level, the management of events related to them is managed in userspace by udev, and more precisely by the udevd daemon. Learning how to write rules to be applied on the occurring of those events can be really useful to modify the behavior of the system and adapt it to our needs.

How to find all files with a specific text using Linux shell

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Nov 30, 2017 9:44 AM EDT)
  • Story Type: Tutorial; Groups: Linux
The following article provides some useful tips on how to find all files within any specific directory or entire file-system containing any specific word or string.

How to Replace Systemd With SysV Init On Debian Linux

Not everyone loves systemd, and for those that don't, there really aren't many options. That's especially true if you want something like a stable server. Fear not, SysV Init is actually still supported under Debian, and it's not hard to switch.

How to Install Firefox Quantum on Debian Stretch Linux

Firefox 57 is easily the best update to come to Firefox ever. Mozilla even named this release "Quantum" because of how dramatically the browser speed improved. Couple that with the complete redesign of Firefox's UI, and you have a pretty dramatic change.

How to organize your passwords using pass password manager

If you have the good habit to never use the same password for more than one purpose, you have probably already felt the need for a password manager. There are many alternatives to choose from on linux, both proprietary (if you dare) and open source. If you, like me, think that simplicity it's the way to go, you may be interested in knowing however to use the pass utility.

How to use special permissions: the setuid, setgid and sticky bits

Normally, on a unix-like operating system, the ownership of files and directories is based on the default uid (user-id) and gid (group-id) of the user who created them. The same thing happens when a process is launched: it runs with the effective user-id and group-id of the user who started it, and with the corresponding privileges. This behavior can be modified by using special permissions.

How to use argparse to parse python scripts parameters

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.

How to Play Audio With VLC In Python

There are plenty of ways to play audio files with Python. It really depends on your application, but the easiest way, by far, is to use the bindings for VLC to control VLC with Python, and play your files. With VLC, you don't need to worry about codecs and file support. It also doesn't require too many complicated methods, and/or objects. So, for simple audio playback, VLC is best.

How to modify scripts behavior on signals using bash traps

When writing scripts that are meant to run for a considerable time, it's very important to increase their robustness by making them able to react to system signals, executing specific actions when some of them are received. We can accomplish this task by using the bash trap builtin.

How to Encode Data From Python To JSON

JSON is the universal format for passing data between programs and/or languages, especially on the web. Python has excellent built-in support for converting data from a Python program into JSON for another program to use.

Get Your Weather Forecast From the Linux CLI

It's be convenient to be able to retrieve the latest weather forecast right from your terminal without opening up a web browser, wouldn't it? What about scripting it or setting a cron job? Well, you can.

Watch Sling TV With Firefox On Linux

Sling TV is a popular alternative for cord cutters looking to be free of their cable bill while keeping their favorite TV channels. The service doesn't support Linux, though, at all. Furthermore, by default it is available within United States only.

How to use GNU Stow to manage programs installed from source and dotfiles

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Oct 10, 2017 11:22 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Sometimes we have to install programs from source: maybe they are not available through standard channels, or maybe we want a specific version of a software. GNU stow is a very nice symlinks factory program which helps us a lot by keeping files organized in a very clean and easy to maintain way.

How To Enable Jumbo Frames In Linux

  • linuxconfig.org; By Nick Congleton (Posted by linuxer on Oct 9, 2017 4:24 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Are file transfers slow on your network? Are you constantly passing data between your computers? Well, maybe jumbo frames are for you. Jumbo frames are larger than standard network packet payloads. Normally the payload size or MTU(Maximum Transfer Unit) is set to 1500 bytes. Jumbo frames can support to 9000 bytes per packet. Jumbo frames decrease the overhead associated with transferring files by limiting the number of packets that your networking equipment needs to process.

Connect To Wifi From The Linux Command Line

  • linuxconfig.org; By Nick Congleton (Posted by linuxer on Oct 7, 2017 10:59 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Lots of people like graphical utilities for managing their computers, but plenty don't too. If you prefer command line utilities, managing WiFi can be a real pain. Well, it doesn't have to be. wpa_supplicant can be used as a command line utility. You can actually set it up easily with a simple configuration file.

( 1 2 3 4 5 6 ... 11 ) Next »