Linux
Show Linux Distribution Version
Show Linux Distribution Version For RH/CentOS: # cat /proc/version #cat /etc/redhat-release Example output: CentOS release 6.6 (Final) Find Linux distribution version for Debian/Ubuntu $ lsb_release -a
Linux
Show Linux Distribution Version For RH/CentOS: # cat /proc/version #cat /etc/redhat-release Example output: CentOS release 6.6 (Final) Find Linux distribution version for Debian/Ubuntu $ lsb_release -a
Linux
Installing the Development tools using yum (CentOS, RHEL) Development Tools include applications such as : gcc, rpm-build, make. pkgconfig, gettext, automake, strace64, gdb, bison, libtool, autoconf, gcc-c++, binutils Before installing the Development tools, run the yum clean all command, for clear the yum cache. # yum clean all # yum groupinstall "Development
Linux
Fully Qualified Host Name A fully qualified domain name (FQDN), sometimes also referred to as an absolute domain name. Edit file /etc/hosts 127.0.0.1 localhost.localdomain localhost your server IP addr yourhost.your.domain yourhost Example: 127.0.0.1 localhost.localdomain localhost 11.22.33.44
CentOS
Understanding the Linux du Command: Estimating File Space Usage Effectively When managing a Linux system, monitoring file space usage is essential for ensuring efficient storage management. The du (Disk Usage) command is a powerful tool that helps users assess how much space individual files or directories occupy. Here’s an
Asterisk
To convert from GSM to WAV: sox input.gsm -r 8000 -c 1 -w -s ouput.wav To convert from WAV to GSM: sox input.wav -r 8000 output.gsm resample -q1 If you like what you are reading, please: Buy me a coffee
Linux
How To check HDD’s SMART Status In Linux? For IDE HDD's: smartctl --all /dev/hda For SCSI HDD's: smartctl --all /dev/sda For SATA HDD’s: smartctl --all -d ata /dev/sda
Linux
Installing and upgrading RPM packages To install an RPM package called package-2.3.4.rpm: # rpm -i package-2.3.4.rpm If you want to upgrade installed package to the new version, you use -U option (-U upgrade). For example – you have package-2.3.4.rpm installed and want to
Asterisk
To start Asterisk at boot time, do the following from Linux prompt: chkconfig --add asterisk