[Solved] Aliases in HP-UX


 
Thread Tools Search this Thread
Operating Systems HP-UX [Solved] Aliases in HP-UX
# 8  
Old 06-18-2012
That should be ls -a (not ls -A).

To just list the "hidden" files:
Code:
ls -ald .??*

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[SOLVED] how to use my aliases in a bash script

Hi, I confess to be stuck ... as explained here Aliases - Bash Reference Manual I added shopt -s expand_aliasesto my script ... but it didn't work. Later I've read I had to add this at the begning of my my script : . ~/.bash_aliases(of course my aliases are in this file) but again, the... (0 Replies)
Discussion started by: xib.be
0 Replies

2. Shell Programming and Scripting

Using Aliases in a script

Hi all, I have and alias set in .profile like alias ll='ls -la' I am writing a shell script in which i am using "ll" but it gives command not found . Can anyone please tell me how source aliases in the script we write do i need to define it again in every script i write is there any oher... (1 Reply)
Discussion started by: firestar
1 Replies

3. UNIX for Dummies Questions & Answers

Aliases In Unix

Hi, I am new to Unix. I want to know how to setup aliases in Unix. Mean if i write a particular word say scripts then it should take me to scripts directory. Kindly help. (2 Replies)
Discussion started by: amritansur
2 Replies

4. UNIX for Dummies Questions & Answers

Setting aliases

How come if I set an alias as such: alias dt 'date "+%Y-%m-%d %H:%M:%S"' it will work as intended, ie the command 'dt' does prompt the date and time, but not when invoked through a script as such: #!/bin/sh alias dt 'date "+%Y-%m-%d %H:%M:%S"' The OS is FreeBSD 7.1. Thanks in advance (4 Replies)
Discussion started by: figaro
4 Replies

5. Shell Programming and Scripting

etc aliases

Hello: i have several server with own etc aliases. right now i want to combine it all into a general etc aliases in a new freebsd server. cause it consist hundred thousand of record user inside how to make a shell script to combine it or configure it. all etc aliases record example: ... (0 Replies)
Discussion started by: peterLfs
0 Replies

6. UNIX for Dummies Questions & Answers

man aliases

Can any one show me how to create an alias account that silently copies local emails to the administrator (root) using a linux cmd line or GUI? The answer needs to be very simplly explained at this stage, as I am new to the command prompt...expecialy in linux. thanks heaps guys Pipa:) I... (2 Replies)
Discussion started by: Pipa
2 Replies

7. Shell Programming and Scripting

/etc/mail/aliases

HI I have 5000 users on sendmail server, also there entries of these users Mail ID in /etc/mail/aliases as per Diparments. Same Mail ID can occures in Diff Departments as per req. I have to remove 500 users from server also there entry from /etc/mail/aliases file. which occures many times. ... (1 Reply)
Discussion started by: Kumarsharad
1 Replies

8. UNIX for Dummies Questions & Answers

aliases

Is there a way to view what aliases are running on a given session? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

9. Programming

aliases

Hi. I have a C program that is using the **environ pointer and I am trying to set up aliases for a system("/bin/ksh") call. This works for other environment variables but not for the aliases. Does anyone know if this can be done? Thanks ahead of time. (1 Reply)
Discussion started by: mluey61
1 Replies

10. UNIX for Dummies Questions & Answers

Sendmail / Aliases

I'm trying to make a script that will automatically read incoming mail, parse the recipient, then send a file off to the recipient. (Name of file = mail.pl) #!/usr/bin/perl $mailDir = "/var/spool/mail/" $user = print `cat <STDIN> | grep To: | cut -b5-`; print `elm -s Awaiting Mail $user <... (1 Reply)
Discussion started by: ComTec
1 Replies
Login or Register to Ask a Question
MooseX::Aliases(3pm)					User Contributed Perl Documentation				      MooseX::Aliases(3pm)

NAME
MooseX::Aliases - easy aliasing of methods and attributes in Moose VERSION
version 0.10 SYNOPSIS
package MyApp; use Moose; use MooseX::Aliases; has this => ( isa => 'Str', is => 'rw', alias => 'that', ); sub foo { my $self = shift; print $self->that } alias bar => 'foo'; my $o = MyApp->new(); $o->this('Hello World'); $o->bar; # prints 'Hello World' or package MyApp::Role; use Moose::Role; use MooseX::Aliases; has this => ( isa => 'Str', is => 'rw', alias => 'that', ); sub foo { my $self = shift; print $self->that } alias bar => 'foo'; DESCRIPTION
The MooseX::Aliases module will allow you to quickly alias methods in Moose. It provides an alias parameter for "has()" to generate aliased accessors as well as the standard ones. Attributes can also be initialized in the constructor via their aliased names. You can create more than one alias at once by passing a listref: has ip_addr => ( alias => [ qw(ipAddr ip) ], ); FUNCTIONS
alias ALIAS METHODNAME Installs ALIAS as a method that is aliased to the method METHODNAME. CAVEATS
The order of arguments for the "alias" method has changed (as of version 0.05). I think the new order makes more sense, and it will make future refactoring I have in mind easier. The old order still works (although it gives a deprecation warning), unless you were relying on being able to override an existing method with an alias - this will now override in the other direction. The old argument order will be removed in a future release. BUGS
No known bugs. Please report any bugs through RT: email "bug-moosex-aliases at rt.cpan.org", or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Aliases <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Aliases>. SEE ALSO
o Moose o Method::Alias SUPPORT
You can find this documentation for this module with the perldoc command. perldoc MooseX::Aliases You can also look for information at: o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/MooseX-Aliases <http://annocpan.org/dist/MooseX-Aliases> o CPAN Ratings http://cpanratings.perl.org/d/MooseX-Aliases <http://cpanratings.perl.org/d/MooseX-Aliases> o RT: CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-Aliases <http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-Aliases> o Search CPAN http://search.cpan.org/dist/MooseX-Aliases <http://search.cpan.org/dist/MooseX-Aliases> AUTHORS
o Jesse Luehrs <doy at tozt dot net> o Chris Prather <chris@prather.org> o Justin Hunter <justin.d.hunter at gmail dot com> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jesse Luehrs. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.12.3 2011-04-29 MooseX::Aliases(3pm)