Search Results

Search: Posts Made By: drack
4,409
Posted By drack
Seems I was not clear in my question. I just need...
Seems I was not clear in my question. I just need some structured config with multiply values for key. (You see in config 'db2' => 'db_11', 'db_12', that is not valid. Valid only 'db2' => 'db_11')....
4,409
Posted By drack
perl config parser
Hello.
Can anybody help me with some sub on perl that can parse config like this:
%CFG (
'databases' => {
'db1' => 'db_11', 'db_12', 'db_13',
'db2' => 'db_21', 'db_22', 'db_23'
...
10,416
Posted By drack
grep -e "FT" /path/to/log/dir/*.log | wc...
grep -e "FT" /path/to/log/dir/*.log | wc -l
17,925
Posted By drack
$i contain the list of files and directories in...
$i contain the list of files and directories in directory somedir/. With case you can specify the exact name of folders you want to delete (in my example folders folder1,2,3 will match case statement...
17,925
Posted By drack
Why don't you do for $i in somefolder/* do ...
Why don't you do
for $i in somefolder/*
do
case $i in
folder1|folder2|folder3)
rm -rf $i
;;
*)
;;
esac
done
3,721
Posted By drack
If you have ssh enabled account on remote machine...
If you have ssh enabled account on remote machine you can try
ssh account@host tail -f /path/file
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy