Hello,
I'm a beginner to Unix and I want to create an alias that lists the given
directory in long format; the alias should use a pager to display the result.
Thanks in advance. (2 Replies)
Hello,
I'm trying to create an alias that will show the path name of a current directory when a user cd's into any directory.
I have tried the following:
alias cd ' cd | pwd '
This just lists the current directory, even when I cd to another directory the alias just lists my home... (6 Replies)
Hi
I have a problem when i try to set any thing as alias it works
say alias sasa="cd /home/hghgg"
but when i close the terminal it does not work (5 Replies)
i used 'alias' command for a set of daily used long commands. But i noticed they are gone once i log out of the ssh session.
Can any one plz let me know if there is a way to set it permanently for my user. (1 Reply)
If one:
$ find -name 'some expression' -type f > newfile
and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory.
I am... (3 Replies)
I am creating subversion pre commit hook on linux to run on client side but its not working and throwing an error -
alias svnbi="plutil *.plist|grep -v OK; if ; then svn ci -m $1 ; fi"
but when I run -
(test is $1 here)
svnbi test
bash: syntax error near unexpected token `test'
... (1 Reply)