Search Results

Search: Posts Made By: dinjo_jo
12,593
Posted By dinjo_jo
Thanks parted just meets my requirements
Thanks parted just meets my requirements
1,654
Posted By dinjo_jo
Why not just replace x with * and run a bc on it ?
Why not just replace x with * and run a bc on it ?
12,593
Posted By dinjo_jo
Ok i forgot that fdisk only creates the partition...
Ok i forgot that fdisk only creates the partition as un-formatted then you have to use mke2fs to create partition.

In anyways can this automated I mean can all these options be specified via...
12,593
Posted By dinjo_jo
[Solved] Creating unformatted partition
I needed to create a un-formatted partition of X MB on a disk dont want it from GUI but from command line not sure what should be specified for fdisk
37,765
Posted By dinjo_jo
This works for me #!/bin/bash args=("$@") ...
This works for me

#!/bin/bash
args=("$@")
INDEX=0
touch sorterfile
if [ -z $args ]; then
echo "Error"
else
while [ $# -gt $INDEX ]; do
NUM=${args[$INDEX]}
echo $NUM
echo ./sorter $NUM >>...
2,214
Posted By dinjo_jo
@pinga Didn't that command worked which i gave ?
@pinga
Didn't that command worked which i gave ?
2,010
Posted By dinjo_jo
Can you elaborate more the subject line of thread...
Can you elaborate more the subject line of thread and what you are expecting is confusing, you want to delete lal.com but as per the output file its deleting some other text too.
30,911
Posted By dinjo_jo
No & does move the job to next line
No & does move the job to next line
14,712
Posted By dinjo_jo
You will need to install that ,
You will need to install that ,
3,329
Posted By dinjo_jo
No i mean can it handle any no of columns...
No i mean can it handle any no of columns irrespective of datatypes ?
14,712
Posted By dinjo_jo
if you are on linux it support mult file tail ...
if you are on linux it support mult file tail

tail -f filename -f filename

Or use the below script.

#!/bin/sh

trap 'kill $(jobs -p)' EXIT

for file in "$@"
do

tail -f $file &
done...
4,357
Posted By dinjo_jo
Are you even sure what you are trying to achieve ?
Are you even sure what you are trying to achieve ?
32,678
Posted By dinjo_jo
Use this command this is the fastest , even...
Use this command this is the fastest , even faster than find.

ls -lR . | egrep -c '^-'

The reason for difference is output in find and ls is ignoring hidden files.
4,357
Posted By dinjo_jo
295 % grep 'John' filename| awk '{print $2}END{...
295 % grep 'John' filename| awk '{print $2}END{ if (! found) {print "0"} else {print "20"} }'
20
0
3,329
Posted By dinjo_jo
Is this hardcoded logic as this does not seems to...
Is this hardcoded logic as this does not seems to be working
3,590
Posted By dinjo_jo
or just use expect to handle interactive prompts
or just use expect to handle interactive prompts
1,720
Posted By dinjo_jo
Something which i tried but didn't worked need to...
Something which i tried but didn't worked need to get put a another text value if there is no match


If file has no Butten that row should have a some extra text "ABC" at end of column i tried...
1,720
Posted By dinjo_jo
Very well explained , top notch
Very well explained , top notch
1,720
Posted By dinjo_jo
cgkmal it works. How do i identify at which...
cgkmal it works.

How do i identify at which column the match was found ? So that i can do some more processing
1,720
Posted By dinjo_jo
Get Column location Dynamically
File Format

U A 45 B
N A 78 M
M A 98 O


Need to search for A in the file and whichever location is A is located need to get its next column i.e need to get 45 78 and 98 and put these...
1,757
Posted By dinjo_jo
Thanks it helped
Thanks it helped
1,757
Posted By dinjo_jo
No but i'm asking that since i see a lot of them...
No but i'm asking that since i see a lot of them using it whats its significance is it for only first time ?
17,544
Posted By dinjo_jo
mkdir -p your full path of directories
mkdir -p your full path of directories
1,757
Posted By dinjo_jo
This seems the best solution awk...
This seems the best solution

awk '$1=="State" && $3!~"0x0000"{print x}{x=$3}'

anyone knows what does 1 stands for ?

awk '$1=="State" && $3!~"0x0000"{print x}{x=$3}1'
3,179
Posted By dinjo_jo
Can't you use perl for it ? Or Use SQL...
Can't you use perl for it ?

Or

Use SQL use SQL Loader in shell script and interpolate the variables to SQL.
Showing results 1 to 25 of 231

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