Print the second field of the colon-delimited output, the second field of the hyphen-delimited output, remove any spaces, print the working directory path, and write the output to a file named file1.txt.
`cut -d: -f2|cut -d- -f2|tr -d " "|pwd -P|tee file1.txt`