Linux shell command questions
Hi all,
1. how can I rename multiple files to SUBTRACT characters from the original name, rather than add, kinda the opposite of what you do with for file.....done command, like:
for file in *.old;
do
mv -v $file ---here I want to rename the file from barbie.txt.old back to barbie.txt
done
2. how can I delete shell variable?
3. in OPENNA when Ctrl+D nothing happens
4. will !ch insert most recent command that started with ch? like if I had chmod 770, will !ch insert chmod 770?
Thanks in advance
|