Redirecting cron job output to log file
How to redirecting cron job output to log file :
1 |
*/5 * * * * /home/venkatesh/campaign.sh >> /var/log/precampaign.log 2>&1 |
Note : 2>&1 indicates that the standard error (2>) is...
How to redirecting cron job output to log file :
1 |
*/5 * * * * /home/venkatesh/campaign.sh >> /var/log/precampaign.log 2>&1 |
Note : 2>&1 indicates that the standard error (2>) is...
Getting rid of “500 OOPS: cannot change directory” vsftpd error : We usually get the “500 OOPS: cannot change directory”...
Admin / Linux / openssl / Uncategorized
Installing OpenSSL from the Source code : First of all, Download the OpenSSL from the official website download page https://www.openssl.org/source/
1 2 3 4 |
tar zxf openssl-VERSION.tar.gz cd openssl-VERSION ./config [options] make make install |
...
Linux / Linux Tips / ubuntu / Ubuntu 16.04 / Uncategorized
Finally, After many years of waiting, Ubuntu 16.04 LTS allows users to move Unity Launcher panel to the bottom of...
SIP / tcpdump / Troubleshooting / Uncategorized / VOIP
Tcpdump is command-line packet analyzer, It has a lot of cool features to capture the network traffic. Let’s see the...
Admin / CentOS / Linux / ngrep / Uncategorized
How to install ngrep on CentOS : ngrep is not added to default repository, We need to add epel reposudo...
Admin / Linux / ubuntu / Uncategorized
Static IP Configuration in Ubuntu 14.04 : Open Terminal and become sudo.sudo su Then Open network interfaces file using any...
Linux / opensips / ubuntu / Uncategorized / VOIP
OpenSIPS is not included in the Ubuntu Official Repositories. So we need to add it exclusively. Let’s start by adding...
C / C codes / patterns / Star patterns / Uncategorized
Introduction: We are going to write a C program to print the Pencil Shape Pattern using the stars. We will...
Example: Octal = 123 Decimal= 1×8²+2×8¹+3×8⁰ = 83 Program (Octal to Decimal Conversion): #include<stdio.h> #include<math.h> int main () { int decimal=0, i=0, rem=0,n,n1; ...