Article 6G4FK "HELP" .bash_aliases on fedora linux

"HELP" .bash_aliases on fedora linux

by
Linuxwolf
from LinuxQuestions.org on (#6G4FK)
alias getdates='date | tee /home/name/fulldate.txt | cut -d " " -f 1 | tee /home/name/shortdate.txt | xargs echo hello'

I saved this in a (.bash_aliases) file. Then try to run getdates in the terminal. However, I get a response of bash: getdates: command not found...
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments