linux tutorials

May
25

C Variadic Function Implementation Explained with Example Code

Tweet In C programming, variadic function will contribute to the flexibility of the program that you are developing. To understand this flexibility, let us start with a basic example. If we like to add two numbers, we might write a code like this: int addNumbers( int nNumberOne, int nNumberTwo ) { return nNumberOne + nNumberTwo; […]

By admin | linux tutorials
DETAIL
May
24

10 Linux restorecon Command Examples to Restore SELinux Context

Tweet On your Linux server, having proper SELinux security context for files and directories is very important. When you add your custom file to a directory that is already managed by SELinux policy, and if your custom file doesn’t have the proper SELinux context, then you will not get the expected result. restorecon stands for […]

By admin | linux tutorials
DETAIL
May
23

15 Linux sfdisk Command Examples to Manage Disk Partitions

Tweet If you are a sysadmin, managing your Linux server’s hard disk partition is a critical task. In this tutorial, we’ll focus on how to use sfdisk command-line utility to manage your hard disk partitions. While sfdisk is similar to fdisk, there are few partition manipulation activities that are very easy to perform in sfdisk. […]

By admin | linux tutorials
DETAIL
May
17

How to Fix Git Push Insufficient Permission Error for Objects Permanently

Tweet Sometimes when you do a git push, you might get the following permission error message. This error typically happens when multiple users are working on a particular git repository. The following git push error indicates that it doesn’t have enough permission for adding a new object to the ./objects directory under your repository. Apart […]

By admin | linux tutorials
DETAIL
May
16

10 PuTTY PLINK Examples to Automate Remote Linux Commands from Windows Batch Files

Tweet Plink stands for PuTTY Link. Plink is a companion command-line utility for PuTTY. On a very high-level: Use PuTTY for interactive SSH session from your Windows to Linux Servers Use Plink for non-interactive SSH session to execute remote linux commands for automation purpose from your Windows In this tutorial, we’ll discuss the following: Launch […]

By admin | linux tutorials
DETAIL
May
11

3 Methods to Connect to MySQL from PHP using Example Code

Tweet To get most out of your MySQL database, it is important to understand how to connect from your custom PHP program to MySQL database. This tutorial explains the following three methods along with appropriate example PHP program, which will explain how to connect from your PHP to MySQL database. Connect using mysqli extension (Recommended) […]

By admin | linux tutorials
DETAIL
May
10

13 Nginx Location Directive Examples including Regular Expression Modifiers

Tweet If you are running Nginx webserver, it is important for you to understand how the location directive works. Nginx uses location directive to decide what configuration it should apply based on prefix or the pattern in the incoming URL. For example, from what directory it should serve the image files when an URL ends […]

By admin | linux tutorials
DETAIL

How to enable Wake on Lan (WOL) with Advanced TomatoUSB wifi router firmware

I recently installed TomatoUSB advanced firmware on my Asus RT-AC66U wifi router. This router act as my wireless Ethernet bridge. TomatoUSB advanced has additional features like SSH Multiple WAN support (3G/4G/Static IP/Cable/ADSL2) Tor Virtual Wireless DMZ IPv6 FTP/Media server via USB BiTorrent Client via USB UPS support OpenVPN client and server Tinc VPN server and […]

By admin | linux tutorials
DETAIL
Page 1 of 1412345...10...Last »
TOP

Watch Dragon ball super