[copya id="link_4564573443" target="4564573443"]copy[/copya]
[t_block id="4564573443" ]#!/bin/sh
# script to remove reserved files '~' from current directory
for f in $(ls)
do
if [[ ${f#*.sh} == '~' ]]
then
echo $f
fi
done[/t_block]
[copya id="link_4564573443" target="4564573443"]copy[/copya]
[t_block id="4564573443" ]#!/bin/sh
# script to remove reserved files '~' from current directory
for f in $(ls)
do
if [[ ${f#*.sh} == '~' ]]
then
echo $f
fi
done[/t_block]