Two lines of my alias batch file are not working. sh file, alias command, script. Ubuntu noble 24.04 x86_64
by PerBp from LinuxQuestions.org on (#6Q2J1)
Here is the file in its entirety [the * are not in the file, i used them to mark the beginning and end of the file]:
**
alias hora='tty-clock' &&
alias teste='hostname -I && speedtest' &&
alias .='cd ..' &&
alias link='ln -sT' &&
alias ff='fastfetch' &&
alias echo='echo -e' &&
alias y='sudo yt-dlp -x' &&
alias j='sudo jarvis' &&
alias ll='ls -gloGAhF' &&
alias up='sudo bash /home/artur/Desktop/ubuntu-update.sh' &&
alias baixar='sudo apt install -y' &&
alias dat='/home/artur/Desktop/testededigitacion/toipe' &&
alias agr='date +"Hora:%T Dia(356):%j Data:%d-%m-%Y"';
**
The first two aliases do not work. When i type them my terminal says the command wasnt found. I tried replacing && with ; and the problem stands.
Attached Thumbnails
**
alias hora='tty-clock' &&
alias teste='hostname -I && speedtest' &&
alias .='cd ..' &&
alias link='ln -sT' &&
alias ff='fastfetch' &&
alias echo='echo -e' &&
alias y='sudo yt-dlp -x' &&
alias j='sudo jarvis' &&
alias ll='ls -gloGAhF' &&
alias up='sudo bash /home/artur/Desktop/ubuntu-update.sh' &&
alias baixar='sudo apt install -y' &&
alias dat='/home/artur/Desktop/testededigitacion/toipe' &&
alias agr='date +"Hora:%T Dia(356):%j Data:%d-%m-%Y"';
**
The first two aliases do not work. When i type them my terminal says the command wasnt found. I tried replacing && with ; and the problem stands.
Attached Thumbnails