Search Results

Search: Posts Made By: Minguccio75
Forum: Solaris 02-21-2007
10,131
Posted By Minguccio75
great! Thnks a lot!
great!
Thnks a lot!
Forum: Solaris 02-20-2007
10,131
Posted By Minguccio75
It's the same: touch -t 200702120000 1.txt ...
It's the same:

touch -t 200702120000 1.txt
usage: touch [-amcf] file ...
Forum: Solaris 02-19-2007
10,131
Posted By Minguccio75
timestamp
Hi!
I would to change the timestamp of a file to 12 FEB 2007 00:00 on sun solaris 10.
I used:

touch filename -t 200702120000

but doesn' t work!
3,167
Posted By Minguccio75
It doesn't work: witch.tar `find *.log*...
It doesn't work:

witch.tar `find *.log* -mtime +5` --remove-files)5); [[ -z ]] || tar -cvvf logs
-bash: unexpected argument `]]' to conditional unary operator
-bash: syntax error near `]]'
...
3,167
Posted By Minguccio75
The problem is that I'm using a perl module...
The problem is that I'm using a perl module (expect) to send the command and like so it doesn't works!
These are the commands that I use:

$cmd="tar -cvvf logswitch.tar `find *.log* -mtime +5`...
3,167
Posted By Minguccio75
Thanks I'll try.
Thanks I'll try.
3,167
Posted By Minguccio75
launch a command only if
Hi!
I would launch this command:

tar -cvvf logswitch.tar `find *.log* -mtime +5` --remove-files

only if

find *.log* -mtime +5

find some files.

Thanks in advance.
50,890
Posted By Minguccio75
I found the solution: tar -cvvf...
I found the solution:

tar -cvvf logswitch.tar `find *.log* -mtime $Days` --remove-files
50,890
Posted By Minguccio75
Is there the possibility to erase the files using...
Is there the possibility to erase the files using an option of the tar command?
50,890
Posted By Minguccio75
: D deleting files after the creation of a tar archive
Hi, I would modify to delete the files after creating the tar archive.
How I can modify the following command:

tar -cvvf logswitch.tar `find *.log* -mtime +5`

It create a tar with files that...
10,099
Posted By Minguccio75
SOLUTION: On the checkpoint firewall: echo...
SOLUTION:
On the checkpoint firewall:
echo admin2 >> /etc/scpusers
10,099
Posted By Minguccio75
I attach a the first command with verbose option:...
I attach a the first command with verbose option:

scp -v 1.txt admin2@fwtest:~
Executing: program /usr/bin/ssh host fwtest, user admin2, command scp -v -t ~
Sun_SSH_1.1, SSH protocols 1.5/2.0,...
10,099
Posted By Minguccio75
It doesn't works...
It doesn't works...
10,099
Posted By Minguccio75
FIND solution: scp problem
I have some problems using scp between a server Sun Solaris and a SecurePlatform Checkpoint.
If I try to copy a simple file txt from the server Sun Solaris to the SecurePlatform, I have...
3,035
Posted By Minguccio75
passphrase and ssh authentication
In which case could be better don't use a passphrase creating an authentication key for ssh comunications?
Thanks in advance.
12,013
Posted By Minguccio75
thanks for the suggestion... but you can say me...
thanks for the suggestion...
but you can say me why when I write on a tape for two or three times, after when I give the command tar tvf /dev/rmt/0, I see only the last files written?
12,013
Posted By Minguccio75
Space free on tape /delete a single file on tape
Hi,
I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape.
Thanks
DOMENICO
47,972
Posted By Minguccio75
how to know the gcc version
Please someone can say me how to know the gcc version installed on my sunsolaris?
Thanks
3,866
Posted By Minguccio75
Thanks a lot!
Thanks a lot!
3,866
Posted By Minguccio75
change permission chmod
Hi,
when I launch my perl script, I write on the shell:

perl x.pl

How I can can change the permission to write only:

x

to launch the program?
2,125
Posted By Minguccio75
Thanks! Have a nice day!
Thanks!
Have a nice day!
2,125
Posted By Minguccio75
I need of a simple shell script
Hi,
I need of a simple shell script to launch a perl script.
The complet path of the script is:

/export/home/x2693/project/v02/appliancemanagement.pl
17
3,847
Posted By Minguccio75
Reply to: Is there a space or other...
Reply to:

Is there a space or other non-printing char at the end of the filename?

If you can run it in an interactive shell and are using autocomplete you might not even be aware of this.
...
17
3,847
Posted By Minguccio75
Reply to: Check that: *...
Reply to:

Check that:
* /export/home/x2693/project/scripts/test.pl exists and has the appropriate perms,
* the first line of /export/home/x2693/project/scripts/test.pl is like:
...
17
3,847
Posted By Minguccio75
Reply to: As has already been asked what do...
Reply to:

As has already been asked what do you get if you run the same command from the command line?

Johnf,
if I run the same command from the command line, I have no problem:
the programm...
Showing results 1 to 25 of 33

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