9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: jacki
1 Replies
2. UNIX for Dummies Questions & Answers
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)
Discussion started by: Alexander4444
3 Replies
3. UNIX for Dummies Questions & Answers
Hello again,
what does \!* do int his line
alias lookup 'grep -i \!* who.is.who'
Thanks! (1 Reply)
Discussion started by: kris888
1 Replies
4. UNIX for Dummies Questions & Answers
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)
Discussion started by: pharos467
1 Replies
5. UNIX for Dummies Questions & Answers
Can someone help me with an alias...? (1 Reply)
Discussion started by: NetJones
1 Replies
6. UNIX for Dummies Questions & Answers
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)
Discussion started by: shafique
5 Replies
7. Filesystems, Disks and Memory
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)
Discussion started by: klannon
6 Replies
8. Shell Programming and Scripting
how implement functionality alias in the same way as in csh? (use Bourne type sh or bash) (3 Replies)
Discussion started by: sunhata
3 Replies
9. UNIX for Dummies Questions & Answers
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)
Discussion started by: guelpth
2 Replies