Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: dinjo_jo
9,226
Posted By dinjo_jo
Thanks parted just meets my requirements
Thanks parted just meets my requirements
1,141
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 ?
9,226
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...
9,226
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
27,567
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 >>...
1,457
Posted By dinjo_jo
@pinga Didn't that command worked which i gave ?
@pinga
Didn't that command worked which i gave ?
1,584
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.
29,277
Posted By dinjo_jo
No & does move the job to next line
No & does move the job to next line
11,420
Posted By dinjo_jo
You will need to install that ,
You will need to install that ,
2,342
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 ?
11,420
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...
2,961
Posted By dinjo_jo
Are you even sure what you are trying to achieve ?
Are you even sure what you are trying to achieve ?
31,472
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.
2,961
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
2,342
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
2,869
Posted By dinjo_jo
or just use expect to handle interactive prompts
or just use expect to handle interactive prompts
1,216
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,216
Posted By dinjo_jo
Very well explained , top notch
Very well explained , top notch
1,216
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,216
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,076
Posted By dinjo_jo
Thanks it helped
Thanks it helped
1,076
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 ?
14,440
Posted By dinjo_jo
mkdir -p your full path of directories
mkdir -p your full path of directories
1,076
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'
2,576
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

 

Featured Tech Videos

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