06-23-2005
ls -l
or ll (lowercase L)
give the "long" version of a file names with protections, size, file owner, and date
10 More Discussions You Might Find Interesting
1. IP Networking
hi there i'm a new bie
just got few simple questions to ask.
I got expert in windows configuration but totally new to unix environment . I want to make sure a com port (com1) is working, so I connect a 9-pin cable (CB9) for both PC using Unix environment (unix to unix).
The question are (1)... (1 Reply)
Discussion started by: typsam
1 Replies
2. Shell Programming and Scripting
hi all,
got a question about grep, ive written a script (Bourne) and i'm using grep -i to search for a file and return the records that i'm looking for. This all works fine, but, i was wondering how i can get an error message if that word isn't in the file.
E.G.
the user enters: tree
and if... (2 Replies)
Discussion started by: wazzag
2 Replies
3. UNIX for Dummies Questions & Answers
Okay here is a DOS comparison. When I search for a file in DOS and I was not sure what directory it was in then I would put dir /s/o/p filename the s would tell it to look in every directory including subs, the o would sort it alphabetically and the p would limit the display to one page at a... (1 Reply)
Discussion started by: wmosley2
1 Replies
4. UNIX for Dummies Questions & Answers
I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal... (3 Replies)
Discussion started by: deckard
3 Replies
5. HP-UX
Hello there.
I have a question regarding the ioscan commnad.
When you execute the line ioscan -fnC processor it outputs a list of all processors in the machine.
Does this list displays only physical CPUs or does it displays each core?
For example, if i have a server with 1 Dual Core... (10 Replies)
Discussion started by: Spilson
10 Replies
6. Shell Programming and Scripting
Hi all
I want to give a command which outputs the number of files have name ending in .pdf(output is just number). Can somebody help me (3 Replies)
Discussion started by: thungmail
3 Replies
7. UNIX for Dummies Questions & Answers
I'm new to Unix and I'm looking for some assistance. We have 20 different accounts we must login to every day. Logging in has become quite the chore and most nights, we have to log out. I'm looking for a way to simply copy and paste the commands into each window to make things easier.
I have been... (2 Replies)
Discussion started by: Judo_Bear
2 Replies
8. UNIX for Dummies Questions & Answers
I am going through the Unix Made Easy second edition book by John Muster. So far it's been very informative and I can tell it may be a bit out of date.
In one of the exercises it talks about the "sort" command and using it to sort column's of data etc. The "sort" command has changed a bit and... (1 Reply)
Discussion started by: budfoxcat
1 Replies
9. Homework & Coursework Questions
There was a question that I have been asked, I won't lie it is from homework, regrading the ls, list, command and I am hopelessly lost and just can't seem to figure it out. Here is question:
Summarized Question
There is something about the naming of the files in a directory that cause ls,... (4 Replies)
Discussion started by: TheRaiderNation
4 Replies
10. UNIX for Dummies Questions & Answers
Hi Guys,
I am new on the scripting world and would like ask for help if you can.
Here are my questions below:-
What Unix command(s) would you put in a shell script to read an ASCII comma-delimited input file and validate that field 5 only contains numeric characters?
What Unix command(s)... (5 Replies)
Discussion started by: mahiwaga
5 Replies
LEARN ABOUT DEBIAN
fusioninventory::agent::tools::unix
FusionInventory::Agent::Tools::Unix(3pm) User Contributed Perl Documentation FusionInventory::Agent::Tools::Unix(3pm)
NAME
FusionInventory::Agent::Tools::Unix - Unix-specific generic functions
DESCRIPTION
This module provides some Unix-specific generic functions.
FUNCTIONS
getDeviceCapacity(%params)
Returns storage capacity of given device, using fdisk.
Availables parameters:
logger a logger object
device the device to use
getIpDhcp
Returns an hashref of information for current DHCP lease.
getFilesystemsFromDf(%params)
Returns a list of filesystems as a list of hashref, by parsing given df command output.
logger a logger object
command the exact command to use
file the file to use, as an alternative to the command
getFilesystemsTypesFromMount(%params)
Returns a list of used filesystems types, by parsing given mount command output.
logger a logger object
command the exact command to use
file the file to use, as an alternative to the command
getProcessesFromPs(%params)
Returns a list of processes as a list of hashref, by parsing given ps command output.
logger a logger object
command the exact command to use
file the file to use, as an alternative to the command
getRoutingTable
Returns the routing table as an hashref, by parsing netstat command output.
logger a logger object
command the exact command to use (default: netstat -nr -f inet)
file the file to use, as an alternative to the command
perl v5.14.2 2012-06-25 FusionInventory::Agent::Tools::Unix(3pm)