Cost – The most obvious advantage of using Linux is the fact that it is free to obtain, while Microsoft products are available for a hefty and sometimes recurring fee. Microsoft licenses typically are only allowed to be installed on a single computer, whereas a Linux distribution can be installed on any number of computers, without paying a single dime. ...
Read More »Uncategorized
Argument on Linux is ‘Kernel‘ not an ‘OS‘
Later on when different Linux distros like Arc Linux, Ubuntu, Debian and Fedora started to come into existence with better GUI (Graphical User Interface) and system softwares, which were basically customized versions of the Linux, users started to say that Linux is a Kernel not an operating system. Which has been now proved to be true : For those who are ...
Read More »How can I contribute to Linux?
Most of the Linux kernel is written in the C programming language, with a little bit of assembly and other languages sprinkled in. If you’re interested in writing code for the Linux kernel itself, which will explain some of the concepts and processes you’ll want to be familiar with. But the Linux community is much more than the kernel, and ...
Read More »An A-Z Index of the Bash command line for Linux
a alias Create an alias apropos Search Help manual pages (man -k) apt-get Search for and install software packages (Debian/Ubuntu) aptitude Search for and install software packages (Debian/Ubuntu) aspell Spell Checker awk Find and Replace text, database sort/validate/index b basename Strip directory and suffix from filenames bash GNU Bourne-Again SHell bc Arbitrary precision calculator language bg Send to background break ...
Read More »How to enable or disable services in Gentoo
Gentoo Linux also uses a script to enable or disable services during boot-up. The name of the script is rc-update. Gentoo has three default run levels. They are – boot, default and nonetwork. How to enable a service Lets set Apache web server to start in the default runlevel. # rc-update add apache2 default How to disable a ...
Read More »Restart, Start, Stop MySQL from the Command Line Terminal, OSX, Linux
To restart, start or stop MySQL server from the command line, type the following at the shell prompt… On Linux start/stop/restart from the command line: /etc/init.d/mysqld start /etc/init.d/mysqld stop /etc/init.d/mysqld restart Some Linux flavours offer the service command too service mysqld start service mysqld stop service mysqld restart or service mysql start service mysql stop service mysql restart On OS X to ...
Read More »Basic term on Linux Administration services
Q. What are the differences between a regular file and a directory. A. A directory is marked with a different file type in its i-node entry and it is a file with a special organization. Specifically, it is a table consisting of file names and i-node numbers. Q. Where are the file names stored on a file system? A.The actual ...
Read More »What is Logical Volume Manager (LVM) and what are the step to create LVM?
LVM stands for Logical Volume Manager. LVM, is a storage management solution that allows administrators to divide hard drive space into physical volumes (PV), which can then be combined into logical volume groups (VG), which are then divided into logical volumes (LV) on which the filesystem and mount point are created. The steps to create LVM are:- – Create physical ...
Read More »How to check a service is running or not in Linux?
Some times we need to check the status of a service if it is running or not to cross verify something on server. Suppose you have edited your httpd.conf file and when restarting the service it just show start service is on. But when you try to get access to the web site the site is down. At that time we ...
Read More »How to enable or disable services in Debian / Ubuntu
To Enable and disable services across runlevels in Debian, Ubuntu, and other Debian based Linux distributions we use a script called update-rc.d. How to enable a service As an example, to enable Apache web server in Debian, do the following – # update-rc.d apache2 defaults … this will enable the Apache web server to start in the default run levels ...
Read More »