Linux is mostly known with its distributions or distros but the reality is that Linux is just a kernel or core of the operating system. All user space and some of the operating space related tools are provided by distributions. We can actually call distribution as a operating system. Linux...
Cygwin is free software to provide Linux and Unix environment, tools and libraries in Windows operating systems. Cygwin is also called an emulator because it translates Linux system calls into Windows type systems calls. Cygwin generally used to run Linux tools like ssh,scp,bash, X11,gcc in Windows environment. Cygwin support following...
limits.conf configuration file is used to limit user, domain, process related metrics. Limits.conf is related with pam_limits module. Configuration File There is configuration file named limits.conf and located at /etc/security/ . The default content of this file is like below.
#<domain> <type> <item> <value>
#* soft core 0
#root hard core 100000
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#ftp - chroot /ftp
#@student - maxlogins 4
As we can see all configurations are commented so they are not effective....
Linux pwd command is the acronym of the print working directory . This command is very old and popular command. This command have do not have a lot of features. But the features it have is very useful for us. Pwd is supported by Linux, AIX, HP-UX, BSD, UNIX. Print Current Working...
Linux have different tools to manage disk devices and hard disks. hdparm is one of the popular tools. Hdparm can get information about hard disk, change writing intervals, acoustic management, DMA settings etc.But be cautious while changing settings about the hard disk drive. Syntax
hdparm [options] [device ...]
$ hdparm -h
Show Information About Disk...
Patch is a command that is used to apply patch files to the files like source code, configuration. Patch files holds the difference between original file and new file. In order to get the difference or patch we use diff tool. Software is consist of a bunch of source code. The...
Linux applications, tools, services uses libraries to get necceseary functionalities. Libraries provides a lot of functionality to the related applications, tools and services. One library can be used by different applications. This is called dynamic library using or loading. Shared Libraries Shared libraries reside in /lib , /lib64 and /usr/lib . Each library...
While working process general ps command is used. Ps command provides detailed information about processes those run on the system. We generally use grep command with ps to filter or match. There is a alternative and more practical way to work process. Pgrep and pkill can be used to manage, list and kill...
Gzip is actually a file format which is a compressed file. There is also a tool named gzip which is used to compress and decompress files. Gzip is developed in 1992. It use DEFLATE algorithm with LZ77 and Huffman coding. Help
$ gzip -h
Compress File Gzip can only compress file. It...
Logrotate main purpose is to easy administrator of Linux logs. It is very talented tool it can Automatic rotation Compression Removal Mailing Logs Logrotate can be configured and run accordingly with configuration files. We will look all of them in this tutorial in detail. Configuration File Logrotate generally works as...