ls command
ls command ls – Directory listing Usages : # ls Output list of all directories or files in the current directory. # ls /var Output list of all directories or files in the /var directory.
ls command ls – Directory listing Usages : # ls Output list of all directories or files in the current directory. # ls /var Output list of all directories or files in the /var directory.
dirname Command dirname is mostly used in situations where you need to strip the last component from an absolute file name. used to remove the trailing forward slashes “/” from the NAME and prints the remaining portion. If the argument NAME does not contain the forward-slash “/” then it simply prints dot “.”. Example: # dirname /home/example/foo/ output: /home/example # dirname foo/file.txt output: foo … Read more
python installation on windows Since windows don’t come with Python preinstalled, it needs to be installed explicitly. Here we will define step by step tutorial on How to install Python on Windows. Follow the steps below : Download Python Latest Version from python.org First and foremost step is to open a browser and open https://www.python.org/downloads/windows/ Here, … Read more
Introduction to python What is Python? Python is a popular programming language. It was created by Guido van Rossum, and released in 1991. It is used for: web development (server-side), software development, mathematics, system scripting. What can Python do? Python can be used on a server to create web applications. Python can be used alongside … Read more
PHP connection_status() Function Example Return the connection satus: <?php switch (connection_status()) { case CONNECTION_NORMAL: $txt = ‘Connection is in a normal state’; break; case CONNECTION_ABORTED: $txt = ‘Connection aborted’; break; case CONNECTION_TIMEOUT: $txt = ‘Connection timed out’; break; case (CONNECTION_ABORTED & CONNECTION_TIMEOUT): $txt = ‘Connection aborted and timed out’; break; default: $txt = ‘Unknown’; break; } echo $txt; ?> Discuss if any issue or improvement on … Read more
How to get the free SSL certificate Let’s Encrypt is a Certificate Authority (CA) that provides free certificates for Transport Layer Security (TLS) encryption, thereby enabling encrypted HTTPS on web servers. It simplifies the process of creation, validation, signing, installation, and renewal of certificates by providing a software client that automates most of the steps—Certbot. Here we … Read more
pipe (|) operator in Linux command Let’s Start understanding from the below example: $ ifconfig | grep 192 inet 192.168.1.96 netmask 255.255.255.0 broadcast 192.168.1.255 Introduction to pipe (|) One of the most powerful shell operators is the pipe (|). The pipe takes the output from one command and uses it as input for another. And, … Read more
Understanding Hard link in Linux The concept of a hard link is the most basic thing and here we will discuss it today. Every file on the Linux filesystem starts with a single hard link. What is the hard link? The link is between the filename and the actual data stored on the filesystem. Creating an additional … Read more
What is a symbolic link, soft link, or symlink A symbolic link (also known as a soft link or symlink) consists of a special type of file that references another file or directory. Unix/Linux-like operating systems often use symbolic links. Here we will see how to use the ln command to create symbolic/soft links. There … Read more
22 July today in history 1678-Chhatrapati Shivaji Maharaj wins the fort of Vellore. 1981-India’s first geostationary satellite APPLE started functioning. 2012-Pranab Mukherjee was elected 13th President of India. 2019-India’s lunar mission, Chandrayaan-2 successfully takes off from Satish Dhawan Space Center, Sriharikota aiming to be the fourth nation to soft-land on the moon. 1988-Indian National Satellite … Read more