Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: frappa
1,443
Posted By alister
No. It will remove trailing spaces (if present)...
No. It will remove trailing spaces (if present) only in the second field. The first field will always match, since the spaces are optional (there is only one space in my regular expression). The...
11,930
Posted By Scrutinizer
Try: for i in FILE1*; do mv "$i"...
Try:
for i in FILE1*; do
mv "$i" "FILE2${i#FILE1}"
done
3,083
Posted By agama
The -c option on your tar command is causing a...
The -c option on your tar command is causing a new file to be created with each invocation. When there are more files in your input file than can be placed on the command line xargs will invoke tar...
6,793
Posted By birei
Hi boaz733, One way using 'perl': $...
Hi boaz733,

One way using 'perl':

$ perl -ne 'if ( /2012\/01\/02 12:00:07/ .. /2012\/01\/03 12:00:08/ ) { print }' infile
result.log.00:2012/01/02 12:00:07.422 LOG STARTED HERE
...
95,350
Posted By michelle_denise
If you have a core file and you have compiled the...
If you have a core file and you have compiled the program with debuging options (-g), you can see where the core was dumped:
$ gcc -g -o something something.c $ ./something Segmentation fault...
Showing results 1 to 5 of 5

 

Featured Tech Videos

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