Accurev's "show" Command : "-t" flag does not work [closed] - accurev

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
On the command line in Windows, I'm tring to run:
accurev show -p <myDepotName> -t 2011/11/09 13:26:19 streams
After I enter this command, the accurev help just prints out for accurev show.
Please advise me on how to use the accurev show command.

You need to enclose the -t argument in quotes -
accurev show -p <myDepotName> -t "2011/11/09 13:26:19" streams

Related

Do commercial firewalls have API / Remote CLI? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I mean firewalls like Checkpoint, Fortigate, sonicWALL etc.
Do they have have API or Remote CLI ?
can i, for example, send them a remote call to filter in\out a certain port?
I Just want to know if that's possible, if you have examples that's awesome, but evena simple "yes, Checkpoint and soincwall does that" are great!
I only have some experience with Fortigate-firewalls. They usually have SSH.
This means you could use a command like this:
ssh <hostname_or_IP> -t "echo 'hello world'"
to sumbit your new rules to your firewall.

SSH replace string example [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I need to replace multiple (150+) config.php files on live server that contain string
public_html/home2/cpaneluser
to
public_html/home/cpaneluser
can someone give me an example of SSH string replace please.
if you can give me an example of replacing ONE and replacing multiple please .
thank you!
Use sed. This has not specific to ssh, which is just a way to login to a remote server.
sed -i.bak 's|public_html/home2/cpaneluser|public_html/home/cpaneluser|' file1 file2 ...
You say there are 150+ files. You can use find to find them and pass them to the command:
find <topdir> -name config.php -exec sed -i.bak 's|public_html/home2/cpaneluser|public_html/home/cpaneluser|' {} +

copy newest files to another directory via ssh [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to copy the files that were created during the last 3 days from one directory to another.
I'm using the command find . -mtime -3 to list the latest files but how do I copy then to another directory?
Thanks!
This answer should help you
find . -mtime -3 -exec cp {} /destinationfolder \;

Is there scat (as in 'scp', etc) or something similar? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I was wondering if there's such a tool to view a text file on a remote server?
Something like scat user#my.server.com/text.txt?
Obviously scat is just my imagination. But you get the idea! :)
Thanks,
ssh user#my.server.com 'cat /text.txt'
Use SSH, e.g. ssh user#host "cat ~/text.test"

Add permission on \d, \dp commands [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have a PostgreSQL 9.x database and user connect it via psql command. I need a add permission to \d, \dp commands. How to do it?
The \d and \dp commands simply issue SQL queries in the background. I think the only way to "add permissions" to those psql commands is to change the permissions on the underlying system tables.
To find out which statements are sent, you can start psql with the -E option. Then all meta data statements are shown on the console.
If the user have the privilege of connecting the database and selecting the table , than \d,\dp commond will be permited by using the psql tool