Electronics Programming
Linux Posts, Programming Posts, Atmega Posts and others.
Search This Blog
Friday, March 6, 2009
function command in terminal
function name [enter]
[then enter all statements with in { } ]
[then write the function name in terminal for output]
[root@vikas ~]# function vik
> {
> echo "vik fun"
> }
[root@vikas ~]# vik
vik fun
[root@vikas ~]# vik
vik fun
[root@vikas ~]#
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment