I have a c shell script which has the following two lines, it creates a directory and copies some files into it. My question is the following - the files being copied look like this abc.hello
, abc.name
, abc.date
, etc... How can i strip the abc
and just copy them over as .hello
, .name
, .date
.. and so forth. I'm new to this.. any help will be appreciated!
mkdir -p $home_dir$param
cp /usr/share/skel/* $home_dir$param