Solutionist's Blog

Tech | Health | Life | Travel

Network interface settings – CentOS

Configuration of the “/etc/sysconfig/network-scripts/ifcfg-eth0” file In this file, you would find your basic network device configuration. Here, ifcfg-eth0 is the first Ethernet device; ifcfg-eth1 would be the second Ethernet NIC (network interface card), and so forth. In this file, you can have quite a few settings. Directives Required / Optional Expected Settings Comment DEVICE= Required ethX You must have […]

Mount NTFS partition in Linux

Mount NTFS partition in Linux Mount NTFS partition in Redhat Enterpris Linux / Ubuntu Linux Enterprise Linux distributions like Redhat Enterprise Linux ( RHEL ) does not provide native support to Windows NTFS partitions. However you may wand to mount a NTFS formated partiiton in your RHEL box. Here is a simple howto to mount […]

cheat sheet – find command

1. Basic find command # find -name “TestFile” 2. Find Files Using Name and Ignoring Case # find -iname “TestFile” 3. Limit Search To Specific Directory Level Using mindepth and maxdepth # find / -maxdepth 3 -name passwd -maxdepth –> will go 3 directories below — / 1st; /etc 2nd; /usr/bin 3rd # find / […]

Setgid and Sticky bit in Linux

Special permissions on files and directories in linux are : SetUID, SetGID and Sticky bit. With the help of “chmod” command  we can implement the special permissions on file and directories. SUID / Set User ID : A program is executed with the file owner’s permissions (rather than with the permissions of the user who executes it). SGID / Set Group ID […]

Secured By miniOrange