Search Results

Search: Posts Made By: psychognite
11,271
Posted By psychognite
uniq -d is meant for displaying duplicate...
uniq -d is meant for displaying duplicate lines....
4,607
Posted By psychognite
sudo dpkg --remove --force-remove-reinstreq...
sudo dpkg --remove --force-remove-reinstreq oracle-java7-installer
3,631
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...
1,224
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 '{}' \;
3,605
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'
2,010
Posted By psychognite
grep error your_file | cut -d'"' -f4..... try...
grep error your_file | cut -d'"' -f4.....
try this
3,587
Posted By psychognite
sed 's^:/.*$^ your_value ^g' s try this .....!!
sed 's^:/.*$^ your_value ^g' s
try this .....!!
43,191
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...
43,191
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

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