Search Results

Search: Posts Made By: rajivn786
1,267
Posted By rajivn786
Extract until nth occurence
Hi,

I couldn't figure how to extract until last occurence of a character.

I have the string ./dir1/file1/abc.sh

The output should be /dir1/file1

So, the command should display the path...
3,385
Posted By rajivn786
No international characters..just sequence data.
No international characters..just sequence data.
3,385
Posted By rajivn786
Thanks for the replies guys.. I have done bit...
Thanks for the replies guys..
I have done bit of research & found that wc -m counts characters while wc -c counts the bytes..
Is byte a character in general in this context??? Because both give...
3,385
Posted By rajivn786
head -1 file_nam | wc -m So, is the...
head -1 file_nam | wc -m

So, is the character count is 51 or 50..
Do we report the line feed?
3,385
Posted By rajivn786
I am new to Unix. Can we use this command? ...
I am new to Unix.
Can we use this command?

head -1 database.dat | wc
3,385
Posted By rajivn786
Each line is called a read, containing a number...
Each line is called a read, containing a number of characters.
accctaaccctaaccctaaccctaaccctaaccctaaccctaaccctaac
cctaacccaaccctaaccctaaccctaaccctaaccctaaccctaacccc...
3,385
Posted By rajivn786
Characters in a single read
Hi,

I have the file which has the data :


accctaaccctaaccctaaccctaaccctaaccctaaccctaaccctaac
cctaacccaaccctaaccctaaccctaaccctaaccctaaccctaacccc...
3,313
Posted By rajivn786
Reg urs 7th column in starting time and not the...
Reg urs 7th column in starting time and not the time taken by the process...
3,313
Posted By rajivn786
Hi back
ps
PID TTY TIME CMD
1541 pts/13 00:00:00 bash
1567 pts/13 00:00:00 ps

I changed it to 3.. for the time
But this wont show background processes right

Will this one work...
3,313
Posted By rajivn786
Hi
Hi,


I dont know much about shell scripting..I think the above should work..But can u say me what after printing value in the variable what does sed '1d' does...I am very thankful to you for...
3,313
Posted By rajivn786
simple script
Hi,

I just need a shell script to find out the processes taking longer time...(Unix/Linux)

Urgent response needed..

Rajiv
Showing results 1 to 11 of 11

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