How to check OS and version using a Linux ?
- admin
- April 9, 2017
- System Administration
- 320 Comments
For debian based system cat /etc/*_version or for a Red Hat based system cat /etc/*-release
Continue ReadingFor debian based system cat /etc/*_version or for a Red Hat based system cat /etc/*-release
Continue ReadingLDAP is a Lightweight Directory Access Protocol. A directory contains objects; generally those related to users, groups, computers, printers.LDAP gives you query methods to add, update and remove objects within a directory.LDAP is also used to store your credentials in a network security system and retrieve it with your password and decrypted key giving you access to the services. For …
Continue ReadingThe shell is the utility that processes your requests. Shell Script is series of command written in plain text file. Shell script is just like batch file is MS-DOS but have more power than the MS-DOS batch file.
Continue ReadingPort : 80 (default) Daemon : httpd configuration file : etc/httpd/conf/httpd.conf Web page location : /var/www/html/ Check httpd : root@server8~ rpm -qa|grep httpd if not install package just install httpd package root@server8~ yum install httpd -y // installed your package root@server8~ systemctl restart httpd //restart your package root@server8~ systemctl enable httpd // enable your package root@server8~ firewall-cmd –permanent –add-service=http // configure firewall …
Continue ReadingMake a file under /mnt as helloworld vim /mnt/hellowrld #!/bin/bash echo Hello World To run this file need permission, following command make permission chmod u+x /mnt/helloworld now run your file /mnt/helloworld ======== Output : Hello World
Continue ReadingBash (Bourne-Again SHell) is a Linux and Unix-like system shell or command language interpreter.Bash scripts an extension of .sh (an.sh for example). Bash is useful when most of what you’re doing is communicating and piping between various programs (many of which are also standard). And there are many environments where bash (or at least a POSIX shell) is available but …
Continue ReadingAn active partition basically means that the computer will boot from this partition. We can say this is the bootable partition that contains the operating system. Only one partition on each hard drive can be set as an active partition or bootable partition. For example, if you are using Microsoft Windows the partition that contains Windows is the active partition.
Continue Reading