Search Results

Search: Posts Made By: javabuddy
278,644
Posted By Neo
Simple rules of the UNIX.COM forums:
RULES OF THE UNIX AND LINUX FORUMS

For the latest version of the community rules (the official community rules page), please visit here. (https://www.unix.com/misc.php?do=cfrules)


No flames,...
2,983
Posted By joeyg
Please remember to search the Boards prior to asking a question
Take a look at:
I'm new to Unix. Which books should I read? - The UNIX and Linux Forums (https://www.unix.com/im-new-unix-books-should-i-read/)
2,148
Posted By Corona688
Linux and most software it runs is under the GNU...
Linux and most software it runs is under the GNU general public license. It's not UNIX because it's written from scratch, not derived from ancient UNIX source. It's also not UNIX by declaration: ...
2,148
Posted By yazu
There in no any UNIX OS now. Only unix clones....
There in no any UNIX OS now. Only unix clones. Redhat and Ubuntu are linix OS-es and so unix clones. They are both good choices for learning unix (but I believe you need only one distributive for the...
8,300
Posted By jostber
Start with the awk oneliners site: ...
Start with the awk oneliners site:

http://www.pement.org/awk/awk1line.txt

Get the original Awk book by the program authors:

The AWK Programming Language...
29,571
Posted By edidataguy
How about this: sed '1,10d' file*
How about this:
sed '1,10d' file*
44,244
Posted By cbkihong
First produce a diff of two files, say file1 is...
First produce a diff of two files, say file1 is the old copy, file2 is the newer copy.

diff file1 file2 > delta.diff

Then you can apply the diff to file1 by using the patch command:

patch...
8,551
Posted By
You can use the comm command. # cat test1 1 ...
You can use the comm command.
# cat test1
1
2
3
# cat test2
1
2
3
4
5
# comm -13 test1 test2
4
5
#
2,757
Posted By neutronscott
The whole idea is flawed. What is wrong with ...
The whole idea is flawed. What is wrong with


[mute@geek ~/test]$ awk -F"|" 'NR == 1' students.txt
101|suresh|45|25|45|chennai


You are reading by redirection in bash each line into $line,...
2,757
Posted By mrbinoy
awk problem
firstly I read through while loop....see that done < file name...

---------- Post updated at 12:38 PM ---------- Previous update was at 12:36 PM ----------

awk -F "|" '{if ( NR == 1 ) print $0...
13,701
Posted By userlinx
Linux online training resources
Dear all,

I am preparing the RHCE Linux certification and I need to practise, practise and practise linux administration ...I wold be very pleasen if somebody lists here online training resources...
770
Posted By Ygor
Try something like...$ tail -1 file1 2011-05-17...
Try something like...$ tail -1 file1
2011-05-17

$ if [[ $(tail -1 file1) = $(date '+%Y-%m-%d') ]]
> then
> echo today
> fi
today

$
Showing results 1 to 12 of 12

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