Hi all,
I have and alias set in .profile like
alias ll='ls -la'
I am writing a shell script in which i am using "ll" but it gives command not found . Can anyone please tell me how source aliases in the script we write do i need to define it again in every script i write is there any oher way to do this
Here is ex of what i am trying to do
#!/bin/sh
ll | grep -i firstar | awk '{print $3}'
Thanks,
Firestar