Search Results

Search: Posts Made By: psychognite
9,085
Posted By psychognite
uniq -d is meant for displaying duplicate...
uniq -d is meant for displaying duplicate lines....
3,310
Posted By psychognite
sudo dpkg --remove --force-remove-reinstreq...
sudo dpkg --remove --force-remove-reinstreq oracle-java7-installer
2,969
Posted By psychognite
Try this out
#!/bin/bash
echo -e "\t\tDATE\tDIR1\tDIR2\tDIR3\tDIR4\n"
for date in `awk -F, '{ print $1 }' file | sort | uniq`
do
printf "%20s" $date
for dir in `awk -F, '{ print $2 }' file | sort | uniq...
907
Posted By psychognite
Try this out...!! find Music/ -name "*"...
Try this out...!!

find Music/ -name "*" -exec sh -c 'if `test ` grep “FROM=TESTFILE.DATA;TO=” $1>>/dev/null`` ; then mv -v "$1" DIR ; else echo "$1 doesn't match pattern";' sh '{}' \;
2,456
Posted By psychognite
sed 's/;/\n/g' foo | sed -e 'x;G;s/[0-9]*\n//;h'...
sed 's/;/\n/g' foo | sed -e 'x;G;s/[0-9]*\n//;h' | sed '/^$/d'
1,523
Posted By psychognite
grep error your_file | cut -d'"' -f4..... try...
grep error your_file | cut -d'"' -f4.....
try this
3,152
Posted By psychognite
sed 's^:/.*$^ your_value ^g' s try this .....!!
sed 's^:/.*$^ your_value ^g' s
try this .....!!
10,769
Posted By psychognite
it can also be script as...>> awk -F'["/]'...
it can also be script as...>>

awk -F'["/]' '{print $1$4}' r

---------- Post updated at 11:38 AM ---------- Previous update was at 11:35 AM ----------

also be scripted as---->>

awk...
10,769
Posted By psychognite
cat log | cut -d/ -f1,3 | tr -d \"/ How to...
cat log | cut -d/ -f1,3 | tr -d \"/

How to use code tags (https://www.unix.com/how-post-unix-linux-forums/167686-forum-video-tutorial-how-use-code-tags.html) when posting data and code samples.
Showing results 1 to 9 of 9

 

Featured Tech Videos

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