"HELP" .bash_aliases on fedora linux
by Linuxwolf from LinuxQuestions.org on (#6G4FJ)
I saved this into .bash_aliases file.
alias getdates='date | tee /home/name/fulldate.txt | cut -d " " -f 1 | tee /home/name/shortdate.txt | xargs echo hello'
Then try to run getdates in the terminal. However, I get a response of bash: getdates: command not found...
Can anyone let me know what I did wrong
alias getdates='date | tee /home/name/fulldate.txt | cut -d " " -f 1 | tee /home/name/shortdate.txt | xargs echo hello'
Then try to run getdates in the terminal. However, I get a response of bash: getdates: command not found...
Can anyone let me know what I did wrong