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
0answers
22 views

Upgrading gcc, ghostcript and aliases

My problem has multiple faces and I will really appreciate if anyone can help me sort it out. The origin of the problem can be traced here: High memory usage of eps file So, I thought I better ...
0
votes
0answers
5 views

How to configure MS Exchange 2010 to receive emails on “+” aliases like foo+bar@foo.bar

is there a way how to configure Exchange so users can receive emails sent on their alias formed with the "+" extension? For example, let's have an user Mr Smith with address mr.smith@foo.com and sb ...
0
votes
1answer
36 views

Get the ip address from ifconfig

I was updating my shell dot file, and I thought that it would be nice to have an alias that show just my ip. I usually connect with wifi, which is on wlan0 and it's the last "block" of devices. So ...
0
votes
1answer
22 views

pentadactyl - syntactic sugar for command

On Pentadactyl: Use current tab's url in command I learned how to create a command that uses the current buffer's URL. I'm using this to rewrite the URL to use the hypothes.is "via hypothesis" ...
0
votes
1answer
17 views

Windows console aliases in any cmd.exe? Is it possible?

Thanks to similar questions, i figured out how to use aliases in Windows. I created *.bat file with content: DOSKEY tf=npm run testCucumberFirefox DOSKEY tc=npm run testCucumberChrome DOSKEY tie=npm ...
1
vote
1answer
70 views

How does one define aliases for use within MobaXTerm *local* bash shell?

I have been using MobaXterm for the last couple of weeks in Windows and I love it. However, I haven't quite figured out how to define my own aliases for use within the local bash shell. The obvious ...
6
votes
1answer
2k views

overriding user defined functions with the same name as system commands

This function exists in one of my users' ~/.bashrc: function rm() { ls $* echo "rm?" read ans if [ "$ans" == 'y' ]; then /bin/rm $* fi } In ...
3
votes
3answers
380 views

How do I make a bash alias that outputs file names in a format I can pipe to vim?

When rebasing with git, I'm interested to open the files that have merge conflicts. I can do this with: vi `git diff --name-status --diff-filter=U | awk '{print $2}'` but if I alias that: alias ...
0
votes
1answer
25 views

Setting up an alias in zsh, storing additional information

I am trying to build a triplet of aliases in zsh. jc, g1, g2, jc arg1 arg2 would be the same as the command cp -r arg1 arg2 And g1 is the same as cd arg1 and g2 is the same as cd arg2 The ...
0
votes
0answers
10 views

Apache: Serve static web content and django app from the same URL

I want to know whether it is possibe to serve static web content, ie. public_html and my django app from the same url. To be more specific, I want requests to first go through public_html and then ...
3
votes
1answer
448 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, ...
0
votes
0answers
55 views

Nginx try_files and alias does not work with variable?

Here, without variable everything works fine - I get the file I need: location /aaa/ { alias /home/bbb/current/; try_files $uri /aaa/index.en.html; } but once I make "en" a variable set $zzz "en"; ...
0
votes
2answers
61 views

Unable to send to email address with “plus” character using gmail

I'm attempting to forward emails from gmail to a project managed by active.collab. All I need to do to accomplish this is forward my email to an address like ...
1
vote
3answers
3k views

What is the correct way to alias applications in OS X through bash?

In my ~/.bashrc, I have several aliases like: alias emacs='/Applications/Aquamacs.app/Contents/MacOS/Aquamacs' alias octave='/Applications/Octave.app/Contents/Resources/bin/octave' alias ...
6
votes
5answers
20k views

How do I create a symbolic link in Mac OSX?

I have a .sh file that I need to create a symbolic link. I would like to be able to access the file using the Terminal. The command I use is: ln -s /path/roo.sh /usr/bin/roo But when I type roo, ...
1
vote
0answers
22 views

Resolving a Heroku App by Cascading two CNAMEs

I am cascading two CNAMEs, for various nefarious reasons, using AWS Route 53. I would be equally happy to use a Route 53 alias followed by an CNAME, but although both techniques appear to resolve ...
1
vote
1answer
112 views

How to create an alias for multiple commands in ConEmu?

In Git-Bash I have an alias that executes two commands; update the list of branches for a git repository, then print them: alias glb='git remote update origin --prune && git branch -a' How ...
0
votes
1answer
20 views

piping output to an alias

in order to run a certain command I need to use sudo -h -u someuser <somecommand> in order to save some sanity I created an alias alias somecommand='function _dm(){ sudo -u ubuntu ...
1
vote
1answer
56 views

Shell aliases when launching programs from within a Desktop environment (Alt+F2) or window manager?

I'm quite confused about how X runs its programs. As I understand it, much of the environment for programs run by the desktop environment (Gnome/XFCE/i3) is setup (traditionally) in ...
0
votes
1answer
52 views

how to make alias ssh-add /bin/bash in bashrc?

how does not this work? alias push-bb="ssh-agent /bin/bash && ssh-add ~/.ssh/bitbucker_rsa && git push" I assume it cancels at /bin/bash part?
0
votes
1answer
110 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
2k views

How can I set outlook web app to send from/send as an email alias?

I have an email account I access through the outlook web app and I have an email forwarder. I want to be able to send messages appearing as from the email forwarder. How can I set this up?
0
votes
1answer
24 views

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

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
25 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
172 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
204 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
42 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
27 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
37 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
34 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
99 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
78 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
14 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 ...
4
votes
3answers
174 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 ...
1
vote
1answer
50 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. ...
44
votes
4answers
20k views

Bash: Spaces in alias name

I am trying to create an aliases in bash. What I want to do is map ls -la to ls -la | more In my .bashrc file this is what I attempted: alias 'ls -la'='ls -la | more' However it does not work ...
0
votes
0answers
19 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
57 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 ...
3
votes
1answer
8k 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 ...
3
votes
4answers
5k views

why alias names defined in .bashrc file are not working?

I have give alias names in .bashrc file like below. But the alias names are not working. why? alias c='clear' alias l='ls -lt' alias h='history' alias d='ls -lt |grep "^d"' export ...
2
votes
9answers
2k views

Command to search programs in Linux

Do you have any easy idea to define some alias in .bashrc for finding some command that you want to search (when you forgot its name) in your machine, visiting all "bin" directories, maybe using ...
1
vote
2answers
61 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
79 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 ...
3
votes
1answer
7k views

How to create an alias in Apache 2 that points to a network share?

I am trying to create an Alias directive with Apache 2.2, to point to a shared folder on other computer. Apache is running on machine M1 at IP 192.168.0.103, the other machine M2, with the shared ...
1
vote
5answers
195 views

Using standard unix commands, how do you grab a bunch of lines?

I have several text files with this format: name: john address: bay area phone: 6505561234 image: /work/myimage.png name: stark dob: 5AD shirt color: red physical address: Westros phone model: S2 ...
6
votes
1answer
5k views

Git log alias - fatal: ambiguous argument '%ad': unknown revision or path

I'm trying to use Git Immersion's log alias: [alias] hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short but Git responds with fatal: ambiguous argument '%ad': unknown ...
3
votes
2answers
1k 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 ...
1
vote
1answer
199 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
1answer
4k views

iptables trouble: nat with ip alias (virtual interface) not working

I'm setting up an Ubuntu 11.10 server to act as firewall for a network running several different SSL websites. The idea is fairly common: have all public IP's for each site aliased to the public ...
1
vote
1answer
2k views

ifconfig ignores alias on IPv6

When I add an IPv4 address for the interface eth0:0 with ifconfig, it is created correctly: ifconfig eth0:0 add 192.168.10.10 This can be verified by ifconfig or "ip a". When I add an IPv6 address ...