Showing headlines posted by linuxer

« Previous ( 1 ... 17 18 19 20 21 22 23 24 25 26 27 ... 32 ) Next »

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.

How To Create A VPN Killswitch Using Iptables on Linux

If you're connected to a VPN, you need a killswitch. No, it's not as metal as it sounds. It's just a mechanism that stops your Internet connection when you're disconnected from the VPN. It protects you from inadvertently leaking sensitive information onto the Internet when the VPN connection drops.

How to Play World of Warcraft On Linux With Wine

  • linuxconfig.org; By Nick Congleton (Posted by linuxer on Sep 28, 2017 11:51 AM EDT)
  • Story Type: Tutorial; Groups: Games, Linux
World of Warcraft has been around for almost thirteen years, and it's still easily the most popular MMORPG. Unfortunately, after all that time Blizzard never released an official Linux client. It's not all bad, tough. Wine has you covered.

How to configure and use PDO for database access on Linux

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Sep 18, 2017 11:22 AM EDT)
  • Story Type: Tutorial; Groups: Linux, MySQL
This guide aims to provide a quite complete overview of PDO, guiding the reader step by step from the establishment of a connection to the database, to the choice of the most appropriate fetch mode, showing how to create prepared statements and describing the possible error modes.

How to Set A Custom Message of The Day on Linux

  • linuxconfig.org; By Nick Congleton (Posted by linuxer on Sep 14, 2017 11:56 AM EDT)
  • Story Type: Tutorial; Groups: Linux
When you fist log in to a terminal on a Unix system, Linux included, you are usually greeted by that system's message of the day(MOTD). The message of the day, gives you important information about the system or just messages from the system admin. Of course, if you are are the system admin, it's up to you to set that message. If it's your own system, you can get creative with your message and include any information that you choose.

« Previous ( 1 ... 17 18 19 20 21 22 23 24 25 26 27 ... 32 ) Next »