Score:0

Using Alias in Ubuntu Scripts

kr flag

I created a simple Shell file with the following code that opens google chrome on running it.

#!/bin/bash
google-chrome

Now I was trying to create an alias for it. I ran :-

touch .bash_aliases

After this I used nano to open this file and type:

alias exam=".exam.sh"

My intention was that I only type exam instead of ./exam.sh. But this is not working properly. Can anyone tell me what I am doing wrong?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.