Search Results

Search: Posts Made By: Mr.Aketi
11,414
Posted By Mr.Aketi
Hi, You can check the variable value using...
Hi,

You can check the variable value using echo. For example

$ car=10
$ echo $car
10


Thanks,
Aketi...
56,675
Posted By Mr.Aketi
Hi, You can get the expected output using...
Hi,

You can get the expected output using for loop as follows.

for i in `cat file1 | awk {'print $1'}`
do
grep ${i} file2
done


Thanks,
Aketi...
17,302
Posted By Mr.Aketi
Hi, You can check the largest files under...
Hi,

You can check the largest files under directories and subdirectories by using the following command.

ls -lR | sort +4 -5nr | head -10

R -- will check the files under subdirectories

...
10,604
Posted By Mr.Aketi
Hi, I do have an idea to resolve this issue....
Hi,

I do have an idea to resolve this issue. Taking the uniq values of the third column with the help of awk, sort and uniq. Grep the values in the original file using for loop and use head -1 to...
7,421
Posted By Mr.Aketi
Hi, You can overcome it by using doubt...
Hi,

You can overcome it by using doubt quotes, as follows.

grep -v "00127772*" a.txt >a1.txt


Thanks
Aketi
4,135
Posted By Mr.Aketi
Hi, You'll get the same output using the...
Hi,

You'll get the same output using the awk. You can also get the output of first words in firstword.txt

your command.... | awk {' print $1'} | tee firstword.txt

For example, if you want to...
434,507
Posted By Mr.Aketi
Hi, I believe this will be done by using the...
Hi,

I believe this will be done by using the following command.

tar -zxvf test123.tar.gz

z -- unzip
x -- extract the file
v -- verbose
f -- forcefully done

Thanks and Regards,
Aketi
Showing results 1 to 7 of 7

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