Article 6G4FJ "HELP" .bash_aliases on fedora linux

"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
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