Sponsored Content
Full Discussion: A little unsure of something
Operating Systems Linux A little unsure of something Post 302099978 by Cisco on Friday 15th of December 2006 05:29:13 AM
Old 12-15-2006
A little unsure of something

If i want to display a banner that says Happy Bday, but I want to put that output banner into a file called bday4me,

could I use the command (echo) or (banner -w35) Happy Bday >> bday4me

would this command work? Sorry for asking, but i'm at home just now and don't have access to a UNIX system.

thanks Smilie
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unsure if this is a unix datestamp??? can you guys tell?

hi everyone im new here and im hoping you could help me out here. Yesterday i removed a time stamp from a program that i am using.This timestamp should contain a date of 04/04/2008 with a time sometime in that day. the stamp in hex is 7C FE 2B 04 DA 4E E3 40 ive looked everywhere and im... (1 Reply)
Discussion started by: uselessprog
1 Replies

2. Post Here to Contact Site Administrators and Moderators

Unsure what caused an infraction on my account.

Hey everyone. I wasn't sure what it meant when my profile said it had 1 infraction against it, so I thought I'd check it out. Unfortunately, I can't find the post in question. The date from the post in question is 07-09-2008 at 04:24 AM, but from what I can tell is marked as 'private'. I'd... (2 Replies)
Discussion started by: glen.barber
2 Replies

3. Shell Programming and Scripting

Unsure of sed notation (nu\\t.\*)

This piece of code is in a shell script I'm trying to modify to run on my system. sed s:nu\\t.\*:"nu=0" It's clearly a substitute script which replaces nu\\t.\* with nu = 0. What exactly does nu\\t.\* demarcate though-- I thought it was just the previous nu = xxxxx (which existed and is... (3 Replies)
Discussion started by: czar21
3 Replies

4. UNIX for Beginners Questions & Answers

Unsure why access time on a directory change isn't changing

Hello... And thanks in advance for any help anyone can offer me I was trying to work out the differences between displaying modify, access, and change times with the 'ls' command. Everything seems in order when I look at files, but the access time on a directory doesn't seem to change when I... (4 Replies)
Discussion started by: bodisha
4 Replies
libssh2_session_banner_set(3)					  libssh2 manual				     libssh2_session_banner_set(3)

NAME
libssh2_session_banner_set - set the SSH prococol banner for the local client SYNOPSIS
#include <libssh2.h> int libssh2_session_banner_set(LIBSSH2_SESSION *session, const char *banner); DESCRIPTION
session - Session instance as returned by libssh2_session_init_ex(3) banner - A pointer to a zero-terminated string holding the user defined banner Set the banner that will be sent to the remote host when the SSH session is started with libssh2_session_handshake(3) This is optional; a banner corresponding to the protocol and libssh2 version will be sent by default. RETURN VALUE
Returns 0 on success or negative on failure. It returns LIBSSH2_ERROR_EAGAIN when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se. ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed. AVAILABILITY
Added in 1.4.0. Before 1.4.0 this function was known as libssh2_banner_set(3) SEE ALSO
libssh2_session_handshake(3), libssh2_session_banner_get(3) libssh2 1.4.0 9 Sep 2011 libssh2_session_banner_set(3)
All times are GMT -4. The time now is 08:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy