I need to edit the password file to change the password field to *LK* for a specified account (abctest) like:
abctest:*LK*:135:20::/home/abctest:/sbin/sh
Can anyone help me do this using ed or sed?
Thanks a lot! (6 Replies)
Hi again,
I have a script that moves files based on filelist:
------------------------------
filelist1=./rated.txt
for file in $(< $filelist1)
do
mv ./$file ./Backup/$file
done
------------------------------
If the file in filelist is not found from the folder the script fails.... (1 Reply)
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
I am using solaris unix 8.2 version. I want to bypass password authentication for sftp. Can you please give some ideas on this. thanks.Regards. (4 Replies)
I can able to SFTP from my web server unix to apps server unix end. but the other way from APPS server to Web server is still asking me the password. I have done same procedure both side. still i am having same problem. Any one help on this. thanks, regards (3 Replies)
I am trying to get a file by doing ftp to the server.
The below script works fine but as I type password it is displayed as simple text.
HOST='192.108.245.101'
echo 'username: '
read USER
echo 'password:'
read PASSWD
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
lcd... (1 Reply)
Hi All,
I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup.
I am working on Solaris 10.
Here is the code.
#!/bin/ksh
# sample automatic Sftp script to dump a file
USER="user1"
PASSWORD="pass1"
HOST="host1"
sftp $USER@$HOST... (6 Replies)
Hello,
I have a text file in the below format:
Source Destination State Lag Status
CQA02W2K12pl:D:\CAQA ... (10 Replies)
Discussion started by: pocodot
10 Replies
LEARN ABOUT DEBIAN
latexml::token
LaTeXML::Token(3pm) User Contributed Perl Documentation LaTeXML::Token(3pm)NAME
"LaTeXML::Token" - representation of a token, and "LaTeXML::Tokens", representing lists of tokens.
DESCRIPTION
This module defines Tokens ("LaTeXML::Token", "LaTeXML::Tokens") that get created during tokenization and expansion.
A "LaTeXML::Token" represents a TeX token which is a pair of a character or string and a category code. A "LaTeXML::Tokens" is a list of
tokens (and also implements the API of a LaTeXML::Mouth so that tokens can be read from a list).
Common methods
The following methods apply to all objects.
"@tokens = $object->unlist;"
Return a list of the tokens making up this $object.
"$string = $object->toString;"
Return a string representing $object.
Token methods
The following methods are specific to "LaTeXML::Token".
"$string = $token->getCSName;"
Return the string or character part of the $token; for the special category codes, returns the standard string (eg.
"T_BEGIN-"getCSName> returns "{").
"$string = $token->getString;"
Return the string or character part of the $token.
"$code = $token->getCharcode;"
Return the character code of the character part of the $token, or 256 if it is a control sequence.
"$code = $token->getCatcode;"
Return the catcode of the $token.
Tokens methods
The following methods are specific to "LaTeXML::Tokens".
"$tokenscopy = $tokens->clone;"
Return a shallow copy of the $tokens. This is useful before reading from a "LaTeXML::Tokens".
"$token = $tokens->readToken;"
Returns (and remove) the next token from $tokens. This is part of the public API of LaTeXML::Mouth so that a "LaTeXML::Tokens" can
serve as a LaTeXML::Mouth.
AUTHOR
Bruce Miller <bruce.miller@nist.gov>
COPYRIGHT
Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US.
perl v5.10.1 2009-06-11 LaTeXML::Token(3pm)