Hi guys I would like to know how I can create an Alias via console and how can I edit an existing one.
6 replies to this topic
#1
Posted 12 March 2006 - 05:56 PM
#2
Posted 13 March 2006 - 04:10 AM
for all users in /etc/bashrc
for just one user in their own home directory .bashrc
just add the aliases, example:
alias dir='ls -alFG'
alias rm='rm-i'
for just one user in their own home directory .bashrc
just add the aliases, example:
alias dir='ls -alFG'
alias rm='rm-i'
#3
Posted 13 March 2006 - 03:22 PM
macgirl, on Mar 12 2006, 10:13 PM, said:
for all users in /etc/bashrc
for just one user in their own home directory .bashrc
just add the aliases, example:
alias dir='ls -alFG'
alias rm='rm-i'
for just one user in their own home directory .bashrc
just add the aliases, example:
alias dir='ls -alFG'
alias rm='rm-i'
For example if I wanna create an alias for Unreal Tournament 2004 (ut2004.app) located in
/Volumes/my_Partition/ut2004.app/Contents/MacOS/Unreal Tournament 2004
File to the called by this alias
/Volumes/my_Partition/ut2004.app/System/ut2004-mac-bin
How should I procede?
#4
Posted 13 March 2006 - 06:13 PM
Oh, that kind of alias.
There are to ways, in Finder you select the file and with the Option (Windows) key and Command (Alt) key presed together you drag it to any place you want and automatically it creates an alias of the file, you can move it to whatever you want and rename it as whatever you want.
The other way (the unix way) is this, inTerminal type:
ln -s /path-to-file/real-file /path-to-resulting-file/new-file
ln command create a link.
There are to ways, in Finder you select the file and with the Option (Windows) key and Command (Alt) key presed together you drag it to any place you want and automatically it creates an alias of the file, you can move it to whatever you want and rename it as whatever you want.
The other way (the unix way) is this, inTerminal type:
ln -s /path-to-file/real-file /path-to-resulting-file/new-file
ln command create a link.
#5
Posted 13 March 2006 - 11:51 PM
Thank you very much, I'll try it tonight.
#6
Posted 19 March 2006 - 03:09 AM
By the way, this is also an excellent way to share an iPhoto or iTunes library between several users on the same system, assuming they both belong to a group that has read-write access to the folder.
#7
Posted 19 March 2006 - 03:57 PM
lol, what's an "alias"? a 'lil enlightenment would do...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account









