Database Reference
In-Depth Information
$cat /proc/version - Linux version
information
$cat /etc/redhat-release
$lsb_release -a
$uname -mrs
sysctl - a : This command allows you to change the kernel parameter
during boot time. The sysctl -w net.ipv4.ip_forward="1" com-
mand will change the Linux kernel variable in /proc/sys/kernal/
sysrq .
vi /etc/sysctl.conf : This command modifies to make the changes
permanent.
• The following command is used to find information from logfiles or direct-
ories:
$find / -type f -name '*search string*'
-print
$slocate '*search string*'
Find and replace a file in linux
find ./ -name ".search string " | xargs
rm -Rf
# Use either of the following commands
to recursively perform a grep from the
current directory.
$find . \( -name '*' \) -print -exec
grep $1 {} \;
$find . -name '*' -exec grep $1 {} \;
-print
$find . -name '*' -type f -exec grep -l
$1 {} \;
Search WWH ::




Custom Search