I have a dout in -u option in ls command. If we give ls -lt command it will dispaly the last modfied time. If we give ls -lu command it will display the last usage time of the file.
My doubt here is Please refer the below commands.
In the above commnds in ls -lu command, i am getting the older date comparing with the timestamp in ls -lt command.
But ls -lu should show the newer timestamp right. Please correct me if i am wrong
Thanks,
Puni
Moderator's Comments:
You should be familiar using code tags instead of using different fonts etc. - I've sent a PM with a guide as reminder, thanks.
Hi All,
I want to ssh to a remote terminal i did the following steps
1. On the client run the following commands:
2. $ mkdir -p $HOME/.ssh
3. $ chmod 0700 $HOME/.ssh
4. $ ssh-keygen -t dsa -f $HOME/.ssh/id_dsa -P ''
and then tried the following
$ ssh -i $HOME/.ssh/id_dsa server
... (1 Reply)
Hi,
I need to capture output of prstat command for certain pid's .I found it as prstat -j filename. I created a filename projlist gave the pid number on the projlist file and run the cmd like this
>prstat -j projlist
prstat: illegal argument -- projlist
can anybody suggest how to... (1 Reply)
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
I know one of the more seasoned veterans probably opened this thread looking for their chance to refer me to the site's search feature and let me tell you.
I'VE LOOKED!!!! And I didn't find anything helpful...
So, I've got a windows background and I'm fond of its search feature which comes... (6 Replies)
Good day all.
I'm trying to add a user with useradd and the -p option to assign a project name, but the result is that the user is created with an error message: "UX: useradd: user.root name should be all lower case or numeric."
The command:
useradd -d /export/home/tester -g rtpgrp -G... (2 Replies)
Hi gurus of unix, I haved installed my openSolaris in a HP530,
Recently I use the following command
beadm destry opensolaris1
beadm destry opensolaris2
After That I reboot my Laptop.
Well when I go to my work I try to open my wireshark tool, but the option in GUI interface does not appear!!!... (2 Replies)
Hi,
I am using mailx command in shell script. When i put -c option for CC , i get error message as "Unknown flag: -c" . I checked manual of mailx command and found that ~c to be used but after using ~c also it is not working. My shell is Korn. Kindly let me know what i have to do .
Thanks (9 Replies)
Hi,
i am using fgrep command with following syntax
fgrep -v -f pattern_file_name file
file contains few line and have the pattern which i am giving in pattern file.
My Problem is :
its is not giving any output.
while i am using fgrep -f pattern_file_name file
it is showing all... (4 Replies)
Hello Guys ,
I am trying to run below in one of my script but unable to get it succeed .
Can anyone help me on this?
I am using HP-UX.
if
then
write_log " Both files are present . Mail will be send to respective teams."
EMAIL_SUBJECT="MGCA - File Extraction Process COMPLETED"... (12 Replies)