Search Results

Search: Posts Made By: solea
189,051
Posted By solea
Hello, cat file | awk -F= '/^Number of...
Hello,

cat file | awk -F= '/^Number of records loaded/ {printf $2}'
--
Solea
Forum: Solaris 08-03-2005
5,497
Posted By solea
Hello, I wrote Then, logged as sudouser...
Hello,

I wrote
Then, logged as sudouser type:
su -

You must read
Then, logged as sudouser type:
sudo su -

:o
Forum: Solaris 08-01-2005
4,563
Posted By solea
Tracing the GPU usage
Hello,

Can give me some tips to trace the GPU usage on a solaris8 update7 box?
I try to understand why a Cadcam app is so slow on my Solaris box compared to a win$ box. I guess it comes from the...
Forum: Solaris 08-01-2005
5,497
Posted By solea
Sudo simple configuration
Hello,

The sudo cmd allow a dedicate user or to switch root using the su cmd or to run cmd that have been aliases on the suoers file.

A simple example, on the sudoers file type:
#User alias...
Forum: Solaris 04-07-2005
6,052
Posted By solea
The java desktop is supported by SUN (it's based...
The java desktop is supported by SUN (it's based on gnome project) on solaris platform.
To configure it have a look on the the docs.sun.com website (do a simple search using "java desktop"...
Forum: Solaris 03-03-2005
4,147
Posted By solea
oracle process and LWP on solaris 8 box
Hi all,

Without oracle tunning I understand that oracle processes always run on a single CPU at a time (the prstat output always show 1 CPU number) even on multi-processor hardware.
Is it...
2,488
Posted By solea
the -b option of ls gives the octal value for non...
the -b option of ls gives the octal value for non printable characters, using the tr command as indicated it's much more simple.
Thx.
17,032
Posted By solea
the find cmd allow you to find a file matching...
the find cmd allow you to find a file matching time criteria:

find /etc/passwd -mtime 10

will return a filename only if the file have been modified ten days ago.
Using the crontab you can...
4,865
Posted By solea
use of regex on grep
having a look on the regex site I saw that characters can be search using hex values
http://www.regular-expressions.info/characters.html

So I try to use it whith grep to find a è on a string...
2,488
Posted By solea
low-order seven bits
Hi and thx in advance :)

I have to transfert files between a UNIX server and a Network Appliance Filer and i have problem with accent characters on filename.

On unix side accent are...
15,746
Posted By solea
Try the archive mode (rsync -a) this should solve...
Try the archive mode (rsync -a) this should solve your problem.
Good luck
6,760
Posted By solea
ksh built-in function
Does anyone know why the following expression return an error
[[ "$(echo yop | grep o)" ]]
while the following one not
[ "$(echo yop | grep o)" ]
??
Thanks
189,051
Posted By solea
using ksh: i=$(echo questionlabel |awk...
using ksh:

i=$(echo questionlabel |awk '{print length($0)}')

To parse the four firts characters of a string:

echo "welcome" | cut -c4
8,571
Posted By solea
The RTM idea was : Do you have NAWK on your...
The RTM idea was :
Do you have NAWK on your system?
5,881
Posted By solea
## client side ## 1) edit the...
## client side ##

1) edit the /etc/auto_master filer as follow

/local_directory remotehost:/path/to/shared

2) start the automounter

/etc/init.d/autofs start

## server side ##

1)...
Forum: Solaris 09-10-2004
21,438
Posted By solea
Sorry I missed the first line returned by the...
Sorry I missed the first line returned by the find command (the dot)
The following code should work:
ksh
cd dty
for file in $(ls)
do
[ ! -h "$file" ] && cp -pr "$file" bkp_dty
done
Forum: Solaris 09-10-2004
21,438
Posted By solea
Exclude the links of the list to copy : ksh ...
Exclude the links of the list to copy :
ksh
cd dty
for file in $(find . ! -type l)
do
cp -pr $file backup_dty
done

In case you want a tool for backup try rsync :www.samba.org/rsync...
Forum: Solaris 09-09-2004
4,831
Posted By solea
The default CDE configuration directory is...
The default CDE configuration directory is /usr/dt, it's not recommended to modify the default conf. Simply copy this directory under /etc modify the file you need then reload CDE (logout/login), the...
8,573
Posted By solea
If the processes are shell script you can use...
If the processes are shell script you can use SIGNAL to trigger an action. Use the TRAP command on the script to trap signal and use the KILL command to send signal (I think signal 16 and 17 are...
8,616
Posted By solea
Is there any alias on this command? You can...
Is there any alias on this command?
You can also try to "truss" the call to see what file is protected by the system.
Forum: Solaris 08-11-2004
7,788
Posted By solea
I can't find a nice way to do it... so here is an...
I can't find a nice way to do it... so here is an odd way (tested on solaris box, it works).

You have to create 3 user accounts per "real world" user, eg:
...
8,338
Posted By solea
You are right I tought the file kludge (set using...
You are right I tought the file kludge (set using the permissions) was responsible for locking. It's clear now.
Many thanks.
8,338
Posted By solea
I was talking of the "file permission kludge"...
I was talking of the "file permission kludge" (sorry, translation are sometimes difficults). I never used it so far but I understand from the man page that some applications can use this file...
Forum: Solaris 08-10-2004
7,788
Posted By solea
Hello, Not sure to understand, what is the...
Hello,

Not sure to understand, what is the man pages of the restricted shell you mention?
8,338
Posted By solea
Do you know a standard UNIX app that use the...
Do you know a standard UNIX app that use the mandatory lock if it have been set on the file?
Thanks!
Showing results 1 to 25 of 28

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