In computing, an alias is an alternate name for an object, such as a variable, file or device.

learn more… | top users | synonyms (1)

0
votes
1answer
18 views

info@email for several people of one open another should saw it

We have an email address info@ourcompany.com which forward with alias to couple email addresses of our company to work. What we need: if one of them (working people) open a message other will see that ...
0
votes
1answer
24 views

alias disables colour sustainably in bash

When I do tree -N I get nice coloured output. When I then alias tree="tree -N" tree output is black & white. When I then unalias tree tree -N output is still black & white! GNU ...
0
votes
0answers
19 views

Move openproject to subfolder using Apache alias

I am trying to install openproject following this manual: https://www.openproject.org/open-source/manual-installation/manual-installation-guide/ I can install the software as the default website ...
1
vote
2answers
108 views

What's the correct terminology for + email alias?

I'm trying to find a email host that supports aliases in the form of hello+world@yourdomain.com that will automatically send to hello@yourdomain.com. I know that Google Apps and Office365 both seem ...
0
votes
1answer
20 views

Is there a standard place to put my Aliases? bashhrc vs. bash_aliases

Is there a standard place to put custom aliases? If not, what are the benefits and disadvantages of .bash_aliases, .bashhrc, and .bash_profile?
1
vote
1answer
23 views

How to make an alias in root permament?

I did with an especific user, but i can't do that when the user is root (I know user root is not recomendable to use, but in my current job security policies are null in some systems and we want to ...
1
vote
1answer
31 views

How can I make alias for desktop folder on XP?

I don't want other users save file to system drive, how can I make a direct link of desktop folder to another folder?
0
votes
1answer
19 views

How do I make an alias for a Unix command that includes both single and double quotes?

I defined the following command: top -b n 2 -d 0.01 | grep 'Cpu' | tail -n 1 | awk '{print "cpu=" 100.0-$8 "%"}' which returns me the CPU usage in the form cpu=nn% I now want to define the alias ...
0
votes
1answer
43 views

Ubuntu clears Alias after closing the terminal's window

When I defined some aliases on Ubuntu vivid(15.04) via the terminal, it clears all aliases after I close the window. What can the problem be?
0
votes
0answers
22 views

how to redirect root directory alias to a document_root subfloder in lighttpd?

I have this directory configuration: htdocs/www -> web site pages htdocs/WEB-INF -> lib and classes, used in web pages htdocs/data -> data (images, documents) This is how I do it, with ...
1
vote
0answers
11 views

MS Exchange — How to send authenticated email as same email for public folder

Is it possible to create an authenticated MSExchange user that can send email on behalf of any other user in the system (public folder emails as well) without configuring it on a user-alias basis? If ...
1
vote
1answer
34 views

change IP when a CNAME is used

I want to set 96.7.41.139 as IP address of download.microsoft.com I checked this post: http://serverfault.com/questions/452268/hosts-file-ignored-how-to-troubleshoot and set hosts as below. ...
2
votes
1answer
58 views

How to save user made zsh shell functions and aliases

Shell beginner here! I'd like to create aliases and functions in zsh shell to speed up my workflow. For example: tw() { open -a //Applications/Textwrangler.app "$*"; } The function itself works, ...
4
votes
3answers
162 views

How do I force an application to recognise two names for a disk drive?

I have an extensive image database (3.25GB metadata, 90K images) held in a legacy product (idImager V5). This in turn utilises SQL Server 2005 as the underlying DBMS. Over time, I have been adding ...
0
votes
0answers
15 views

How to append “*” to the start and end of command line parameter in CSH?

In CSH example, echo aaa can print out “aaa”; I need echo_test aaa print out “*aaa*”. While alias echo_test 'echo "*\\!**"' can only print out “*aaa”. Thanks!
1
vote
0answers
40 views

How to automatically log-in to remote MySQL instance via ssh behind another host?

I have an alias set up to ssh to a remote machine through a proxy ... alias sshcmd='ssh -t davea@proxy ssh destmachine' but I want to set up an alias where I ssh into the remote machine and then ...
1
vote
2answers
43 views

Make :Wq equivalent to :wq in vim

I'm always typing :Wq when I mean :wq. Is there a way to alias :Wq=':wq' in vim?
1
vote
1answer
52 views

Alias one program in a different order than $PATH

I alias pandoc='~/.cabal/bin/pandoc' because I don't want to change my $PATH order just for this one program. In general, programs I installed in /opt/, ~/.cabal/, and so on should precede defaults ...
2
votes
2answers
464 views

Localhost aliases in Mac OS X mysteriously stopped working

For whatever reason aliases for my Mac OS X localhost seem to have suddenly stopped working. Presumably follow some update caused this, although I”m not sure what. Here’s my hosts file: ## # Host ...
0
votes
1answer
33 views

Alias options in zsh

When using the zsh alias command, what does the -s flag do (for example, lines 83-87 of oh-my-zsh's common-alias plugin?
1
vote
1answer
73 views

How to change a program path/alias?

I'm not sure how it works on Linux, but you can type in program names such as ls, man, etc., in any directory and the programs are executed. I uninstalled an old version of ImageMagick and built the ...
1
vote
2answers
67 views

Can we use regex in alias command?

I want to create the alias for this command. ssh user@ip as alias [0-9][0-9][0-9].[0-9][0-9][0-9].[0-9][0-9][0-9].[0-9][0-9][0-9] ="ssh user@$0" I have created it ,but it is not working. Is there ...
0
votes
0answers
62 views

Linux bash - Add alias from script without source(-ing) the script

Is it possible to write a script like #!/bin/bash alias foo="bar -options" and get the alias added to the running shell without source(-ing) the script source myscript will work, but just ...
1
vote
1answer
5k views

Workaround for adding forward addresses to Gmail as aliases

I went to add an alias to a forwarded address (managed by GoDaddy, ie myemail@mydomain.com) in Gmail, and I noticed that Google changed their system. In the past, after you entered the name and email ...
1
vote
0answers
77 views

Does Apache Alias supports relative paths?

I'm trying to alias a file with relative path from the document root, like this: Alias /js/jquery-1.9.1.min.js lib/jquery-1.9.1/jquery-1.9.1.min.js It does not work, but I can't find anything in ...
1
vote
1answer
53 views

ZSH Cull Old Aliases

When I call alias in a zsh shell, I get a list of aliases. Some of them are desired, some are not. I originally created a .alias file in my home directory, and added source $HOME/.alias to my .zshrc. ...
0
votes
3answers
119 views

create alias for existing hostnames

the question has been asked numerous times but I cannot find a clear answer. I have a database on Azure: gtxxxxxxx.database.windows.net however, to make things more easy (I hate typing) I would ...
1
vote
1answer
422 views

alias not working with my mongo --eval command

I have the following mongo shell command to delete all users that aren't admins mongo --eval 'db.users.remove({group:{$ne:"admin"}})' collection This works. I want to create an alias for this ...
0
votes
1answer
13 views

How to use aliases for catalogs for file creation navigation

if I have some aliases like Catalog1 (/home/ed/1), Catalog2 (/home/ed/2) I have scripts in Catalog1, and Catalog2 is for output saving, f.e. : python /home/ed/1/one.py > /home/ed/2/log1.txt i ...
0
votes
1answer
85 views

pass arguments to alias then disown

I am trying to create a simple alias: alias draw="pinta &> /dev/null & disown" The intent here is pretty obvious. My problem is that whenever I pass an argument, I get bash: disown: ...
2
votes
1answer
1k views

How to remove zsh alias?

I have an alias which is predefined by an oh-my-zsh plugin. -> % alias gcm gcm='git checkout master' I'd like to remove it, i.e. I'd like alias | pcregrep "\bgcm\b" return 1. I've tried with ...
3
votes
2answers
154 views

How do I handle multiple quotes in an alias (for bash or zsh)

I am using zsh, and I am trying to use python as a simple calculator. I'm very familiar with python, but can't seem to get the alias (or function) to work properly. So far I've got: pycalc() { ...
0
votes
2answers
2k views

Unable to create a permanent alias in Mac OS

In Linux I can well to add alias to bashrc and it will become a permanent alias. In Mac OS I tried to do the same thing: vim ~/.bashrc export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH f or ...
1
vote
1answer
60 views

Echoing aliases to .bashrc

I want to echo an alias straight into my .bashrc file. Here is what I am using: echo alias cdear='cd | clear' >> .bashrc However, the new line in .bashrc does not contain the quote marks. I ...
0
votes
1answer
307 views

bypass 'noglob' for 'which' in zsh?

I want to use the 'which' command to see which executable is actually being invoked, but the defensive 'noglob' aliases keep getting in the way. Is there a shortcut that I can use to find which ...
0
votes
1answer
73 views

SSMS view designer - how do I give a table an alias?

I'm struggling with getting SQL Server Management Studio to do what I want. Things that were totally simple and easy tasks in Enterprise Manager have inexplicably become hard or impossible. Case in ...
1
vote
1answer
144 views

ssh port forwarding and multiple aliases

I have the following ~/.ssh/config file: $ cat ~/.ssh/config Host myalias HostName fully.qualified.domain.name Port 2222 LocalForward 3690 127.0.0.1:3690 When I ssh to myalias, ...
0
votes
1answer
51 views

Alias not working

I have an alias that does an ssh into a machine and executes 1 line of code as following: alias posts-update= 'ssh user@host.com "cd /var/www/blog/posts && git pull"' This works perfectly ...
-1
votes
1answer
70 views

Remove an alias on Windows 8?

I've set an alias for a command and now I want to remove it again. How would I go about that? I've already tried unalias, but that doesn't work.
0
votes
1answer
27 views

What happens when we alias an IP address to a system?

What happens when we alias an ip addr which is already allotted to some other on the same LAN. Is aliasing local to my system?
0
votes
1answer
40 views

Where to put alias commands for use in Windows 7 [duplicate]

I know you can add alias commands in Linux to the .bashrc file, but Window 7 definitely does not use bash. Where and how can I add alias commands for use in the command prompt cmd.exe?
1
vote
2answers
57 views

Remote login in, creating alias, need advice

I usually remote login to the server at my school. I have a user name and password. The command is 'ssh -l username -p port machineName'. (username is mine, port is a number and machineName is the ...
1
vote
3answers
289 views

How to write alias to use first parameter or * if parameter is blank?

I want to write an alias command for 'ls', so that if I pass in a parameter, then the alias will use it, but if I do not, then it would use '*' instead. This is the alias I have today: alias lsd='ls ...
0
votes
2answers
468 views

Shell function in .bashrc is not recognized

I know this must be something silly but somehow I am stuck trying to create a shortcut (alias) for a shell function. Here is my exact .bash_profile: [[ -s "$HOME/.rvm/scripts/rvm" ]] && source ...
4
votes
3answers
5k views

Add a static IP alias to a DHCP interface on Windows 8

I have a Windows 8 machine that has only a single Ethernet port. It needs to use DHCP and also needs a static IP. Each IP is in a different subnet, and each serves a different, incompatible purpose. ...
0
votes
1answer
107 views

nested aliases in /etc/aliases: which order?

my /etc/aliases (ubuntu 12.04 lts) already contains some aliases redirecting to root: postmaster: root clamav: root monit: root now I want to add another alias that redirects all root messages to ...
1
vote
2answers
90 views

Alias for directory using a symbol

I'm looking to set up an alias for my work directory, which can change as I change context, and I was trying to find something that was short enough to stand in as a replacement for ~. I'd be tickled ...
1
vote
1answer
182 views

Where is virtualenv's deactivate defined?

Virtualenv defines an alias for the command deactivate as seen in yourvirtualenv/bin/activate.csh. What I'm curious about is where deactivate resides, because when I issue an alias command deactivate ...
0
votes
0answers
134 views

How to read aliases in a ksh script

I have some global aliases defined in my ~/.profile file. To read them from a bash script, I'd use: shopt -s expand_aliases source ~/.profile However, in ksh this does not work because it does not ...
2
votes
1answer
94 views

What's the rule on using the word “git” as an alias?

I used to keep my git aliases in a file outside of my .gitconfig file, in the normal format of: alias gb="git branch --verbose" which worked great. But, after looking around at others' dotfiles, I ...