Search Results

Search: Posts Made By: radoulov
12,493
Posted By radoulov
Try: LC_ALL=C tree
Try:
LC_ALL=C tree
1,250
Posted By radoulov
Following up on MadeInGermany's more standard sed...
Following up on MadeInGermany's more standard sed solution,
I suppose the OP needs something like this:
sed '/^dns\.com$/ {N;N;d;}' /tmp/temp.txt
1,250
Posted By radoulov
Try: sed '/^dns\.com$/,+2d' /tmp/temp.txt
Try:
sed '/^dns\.com$/,+2d' /tmp/temp.txt
4,138
Posted By radoulov
Either use a VM with Linux and ask here or, if...
Either use a VM with Linux and ask here or, if you choose Windows, post on the Oracle Forums (https://community.oracle.com/community/database/general_questions/installation).
4,138
Posted By radoulov
Yes, you can. You can also use Oracle VirtualBox...
Yes, you can. You can also use Oracle VirtualBox on Windows to setup
a VM with Oracle Linux (or CentOS) and install Oracle Database on it.
4,138
Posted By radoulov
You have installed only the client. You're not...
You have installed only the client. You're not able to connect as there's no database ...
Oracle Database Server is not supported on Ubuntu, you can use a free supported
platform like Oracle Linux.
3,442
Posted By radoulov
Just for your info: with GNU awk 4+ you don't...
Just for your info:
with GNU awk 4+ you don't need an external program for sorting:

awk 'BEGIN {
# scan arrays by values ASCIIbetical order
PROCINFO["sorted_in"] = "@val_str_asc"
}
{...
Forum: Solaris 07-16-2014
10,388
Posted By radoulov
As a side note, the shell pattern * won't match...
As a side note, the shell pattern * won't match filenames that start with a dot
(unless some non-standard shell option similar to bash's dotglob is active) ,
so the above command won't show you...
1,200
Posted By radoulov
perl -00e'print sort <>' infile
perl -00e'print sort <>' infile
Forum: Solaris 05-26-2014
62,700
Posted By radoulov
In the output of vmstat the free memory is in KB,...
In the output of vmstat the free memory is in KB, the sar output is in pages.
bash-3.2$ sar -r 1 1

SunOS <name> 5.10 Generic_147440-09 sun4v 05/26/2014

14:23:00 freemem freeswap
14:23:01...
78,957
Posted By radoulov
You don't need to do so because neither word...
You don't need to do so because neither word splitting nor pathname expansion(globbing) are performed in this context.
2,750
Posted By radoulov
Try: var_path=$PWD echo "$var_path" case...
Try:
var_path=$PWD
echo "$var_path"
case $var_path in
( *src* ) echo "this $var_path contains 'src'";;
esacOr just:
case $PWD in
( *src* ) echo "this $PWD contains 'src'";;
esac
15,570
Posted By radoulov
Remove the prompt and use &1 instead of...
Remove the prompt and use &1 instead of &client_id.
15,570
Posted By radoulov
If I understand correctly: $ cat a.sql ...
If I understand correctly:

$ cat a.sql
select &1 from dual;
$ field_name=sysdate
$ sqlplus -s '/ as sysdba' <<EOF
> @a.sql "$field_name"
> EOF
old 1: select &1 from dual
new 1: select...
2,095
Posted By radoulov
If Perl is acceptable: perl -F, -lane' push...
If Perl is acceptable:
perl -F, -lane'
push @d, [@F];
END {
$, = ",";
for $i (0..$#F) {
push @o, [sort { $a <=> $b } map $d[$_][$i], 0..$#d]
}
for $i (0..$#d) {
...
Forum: Solaris 03-25-2014
10,460
Posted By radoulov
Well, as always - it depends, but a graceful...
Well, as always - it depends, but a graceful restart of Apache usually has a limited impact.
8,527
Posted By radoulov
To defer the expansion of the variables: ...
To defer the expansion of the variables:

bash-3.00$ su - oracle -c "x=1; echo $x"
Password:
Sun Microsystems Inc. SunOS 5.10 Generic January 2005

bash-3.00$ su - oracle -c "x=1; echo...
8,527
Posted By radoulov
Try this: su - oracle -c " export...
Try this:

su - oracle -c "
export ORACLE_SID=BRCFMS
export ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/dbhome_1
export PATH=\$PATH:\$ORACLE_HOME/bin

sqlplus -s scott/tiger <<EOF
spool...
Forum: Solaris 03-24-2014
1,427
Posted By radoulov
After installing the binaries (the Oracle RDBMS...
After installing the binaries (the Oracle RDBMS software), you'll need to create the database.
21,875
Posted By radoulov
Or: [ -e "$DIRTOCREATE" ] || mkdir -p --...
Or:
[ -e "$DIRTOCREATE" ] || mkdir -p -- "$DIRTOCREATE"
Forum: Red Hat 01-09-2014
3,924
Posted By radoulov
Note that you should not use raw devices with...
Note that you should not use raw devices with Oracle ASM
(raw devices are desupported since Oracle 11.2 - see Announcement on using Raw devices with release 11.2 (Doc ID 754305.1)
and Raw Devices...
Forum: AIX 01-09-2014
20,043
Posted By radoulov
Note that the interpretation of metrics like disk...
Note that the interpretation of metrics like disk utilization's busy and util should be different for modern architectures that use external storage (SAN, NAS etc.).
This post...
14,046
Posted By radoulov
Consider the following: zsh-5.0.0[t]% cat...
Consider the following:
zsh-5.0.0[t]% cat infile
a1
a2
a3
a4
a5
a6
a7
b1
b2
b3
b4
b5
b6
b7
z1
z2
z3
z4
14,046
Posted By radoulov
Hm ..., it should be something like this: ...
Hm ..., it should be something like this:

awk '{
r = length(r) ? r OFS $0 : $0
}
!(NR % 7) {
print r
r = x
}' infile
14,046
Posted By radoulov
awk 'ORS=NR%7?FS:RS' infile
awk 'ORS=NR%7?FS:RS' infile
Showing results 1 to 25 of 500

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