Skip to content
sharadchhetri
  • Home
  • Linux Commands
  • ResourcesExpand
    • Learn Linux
  • My Projects & WorkExpand
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • AboutExpand
    • Privacy Policy
    • Contact
sharadchhetri
  • Allow wget and yum in iptable
    Linux | Tips And Tricks

    Allow wget and yum in iptable

    BySharad Chhetri June 28, 2013December 10, 2024

    Allow wget in iptable Today when I was trying to do wget from my server I found it did not allow me to do it. Then I check with yum command also and found the error message “Couldn’t resolve host ‘some.domainname.com'”. It seems the iptables rule in Server is not allowing to wget and yum….

    Read More Allow wget and yum in iptableContinue

  • How To Protect From w00tw00t.at.blackhats.romanian.anti-sec
    Linux | Tips And Tricks

    How To Protect From w00tw00t.at.blackhats.romanian.anti-sec

    BySharad Chhetri June 27, 2013December 10, 2024

    We purchased some server in Digital Ocean and found the w00tw00t.at.blackhats.romanian.anti-sec attack. The same kind of attack we also found in our AWS EC2 servers. w00tw00t.at.blackhats.romanian.anti-sec is kind of script attack in which attacker try to find the loopholes in phpmyadmin and php with Apache and try to manipulate through URL.The same thing I found…

    Read More How To Protect From w00tw00t.at.blackhats.romanian.anti-secContinue

  • How to create a file with cat command
    Linux | Tips And Tricks

    How to create a file with cat command

    BySharad Chhetri June 25, 2013December 10, 2024

    How to create a file with cat command Cat command has many use , in my earlier post I wrote about how to see line no. in file with cat command In this example I will guide how simply you can also create a file and write content in it. Steps to follow In this…

    Read More How to create a file with cat commandContinue

  • master admin password openerp 7.x
    Linux | openerp | Tips And Tricks

    master admin password openerp 7.x

    BySharad Chhetri June 25, 2013December 10, 2024

    master admin password openerp 7.0 When I forgot the master admin password of OpenERP I try to find the answer in a few forums and blog but no luck. I searched in Postgres Database and many file. Finally I got the master admin password which was in home directory of OpenERP user in .openerp_serverrc file…

    Read More master admin password openerp 7.xContinue

  • Change the default port number of ssh server
    Linux | SSH | Tips And Tricks

    Change the default port number of ssh server

    BySharad Chhetri June 25, 2013December 10, 2024

    Change the default port number of ssh server SSH Default Port no. = 22 To change the default port number of ssh server hardly takes a few steps but with the point of security it is important to change the default port no. 22 After this you can also use the anti port scan script…

    Read More Change the default port number of ssh serverContinue

  • How to see line numbers in file through cat command
    Linux | Tips And Tricks

    How to see line numbers in file through cat command

    BySharad Chhetri June 25, 2013December 10, 2024

    How to get line numbers in file through cat command Cat command can be used for many purposes. But do you also know you can see the line numbers in files with the help of cat command. With this method it is easy to troubleshoot or this information is also useful while creating the bash…

    Read More How to see line numbers in file through cat commandContinue

  • How to empty Trash through command line in Ubuntu
    Linux | Tips And Tricks

    How to empty Trash through command line in Ubuntu

    BySharad Chhetri June 21, 2013December 10, 2024

    How to empty Trash through command line in Ubuntu Operating System : Ubuntu 12.10 n l I checked this practical in Ubuntu 12.10 n l . To empty the trash in Ubuntu through command line follow the given steps Step 1 : First check is Trash folder exist. By ls -la command you can see…

    Read More How to empty Trash through command line in UbuntuContinue

  • How to forcefully send mail from mailq in sendmail MTA
    Linux | MailServer | Tips And Tricks

    How to forcefully send mail from mailq in sendmail MTA

    BySharad Chhetri June 21, 2013December 10, 2024

    How to forcefully send mail from mailq in sendmail MTA Sendmail is one of the open source MTA (Mail Transfer Agent) which is widely use in linux operating system. Many times because of high load average of Mail Server and also due to high no. of deffered emails in mail queue, many emails are not…

    Read More How to forcefully send mail from mailq in sendmail MTAContinue

  • How to change the frontend of Nagios with VShell in Ubuntu and Debian
    Linux | Monitoring Server

    How to change the frontend of Nagios with VShell in Ubuntu and Debian

    BySharad Chhetri June 21, 2013December 10, 2024

    How to change the frontend of Nagios with VShell in Ubuntu and Debian Here in this tutorial we will learn How to install Nagios V Shell to change the frontend. This is continue of my last post on Installing Nagios in Ubuntu. Kindly read the post. To install Nagios V Shell follow these steps :…

    Read More How to change the frontend of Nagios with VShell in Ubuntu and DebianContinue

  • find command to search keyword in files recursively in linux
    Linux | Tips And Tricks

    find command to search keyword in files recursively in linux

    BySharad Chhetri June 19, 2013December 10, 2024

    find command to search keyword in files recursively in linux Find command is one of the system command which is useful to search files and directory. It has many used and you can modify your search by using -exec flag. Here I am using exec with grep command. By below given command you can find…

    Read More find command to search keyword in files recursively in linuxContinue

  • make command not found in linux CentOS Red Hat ubuntu Debian
    Linux

    make command not found in linux CentOS Red Hat ubuntu Debian

    BySharad Chhetri June 19, 2013December 10, 2024

    bash: make: command not found Make command is generally used while installing the package from source code. make utility helps to maintain groups of programs There are four types of lines in a makefile: file dependency specifications, shell commands, variable assignments, and comments. In general, lines can be continued from one line to the next…

    Read More make command not found in linux CentOS Red Hat ubuntu DebianContinue

  • How to use grep command to get fixed pattern or exact keyword
    Linux | Tips And Tricks

    How to use grep command to get fixed pattern or exact keyword

    BySharad Chhetri June 19, 2013December 10, 2024

    How to use grep command to get fixed pattern or exact keyword In this post this is a small trick about How to use grep command to get fixed pattern or exact keyword in files. grep command is useful in searching the keyword in files. Without using any flag the grep command will show the…

    Read More How to use grep command to get fixed pattern or exact keywordContinue

  • How to find when Operating system was installed in linux CentOS and Red Hat
    Linux | Tips And Tricks

    How to find when Operating system was installed in linux CentOS and Red Hat

    BySharad Chhetri June 18, 2013December 10, 2024

    How to find when Operating system was installed in linux CentOS and Red Hat This is a short video to know how you can find out on which date the linux was installed. It is applicable to Red Hat based linux distro. Step 1 : First find out the basesystem rpm. rpm -qa|grep basesystem Step…

    Read More How to find when Operating system was installed in linux CentOS and Red HatContinue

  • Be carefull while using phpinfo script in EC2 beanstalk
    AWS

    Be carefull while using phpinfo script in EC2 beanstalk

    BySharad Chhetri June 15, 2013December 10, 2024

    Be carefull while using phpinfo script in EC2 beanstalk Currently I tried some EC2 beanstalk instances in AWS. While working I found that in php environment setting there was a parameter for Database username and password. For easy go I set the parameter with mysql Database username and password. After doing this I created a…

    Read More Be carefull while using phpinfo script in EC2 beanstalkContinue

  • How to protect from port scanning and smurf attack in Linux Server by iptables
    Linux | Tips And Tricks

    How to protect from port scanning and smurf attack in Linux Server by iptables

    BySharad Chhetri June 15, 2013December 10, 2024

    In this post I will share the iptable script in which we will learn How to protect from port scanning and smurf attack in Linux Server. Features Of Script : (1) When a attacker try to port scan your server, first because of iptable attacker will not get any information which port is open. Second…

    Read More How to protect from port scanning and smurf attack in Linux Server by iptablesContinue

Page navigation

Previous PagePrevious 1 … 29 30 31 32 33 … 39 Next PageNext

Tags

apache automation awk aws bash script cat CentOS centos 7 debian devops docker freebsd ftp ghost git grep jenkins kvm linux linux command MariaDB Server mysql Nagios nginx Octopress owncloud Owncloud 6 php postfix postgres python Red Hat rpm sed ssh swap tips troubleshooting ubuntu user management vagrant varnish virtualbox vsftp wordpress
  • About Me
  • Contact
  • Learn Linux
  • My Wordpress plugins
  • Privacy Policy
  • Search
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

© 2025 sharadchhetri.com

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My Projects & Work
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • About
    • Privacy Policy
    • Contact