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

learn more… | top users | synonyms (1)

4
votes
2answers
997 views

Create an alias to a samba share from the command line

I'm currently wanting to deploy a setup to around 300 Macs. I have all of it scripted and ready to deploy, excepting that I'm having trouble creating a working alias to a samba share from the command ...
1
vote
2answers
33 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
2answers
111 views

Changing the program name displaying on Konsole, using an alias

I have an alias for irssi:alias irssi="screen irssi. When I am running irssi in Konsole, the tab name shows up as "screen". Is there a way to make it display as "irssi"? My tab format on Konsole is: ...
1
vote
2answers
86 views

System-level bash/zsh alias blacklist

Is there a blacklist feature/functionality in bash/zsh to prevent specified commands and such from being overridden with an alias? Specifically - is there something that can be set system-level in a ...
0
votes
2answers
157 views

command line alias versus .bash_profile alias

when I create this alias from the command line everything works fine alias ejecta='for I in 1 2 3; do /usr/sbin/diskutil unmountDisk disk$I;done' When the same alias is created in .bash_profile. the ...
1
vote
1answer
976 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
23 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
56 views

Save Linux aliases for later usage

After repeating an Arch Linux installation for several times I started to wonder whether I could make things easier for me in the future by taking some general commands that I am bound to use again ...
0
votes
1answer
68 views

How to make an alias and work in sh for all users (not in bash)?

My question maybe is silly, but how can I make an alias so as to work in sh for all users? I know that I can put an alias, let say this one: alias ls='ls -l' in /etc/bash.bashrc so as to work in ...
0
votes
1answer
51 views

Multiple drupal installations on apache work with their own DNS entries but not with Alias

So my localhost server has never had a problem because I've never been developing with other people on multiple websites. Now, however, accessing a secondary site via an Alias is running into a ...
0
votes
1answer
116 views

How to get alias working on server that is connected via ssh?

I connect to another server using command: ssh -Y server1 On server1 I add an alias in .bashrc file: alias gousr='cd /opt/user/myuser' When I try to run gousr command at server1 xterm, it says ...
-1
votes
1answer
74 views

How to copy from couple folders back to the current directory?

I just came to an interesting question in Linux. I want to find a shortcut for copying from multiple folder back in the path to the current path. For example: A/B/C/D/E> cp ../../../example.txt . ...
-2
votes
1answer
28 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.
1
vote
0answers
254 views

Dovecot/Postfix-mysql e-mail Aliases are not correctly forwarded

I recently set up Dovecot/postfix-mysql on my Debian Squeeze Server and I have a bit of a problem. When ever I send a email to an alias (foobar@mydomain.com forwarded to foobar@gmail.com for example) ...
1
vote
0answers
277 views

Create a virtual directory without IIS

My projectgroup is working on a project that has an upload dir. We ofcourse exclude the upload dir from our SVN. This means that we don't share these files. We do share the DB since it's stored on the ...
1
vote
0answers
569 views

Running Windows XP Command Line from CMD.exe does not load autorun processor batch file

I have a batch file set to load up when the Windows XP command line (cmd.exe) starts (using the registry key Command Processor as detailed). Unexpectedly, the batch file only runs under certain ...
0
votes
0answers
4 views

How to colorize the output using sed - no GNU tools available

I'm using a short alias in my .profile file to colorize the output of the sdiff command, just to make it easier to spot differences. The alias is like this: alias color_diff="sed 's/[|< |> ...
0
votes
0answers
3 views

Getting error “the account lasse@vkarlsen.no is disabled” when sending email to google groups from gmail

Apologies if this has already been answered but the very nature of the error message, mixing the message with my email makes it nearly impossible to find information about it through Google. I tried ...
0
votes
0answers
14 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 ...
0
votes
0answers
18 views

goto inside alias is working only in one way

Why this is not working? #!/bin/csh goto skip_background run_in_background2: echo inside background goto back_from_backgroung skip_background: echo skipped alias run_in_backgroundx 'echo aliass \ ...
0
votes
0answers
45 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 ...
0
votes
0answers
35 views

Device not found after adding a network alias

Interface em1 works fine. I issued ifconfig em1:0 1.2.3.4 followed by > ifconfig em1:0 The error is 1.2.3.4 error fetching interface information: Device not found CentOS 6.4. What gives? ...
0
votes
0answers
353 views

PHP does not work on alias (XAMPP)

I trying to make alias on my local machine with XAMPP for my PHP project. I added follow in httpd.conf: Include "conf/alias/*" And make two files for aliases, one of them is like: Alias /aiuu ...
0
votes
0answers
317 views

How to set an alias which will automatically ssh to another server

I often use this command to connect to another server with x forwarding: [myuser@server1]$: ssh -Y 10.32.45.123 (10.32.45.123 is server2) myuser@10.32.45.123's password: [$myuser@server2]:$ I ...