Unix Bash Alias Command
问题 I am trying to simplify my work with the help of Alias commands in my bash shell. Problem Statement: I want to copy different files from different directories to one single folder. The syntax i am using here is as below cp <folder>/<file> <path>/file.dir Here I want to save the destination file with filename.directory for easy identification. To achieve the same, I have written the below alias. Alias Script cp $Folder/$fileName ~/<path>/$fileName.$Folder OR cp $1/$2 ~/<path>/$2.$1 Expected