Search Results

Search: Posts Made By: Arunprasad
1,814
Posted By Arunprasad
Print entire line only if certain fixed character matches the string
Hi All,

I have a file testarun.txt contains the below lines and i want to print the lines if the character positions 7-8 matches 01.

201401011111
201401022222
201402013333
201402024444...
1,708
Posted By Arunprasad
Thanks a lot! It worked perfectly. I am...
Thanks a lot!

It worked perfectly. I am trying to manipulate few more. This really helped a lot!!
1,708
Posted By Arunprasad
That worked!!!! So simple opposite logic... Nice....
That worked!!!! So simple opposite logic... Nice.

However i wanted my output delimited by comma character.
1,708
Posted By Arunprasad
Awk with Find and play using Space
Hi All,

Sample records

2157 91128 -rw-r----- 1 arun1 staff 93315072 Aug 23 06:44 /home/arun/my own/file_name.txt
2157 91128 -rw-r----- 1 arun1 staff 93315072 Aug 23 06:44...
28,131
Posted By Arunprasad
Hi drl, Thats a great idea! the...
Hi drl,

Thats a great idea!

the rename worked for me.... sas able to read the dataset without any issues.

The actual .zip file what i have is 337 MB in size then probably it will be more...
28,131
Posted By Arunprasad
Hi drl, thanks a lot for ur info! i am not...
Hi drl,

thanks a lot for ur info! i am not upto to what you have updated....

i played around and got where the problem is:
I have a dataset file copied in Windows called test_run.sas7bdat...
28,131
Posted By Arunprasad
Hi All, Really thanks a lot for your help! ...
Hi All,

Really thanks a lot for your help!
I think i have diverted you. Here is the output for your suggestions:

1. server1:/home/arun# gunzip < HOTEL_INFO.zip
gunzip: stdin: first entry...
28,131
Posted By Arunprasad
Hi Hari, Thanks a lot for the info! It...
Hi Hari,

Thanks a lot for the info!
It seems the !gunzip also works with ".gzip" or ".gz" file. And i surfed around and found that

gunzip -S .zip HOTEL_INFO.zip

this command will work...
28,131
Posted By Arunprasad
Help with gunzip
Hi All,

I have a file "HOTEL_INFO.zip" and getting the below errors:


server1:/home/arun# gunzip -S .zip HOTEL_INFO.zip
gunzip: HOTEL_INFO.zip: first entry not deflated or stored -- use...
3,157
Posted By Arunprasad
Thanks a lot for providing more background! ...
Thanks a lot for providing more background!

It seems the above is related to Linux anyways i believe thats a not a big deal here.
I am worried about why the ls is not listing the user name for...
3,157
Posted By Arunprasad
Hi, Thanks for the info! I thought the...
Hi,

Thanks for the info!
I thought the same but in my case, all user s are LDAP and not maintained locally. So how system determines that this user has been deleted and let represent the userid...
3,157
Posted By Arunprasad
Hi Corona688, Thanks for the information! ...
Hi Corona688,

Thanks for the information!
As i said in my earlier note, all of the application users are maintained through LDAP. Since LDAP no users information are maintained in /etc/passwd...
3,157
Posted By Arunprasad
Question on file owner name representation
Hi All,

I came across a situation where i saw a directory name given below:


drwxrwxrwx 5 121973 staff 8192 Apr 26 23:47 arunpr


Just for your info:
1. All our application user ids...
2,780
Posted By Arunprasad
Question on passing multiple parameters in if
Hi All,
My target is to find the list of orphan processes running and i issue the below command with some exception ids.

ps -ef | egrep -v "root|system|admin" | awk '{if ($3 == 1) print...
10,268
Posted By Arunprasad
File modification time comparison
Hi All,

I have two files (given below) each exists under different paths. I want to compare the modification time stamp of file1.txt is lessthan the modification time of file2.txt.



...
1,939
Posted By Arunprasad
Question on directory size
Hi All,

Please clarify me on the below:

/home/arun>ls -l
drwxrwxrwx 2 arun system 1024 Oct 06 2009 - arun_req

/home/arun>cd arun_req
/home/arun/arun_req>ls -l...
6,570
Posted By Arunprasad
here is the output of file command: >file...
here is the output of file command:

>file NJUSP_XYXYXY_NONONO
NJUSP_XYXYXY_NONONO: data or International Language text
>

i am not sure, this means a binary file. please let me know how i...
6,570
Posted By Arunprasad
FTP file from MF to AIX, fully encrypted
Hi All,

I have connected to MainFrame system from Unix AIX Server then using ftp i get the file "NJUSP_XYXYXY_NONONO" to Unix. Now when i tried opening this file using cat/more i am getting the...
1,575
Posted By Arunprasad
Hi, As per my understanding, when we use...
Hi,

As per my understanding, when we use %012.2f in printf will keeps leading zero values. But it is not coming like this. Please explain.

And when i use the above code as it is, i am getting...
1,575
Posted By Arunprasad
Leading zero's getting truncated on columns
Hi All,
I have a input file named 'inputtest.txt' like below:
"335588","DW02.CAPTURED_ROC_14","13016063","00000000000001541897035.77"...
Forum: Solaris 11-20-2009
2,593
Posted By Arunprasad
polexx, simply issue `df -k /directory` and...
polexx,

simply issue `df -k /directory` and check its output. i am not sure about -v option.

-k option will return size in Kb.
34,968
Posted By Arunprasad
make two files unpwd file contains username...
make two files
unpwd file contains username and password with : as delimiter
serverlistfile with list of destination servers

try do something like this, but something can be made with:

awk...
8,662
Posted By Arunprasad
try ping this peer "205.111.86.22" and check...
try ping this peer "205.111.86.22" and check whether it is alive
16,276
Posted By Arunprasad
vidyadhar85, I want to run every 3 days say...
vidyadhar85,
I want to run every 3 days say like 1st, 4th, 7th, 10th, 13th ......

jim mcnamara,
I verified the man page for %s in date command and which is not available (for %S is avaiable)....
16,276
Posted By Arunprasad
Scheduling a command to run every 3 days through cron
Hello,

I have to schedule a command to run on every 3 days. Whether the below cron entry will work?

0 3 */3 * * command

Please help me out and thanks in advance!
Showing results 1 to 25 of 93

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