- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using ll to list files not working correctly
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 03:49 AM
11-15-2005 03:49 AM
i should get
drwxrwxrwx 2 root sys 96 May 12 2005 h16/
but i only get "h16"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 03:51 AM
11-15-2005 03:51 AM
Re: Using ll to list files not working correctly
Run the alias command to see if there are any aliases (aliai?) for ll.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 03:59 AM
11-15-2005 03:59 AM
Re: Using ll to list files not working correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 04:04 AM
11-15-2005 04:04 AM
Re: Using ll to list files not working correctly
You can make sure by doing a ls -l ,the output is same as ll if that works then there might be some issue on the ll file,rename and ftp a similar file from another server and try.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 04:08 AM
11-15-2005 04:08 AM
Re: Using ll to list files not working correctly
Example:
$ alias
autoload=typeset -fu
bdf=/usr/local/bin/bdfmegs
ls=ls -F
ll=ls
If you see "ll" in the output, there is an alias set for it which is preventing it from behaving normally. Use unset to get rid of the alias: "unset ll".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 06:38 AM
11-15-2005 06:38 AM
Re: Using ll to list files not working correctly
ll = ll -alf
i did the unset, but it still won't work properly. i may take it from another server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 06:46 AM
11-15-2005 06:46 AM
Re: Using ll to list files not working correctly
whereis ls tell you on a system which is working properly and one which is not ? Also, what are the file sizes and permissions of the first occurance of ls on the whereis output ?
A corruption is possible.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 06:51 AM
11-15-2005 06:51 AM
Re: Using ll to list files not working correctly
ll: /usr/bin/ll /usr/share/man/man1.Z/ll.1
root@host:/>whereis ls
ls: /sbin/ls /usr/bin/ls /usr/share/man/man1.Z/ls.1
output of ll
root@host:/>ll
.
..
lost+found
etc
stand
tmp
home
opt
usr
var
sbin
dev
net
.spc_disclaimer
.spc_trust_store
.sw
MANPATH
lib
bin
.profile
.ssh
u01
.dt
security_catalog
.dtprofile
.mozilla-license
.ICEauthority
.Xauthority
.mozilla
.TTauthority
depot
cdrom
sh_history
nsr
local100
.spc_trust_store.old
alias output
root@host:/>alias
autoload='typeset -fu'
command='command '
functions='typeset -f'
history='fc -l'
integer='typeset -i'
ll='ll -alf'
local=typeset
nohup='nohup '
r='fc -e -'
stop='kill -STOP'
suspend='kill -STOP $$'
type='whence -v'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 06:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 06:56 AM
11-15-2005 06:56 AM
Re: Using ll to list files not working correctly
unalias ll
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 06:57 AM
11-15-2005 06:57 AM
Re: Using ll to list files not working correctly
After you re-alias ll, to permanently fix this, we need to find where it is being set so we can remove it. You can try a find command:
find /home /etc/profile -exec grep 'alias ll' {} \;
That should flush out the culprit.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 07:10 AM
11-15-2005 07:10 AM
Re: Using ll to list files not working correctly
ll = ll -alf
should have been ll -alF
i found this with your help..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 07:13 AM
11-15-2005 07:13 AM
Re: Using ll to list files not working correctly
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 11:22 AM
11-15-2005 11:22 AM
Re: Using ll to list files not working correctly
/usr/bin/ll
This bypasses all aliases since alias does an exact match (ll does not match /usr/bin/ll). Another way to investigate a malfunctioning command is to ask the shell:
type ll
Always use 'type' (which is an alias to whence -v) and forget about which and whereis to track down what the shell will do. type will expand aliases, report on built-ins, etc.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2005 03:50 AM
11-16-2005 03:50 AM
Re: Using ll to list files not working correctly
You need to restrict root password and use sudo.
Sorrel