Now my Question is If suppose the file is like
The script fails here when I write ./script test server
---------- Post updated at 02:58 PM ---------- Previous update was at 02:54 PM ----------
If there is space in between server = linux the scripts fails, But the script should give the result and the last case is If i have commented the portion
for example #server=linux
then the script should consider this one
Hello All,
Good day! This is my first UNIX post. :D
Anyways, I would like to seek help from you guys if you know of any UNIX command that will skip a warning message once it is encountered but continue to run the execution.
Ok here's the situation in general:
An encypted file is sent to... (2 Replies)
Hello friends:
I login to solaris with a username/Password and I can see quite a lot of previous I use dbefore, it accumulates a lot, I hope to output them into a Command.txt file as reference, not copy/paste 1 by 1, is there any way I can collect all commands in batch then put into a file,
... (3 Replies)
Discussion started by: sunnysunnysunny
3 Replies
4. Post Here to Contact Site Administrators and Moderators
Hi Neo , I was searching for Unix Certifications on Google and got u r thread:
"unix-certification-most-needed-these-days.html"
It was a gr8 read. Nice to know ur thoughts.. I m also a newbie to this Unix world and had a gr8 interst in it. I m learning shell scripting and other basics. Would... (2 Replies)
Hi ,
i have a file with data as below.This is same file. But actual file contains to many rows.
i want to search for a string "Field 039 00" and delete that line and previous 3 lines in that file.. Can some body suggested me how can i do using either sed or awk command ?
Field 004... (7 Replies)
Hello,
I am new to this forum so any assistance would help.
I am currently trying to develop a script that extract all data from a log file with has the previous day's date.
$ <root@aixtest3> /var/log > more sudo.log
May 13 10:52:10 aixtest3 local2:notice sudo: tbrath : TTY=unknown ; ... (14 Replies)
Hello,
We have Windows 10 machine connected to Sparc T5440 server via serial cable.
We access the server from the Windows 10 machine using putty via serial connection. This allows us to access ILOM and Unix.
We have recently noticed that whenever we reboot the windows machine (Windows 10),... (11 Replies)
Discussion started by: jasonu
11 Replies
LEARN ABOUT PHP
fbsql_pconnect
FBSQL_PCONNECT(3) 1 FBSQL_PCONNECT(3)fbsql_pconnect - Open a persistent connection to a FrontBase ServerSYNOPSIS
resource fbsql_pconnect ([string $hostname = ini_get("fbsql.default_host")], [string $username = ini_get("fbsql.default_user")], [string
$password = ini_get("fbsql.default_password")])
DESCRIPTION
Establishes a persistent connection to a FrontBase server.
To set the server port number, use fbsql_select_db(3).
fbsql_pconnect(3) acts very much like fbsql_connect(3) with two major differences:
First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and
password. If one is found, an identifier for it will be returned instead of opening a new connection.
Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for
future use.
This type of links is therefore called 'persistent'.
PARAMETERS
o $hostname
- The server host name.
o $username
- The user name for the connection.
o $password
- The password for the connection.
RETURN VALUES
Returns a positive FrontBase persistent link identifier on success, or FALSE on error.
SEE ALSO fbsql_connect(3).
PHP Documentation Group FBSQL_PCONNECT(3)