Results 1 to 3 of 3

Thread: what file do you use to create aliases ?

  1. #1
    Junior Member registered user
    Join Date
    Apr 2006
    Location
    victoria
    Posts
    14

    what file do you use to create aliases ?

    What file do you use to create aliases. I tried .bashrc and it did not work !

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    .bashrc?
    try .bash_profile in the users home dir for "personal" customization, and /etc/profile for systemwide stuff, .bashrc is mainly used for non login shells.
    to read some more try http://floppix.com/bashcfg.html for a few pointers.
    and toget more than you want try "man bash"
    keep asking.

    oh, just one thing more, man bash gives this as the "files" used.
    FILES
    /bin/bash
    The bash executable
    /etc/profile
    The systemwide initialization file, executed for login shells
    ~/.bash_profile
    The personal initialization file, executed for login shells
    ~/.bashrc
    The individual per-interactive-shell startup file
    ~/.bash_logout
    The individual login shell cleanup file, executed when a login shell exits
    ~/.inputrc
    Individual readline initialization file
    a good tip is to hit / to get a line at bottom of manpage where you can type word to search for (and usually q exits them, or if that fails ctrl+c)

  3. #3
    Junior Member
    Join Date
    Nov 2006
    Posts
    7

    Where do you need aliases?

    If you need mail aliases, you need to check your MTA requirements. Smail will use /usr/lib/aliases in the form of

    alias: mark, marko, mjk

    Look it up for further info.

    sendmail uses a similar file and format, but is usually in the /etc directory. (It could reside somewhere else depending on your configuration.)

    Your configuration files for qmail and mailhandler all contain a place for you to define aliases so that if johnc@domain.com and John.Cool@domain.com and JohnBCool@domain.com ar all the same person, mail gets directed tot he correct mailbox.

    I'm not familiar with all the MTA's out there, so you may need to do more research.

Similar Threads

  1. can't create a file on the ntfs partition
    By faz in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 09-30-2004, 05:29 PM
  2. How to create a boot.img file?
    By rodragon in forum Customising & Remastering
    Replies: 1
    Last Post: 04-14-2004, 03:55 AM
  3. How to create a New boot.img file?
    By bongski55 in forum Customising & Remastering
    Replies: 5
    Last Post: 11-07-2003, 12:55 AM
  4. How to create my own boot.cat file?
    By Blue in forum Customising & Remastering
    Replies: 1
    Last Post: 10-02-2003, 05:55 AM
  5. How create a new md5sums file after remastering ?
    By JoDaY in forum Customising & Remastering
    Replies: 0
    Last Post: 09-23-2003, 10:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$143.98