Results 1 to 2 of 2

Thread: simple aliases

  1. #1
    simple aliases
    hi, i was ust wondering where i should start when i want to write out something simple like :

    i want the ls command to always execute "ls -F"

    which file would i open and edit to make that permanent, im trying to find out where i can write other commands as well.

    for example i wanna make a script or alias or whatever so that i do not ahve to type out : (ifconfig | grep 'inet ' | grep -v | cut -d\ -f2) every time i want to see the ip address.

  2. #2

    cradom's Avatar
    Member Since
    Feb 14, 2004
    Groves, Texas
    21in. iMac 10.11 --- HP Linux Mint 18
    Put this in your .bashrc file (if you don't have one, make one):
    alias ls='ls -f'
    Should be able to do something similar for that ifconfig command.
    Any priest or shaman must be presumed guilty until proved innocent.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can't stop aliases.
    By VicMar in forum macOS - Operating System
    Replies: 1
    Last Post: 02-23-2015, 11:10 AM
  2. Aliases
    By Edmound in forum Switcher Hangout
    Replies: 5
    Last Post: 06-30-2013, 12:52 AM
  3. Desktop Aliases
    By pjiffy in forum macOS - Operating System
    Replies: 4
    Last Post: 11-01-2011, 08:36 PM
  4. Simple, Simple question (?) from a real beginner
    By JamesTaylor in forum iOS and Apps
    Replies: 0
    Last Post: 05-15-2011, 08:58 AM
  5. Aliases and Icons
    By ezhangin in forum macOS - Operating System
    Replies: 2
    Last Post: 03-07-2006, 06:48 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