Search Results

Search: Posts Made By: peter84ol
4,890
Posted By peter84ol
script (lets call it filetype.sh): for file in...
script (lets call it filetype.sh):
for file in `ls`
do
file $file
done

Now:
sh filetype.sh > typeofeachfileindir.txt
sed -n -e 's/.*: \(.*\)/\1/p' typeofeachfileindir.txt | sort | uniq >...
6,520
Posted By peter84ol
cat cell | grep "CELL 2" > cell2 or sed -n -e...
cat cell | grep "CELL 2" > cell2
or
sed -n -e "/CELL 2/p" cell > cell2
or
awk '/CELL 2/{print $0}' cell > cell2
7,549
Posted By peter84ol
The only reasonable choice for your method would...
The only reasonable choice for your method would be generating ssh certificates for passwordless login with forced commands only (for security reasons). This would allow you tu run df -m on remote...
Showing results 1 to 3 of 3

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