Search Results

Search: Posts Made By: Deanne
2,302
Posted By Deanne
Thanks guys. I can do reset to restore my...
Thanks guys.

I can do reset to restore my terminal. But I wanted to display and navigate the directory. I didn't notice when exactly it started acting like this but it's been a while since I last...
2,302
Posted By Deanne
Thanks devtakh. There's nothing wrong with its...
Thanks devtakh.
There's nothing wrong with its permission.
2,302
Posted By Deanne
Help with 'ls' output
Hi,

Anyone knows why I can't display the contents of my directory and how to fix this? Are my data corrupted? Executing 'file' command doesn't work either.

Snapshot:...
3,381
Posted By Deanne
weird 'ls' output
Hi,

Anyone knows why I can't display the contents of my directory and how to fix this?

http://i50.tinypic.com/4smfth.jpg

Thanks in advance for any advise.

Deanne


Double post. ...
4,744
Posted By Deanne
thanks ahmad, but i also dont have -E option....
thanks ahmad, but i also dont have -E option. same output as scottn.

but hey, i guess i will just start from the output of the perl code scottn suggested. :ok:

thanks everyone!
4,744
Posted By Deanne
hi gaurav, please see below: ...
hi gaurav,

please see below:


pdc44_abc818j>> uname -a
SunOS abc44 5.8 Generic_117350-61 sun4u sparc SUNW,Sun-Blade-1000

abc44_abc818j>> ls --version
ls: illegal option -- -
ls: illegal...
4,744
Posted By Deanne
I see that we have different ls -l output. ...
I see that we have different ls -l output.

Mine looks similar to thegeek's example:

drwx------ 2 gdm gdm 4096 Jan 1 1970 orbit-gdm/
drwx------ 2 test test 4096 Jan 10 13:10...
4,744
Posted By Deanne
hi gaurav, thanks. i tried your code and the...
hi gaurav, thanks.
i tried your code and the following is what the shell returns:

Use of implicit split to @_ is deprecated at -e line 1.
Use of uninitialized value in split at -e line 1, <>...
4,744
Posted By Deanne
^ I don't have GNU.
^ I don't have GNU.
4,744
Posted By Deanne
^thanks, but im using csh on solaris...
^thanks, but im using csh on solaris...
4,744
Posted By Deanne
List files and display last modify time in a particular format
hi everyone,

can someone suggest how i can list the contents of a directory and display their corresponding last modify time in the format yyyymmddhhmm?

thanks in advance!
1,903
Posted By Deanne
print last 2 fields of a line
Hi everyone, happy new year!

Can someone teach me how I can print the last 2 fields of every line in a file (lines don't have uniform number of fields), for example:

input file:
aaa bbb ccc...
4,231
Posted By Deanne
wow, thanks franklin! that worked perfectly! :big...
wow, thanks franklin! that worked perfectly! :big grin:
4,231
Posted By Deanne
please ignore my last post...
awk -v var=$counter 'NR==var{print $25}' $argv[1]

When I use -v, i get:
awk: syntax error near line 1
awk: bailing out near line 1

:confused:
4,231
Posted By Deanne
thanks guys, but when I use -v, i get "subscript...
thanks guys, but when I use -v, i get "subscript out of range"
4,231
Posted By Deanne
Hmmm, can someone help me why it doesnt work when...
Hmmm, can someone help me why it doesnt work when i use a variable for the "given_line", eg:

awk 'NR==$counter{print $25}' $argv[1]

thanks in advance!
4,231
Posted By Deanne
thanks franklin! will try it! oh im using...
thanks franklin! will try it!

oh im using the default field separator (space) :)
4,231
Posted By Deanne
how to print field n of line m
Hi everyone, I have a basic csh/awk question.

How do I print a given field from a given line in a given file?

Thanks in advance!
11,906
Posted By Deanne
thanks ranjithpr! it works. it was my first...
thanks ranjithpr! it works. it was my first instinct to do that but the "-gt" was what the man pages indicate. i should have tried that one.
:)
11,906
Posted By Deanne
im using csh, this has always been the form of if...
im using csh, this has always been the form of if that i have been using...
11,906
Posted By Deanne
integers in the if statement
hi, im trying to compare two variables in csh to put in an if statement, eg:

set a = $firstnum
set b = $secondnum
if ($a -ge $b) echo $a

But I get an error ("if: Expression syntax"). How can...
7,041
Posted By Deanne
^ this might sound very silly, but what run queue...
^ this might sound very silly, but what run queue is that?
7,041
Posted By Deanne
Xbrowser/Xmanager question
In the Xbrowser window, under status column, i see the following:

2 users, load: 3.7, 3.7, 3.7

What does "load" mean exactly, and the three numbers?

Thanks!
4,054
Posted By Deanne
combine 2 lines
Moderator, kindly delete this thread because I already found what I needed... thanks.
4,177
Posted By Deanne
thanks jim! the code was a big help and i...
thanks jim! the code was a big help and i especially like the sorted output!

my problem is now reduced to the following:
1. how can i exclude the lines without...
Showing results 1 to 25 of 43

 
All times are GMT -4. The time now is 02:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy