"HELP" .bash_aliases on fedora linux
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 |
You need to tell bash to reload the file.
Code:
source ~/.bash_profile |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
https://www.linuxquestions.org/quest...ux-4175730587/ |
All times are GMT -5. The time now is 01:07 AM. |