Search Results

Search: Posts Made By: saravanapandi
2,035
Posted By junior-helper
sed -r 's#^/dev(.*)$#echo 1 >...
sed -r 's#^/dev(.*)$#echo 1 > /sys/block\1/device/rescan#' infile > outfile:D
2,112
Posted By Don Cragun
Here are some untested code snippets setting...
Here are some untested code snippets setting variables as you requested:
printf "Enter userdefined/user input: "
read A
B=42
c=$(getconf PAGE_SIZE)
E=$(echo "$B * $c" | bc)
printf 'A is "%s", B...
1,412
Posted By Scrutinizer
Try: for f in *.cnf_*; do mv "$f" "${f%_*}"...
Try:
for f in *.cnf_*; do
mv "$f" "${f%_*}"
done
Showing results 1 to 3 of 3

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