How to finds all the files that got updated within the last 1 day
How to finds all the files that got updated within the last 1 day Finds all the files (under root file system /) that got updated within the last 24 hours (1 day). # find / -mtime -1
How to finds all the files that got updated within the last 1 day Finds all the files (under root file system /) that got updated within the last 24 hours (1 day). # find / -mtime -1
How To Use wget With Username and Password for FTP / HTTP File Retrieval wget –user=user –password=’Password’ http://abc.aa/az.txt
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
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… Continue Reading
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 myhostname.example.com myhostname
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… Continue Reading
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… Continue Reading
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
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… Continue Reading
To start Asterisk at boot time, do the following from Linux prompt: chkconfig –add asterisk