• Linux
  • FreeBSD
  • Networking
  • Python
  • AWS
  • WebDev
  • About Us
Tech Tips and Tutorials
Menu
  • Linux
  • FreeBSD
  • Networking
  • Python
  • AWS
  • WebDev
  • About Us

Author Description

admin

How to enable SSH and wifi on first boot in Raspberry Pi raspbian OS

So once you have the SD card ready with Raspbian OS , the usual way is to connect a HDMI monitor , keyboard etc directly to the pi and once boot up you can further configure . Here we show how to enable SSH and configure a wifi on the first boot , so...
Read More about How to enable SSH and wifi on first boot in Raspberry Pi raspbian OS
Linux Leave a Comment

Error: /bin/sh: Syntax error: unexpected in Python3

If you are wrapping shell commands with Python modules you might see this error a number of times . This usually happens when you grep some output from a command and assign it to a variable and then you will need to use that variable in another command . So there will be a...
Read More about Error: /bin/sh: Syntax error: unexpected in Python3
Python Leave a Comment

How to run Shell commands in Python3

Python allows you to run shell commands which you can use in your automation tasks and manage to start other serverside programs . Some of the useful python modules to execute shell commands are : You can immedeatley execute a shell command with the os.system command os.popen module opens a pipe from command prompt...
Read More about How to run Shell commands in Python3
Python Leave a Comment

How to redirect subprocess.Popen output to a file using in Python

Sonetimes you need to run shell commands in your Python script, there are few different modules in python for that and the subprocess is one of those . Then you might need to copy the output of your shell command to a log file . This can be usually done with the append (>>)...
Read More about How to redirect subprocess.Popen output to a file using in Python
Python, Uncategorized Leave a Comment

SSL configuration for Postfix SMTP relay server

Sometimes we need to use postfix as a relay SMTP server . This is needed if you have devices on your network that generates system emails and sent it to your mail. In most cases , it ends up in spam folder if you don’t have a proper relay server for these emails ....
Read More about SSL configuration for Postfix SMTP relay server
Linux Leave a Comment

Find the ports listening on Linux

The netstat and the lsof are the two main commands to check the tcp/udp listening ports in Linux. Netstat Installation: CentOS and Debian: To show established tcp connections : To show only UDP connections: If you are looking for a specific service listens to which port : Filter with specific port number : lsof...
Read More about Find the ports listening on Linux
Linux Leave a Comment

AWS Cli commands not running from Cron

Sometimes you need to run the aws cli commands from the cronjob especially if you have the backup scripts that runs periodically and uploads to S3 bucket storage. So you might see the cron jobs run successfully as scheduled but the upload to S3 storage which uses the aws cli commands might not work...
Read More about AWS Cli commands not running from Cron
AWS Leave a Comment

How to zip files and folders for backup in Linux

You might need to zip a number of files, folders and sub folders to keep as a backup . To zip the folders and subfolders: This will create a new gzip file of your entire folder mydir/ no matter how many files or sub folders in that To untar a gzip file : So...
Read More about How to zip files and folders for backup in Linux
Linux Leave a Comment

AWS S3 error while uploading a folder : upload failed Parameter validation failed:

So when I try to upload a folder with lots of files , I started getting the above error . I am using the aws cli command to copy the files to the s3 bucket Full error: so you need to add a recursive flag along with command : This will clean that error...
Read More about AWS S3 error while uploading a folder : upload failed Parameter validation failed:
AWS Leave a Comment

How to encrypt/decrypt file using OpenSSL

OpenSSL can be used to encrypt/decrypt the files and can also be used to secure the communication channels . I touched a file file.txt To encrypt the file : Now to decrypt the file file.enc: The encryption requires a password and the same password will be asked to decrypt the file. But the password...
Read More about How to encrypt/decrypt file using OpenSSL
Linux Leave a Comment
← Previous 1 … 3 4 5 6 Next →
  • Popular Posts
  • Recent Posts
  • Linux Shell Scripts for System Administrators
  • Cacti 1.1.38 ERROR Opening .rrd No Such file or directory
  • Apache configuration for Cacti
  • How to create RAM disk in Ubuntu 18.04
  • Linux Shell Scripts for System Administrators
  • SOCKS PROXY
  • How to install XAMPP and access phpMyAdmin in MAC OS
  • How to increase the root volume in a Linux ec2 instance

Linux

  • Linux Shell Scripts for System Administrators
  • SOCKS PROXY
  • How to grep IP addresses from log files in Linux
  • How to empty or delete a large file in Linux

Categories

  • AWS (5)
  • FreeBSD (12)
  • Linux (29)
  • Networking (3)
  • Python (5)
  • Uncategorized (4)
  • WebDev (1)
  • Connect on Facebook
  • Connect on YouTube
© Copyright 2020.TechieNix. All Rights Reserved.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.