Jump to content
crp

can not post to "Bruno's All Things Linux"

Recommended Posts

get a 403 error when I try posting the following

 

http://tinypic.com/r/6sxa8j/6 (ignore the typo in the image, I had tried with proper bracket on code close as well)

Edited by crp

Share this post


Link to post
Share on other sites

You must of posted one of the "banned" words that trigger the error message:

[/color]

 

Anytime I need to type those words, I either put them in quotes or use dots: i.e. g.c.c.

 

http://forums.scotsn...showtopic=21483

took out alias and grep . what else could it be? and obviously alias and grep are not problem words. Edited by crp

Share this post


Link to post
Share on other sites

And to answer your question, you need to add the alias in ~/.bashrc:

╔═ comhack@Cerberus 03:14 PM

╚═══ ~-> cat .bashrc

# #Check for an interactive session

#alias ls='ls --color=auto'

alias rb='dbus-send --system --print-reply --dest="org.freedesktop.Hal" /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot'

alias ya='yaourt -Syua'

export PS1="\n╔═ \[\033[01;32m\]\u@\h \[\033[01;0m\]\@ \n╚═══ \[\033[01;36m\]\w\[\033[01;34m\]->\[\033[00m\] "

export PS2="\[\033[01;34m\]->\[\033[00m\] "

set show-all-if-ambiguous on

export VISUAL="vim"

export EDITOR="vim"

export BROWSER="/usr/bin/google-chrome"

 

The syntax is alias='command'

 

BTW You need the single quotes around the command

Share this post


Link to post
Share on other sites

I don't want the alias in the .cshrc, i just wanted it for the active session.

single quote worked, so that is good. How can I do it so the it accepts a command line paramater? using $1 instead of pirate and then trying

grepm pirate

grepm 'pirate'

grepm "pirate"

all resulted in error of grep: pirate: No such file or directory

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...