Can you not simply use the mv command?
There are other ways, if not.
Try this with test directories and files until you
understand what is going on. It is quite easy to
overwrite your most precious files if you are careless.
ls. The -t argument will sort by time (date/age). -r will reverse
the order of sorting. To sort by size, you can use -S.
"man ls" for more details.
I do not understand what you want.
Your prompt can be set quite easily. It is the variable PS1 (PS2,
PS3, and PS4 are sub-prompts). So PS1="What now? " will set your
prompt. Some people set their prompts to include the directory they
are in. Others use the classic "$ ". The convention is that root's
prompt is always "# ".
I think your problem is that you have frightened yourself by
trying to write shellscripts. Start with the basic commands.
Generally, these will do what you want. You can use the man
and info commands to see how they work.
Soon, you will want to combine commands, using pipes to
pass the output of one command into another. Then you will
have started writing shellscripts without noticing.
--
John.