Sponsored Content
Operating Systems Linux Debian How to exit debian server terminal? Post 302854211 by Jonathan Sander on Tuesday 17th of September 2013 01:14:11 AM
Old 09-17-2013
Thank you very much!, I will try to do just that if a similar situation occur again.


Jonathan Sander Stensvold Hol.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SSH to a server and exit out

Hi, Can someone please help me in resolving this issue - I am doing SSH from a server 1 to another server 2 and executing some statements there and then automatically exit out of second server to the first where script was getting executed. Can you please help me script this code ? Thanks (3 Replies)
Discussion started by: rajpuneyani
3 Replies

2. Shell Programming and Scripting

Clear Terminal After Exit

I have had a look around and can not find the answer, I dont think im searching for the right phrase. I have written a script to control common functions on my server, however when exiting the script the terminal starts directly below the script that was running... how can i clear this so it... (2 Replies)
Discussion started by: foz
2 Replies

3. Shell Programming and Scripting

Terminal is closing on exit in ksh

hi while executing the following script, my terminal window is getting closed if I enter a invalid option. I want the script should go back the the command prompt. how to do achive it. i execute the script as . ./test #! /usr/bin/ksh Printf " Type of Installer : \n\t\t 1. Whole Build... (3 Replies)
Discussion started by: vij_krr
3 Replies

4. UNIX for Dummies Questions & Answers

Have to log out of a virtual terminal twice in order to exit virtual terminals

Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it. I have to log out of a virtual terminal by typing exit, then exit again as in: woodnt@toshiba-laptop ~ $ exit logout woodnt@toshiba-laptop ~ $ exit logout I DON'T have to do this when I'm... (1 Reply)
Discussion started by: Narnie
1 Replies

5. Shell Programming and Scripting

Need help on how to exit a script run on a server from a remote server

hi, I am using the below line to run a script from remote server(say server A) to another server(say server B). ssh username@servername ksh script name. The issue is the script logs into server B, executes the script on server B, transfers the file to server A but does not exit from... (4 Replies)
Discussion started by: yohasini
4 Replies

6. UNIX for Dummies Questions & Answers

SSH from MacOS X or PPC Debian to SUSE # Odd terminal chars # Eventual scripting

Well. I was recently given access to my work's machine via SSH. I'm pretty sure it's a SUSE machine, uname -a gives Linux machinename 2.6.16.60-0.54.5-bigsmp #1 SMP Fri Sep 4 01:28:03 UTC 2009 i686 i686 i386 GNU/Linux I'm not doing anything all that exciting, mostly data entry stuff. We... (14 Replies)
Discussion started by: pagrus
14 Replies

7. Shell Programming and Scripting

How to exit from a server?

Hi, I am on unix serverA where i have a script called A.sh more A.sh echo "Hello" ssh user1@serverB echo "Welcome" After the ssh takes me to serverB; i execute a script on serverB called B.sh more B.sh echo " You are serverB" exit exit With the two exit statements on serverB... (7 Replies)
Discussion started by: mohtashims
7 Replies

8. Shell Programming and Scripting

Script connect to remote server, not find files and exit only from remote server, but not from scrip

I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies

9. Shell Programming and Scripting

Terminal running bash/rsync script does not close with exit (MacOS High SIerra)

Hello, I am running a bash script to do an rsync back on a computer running MacOS High Sierra. This is the script I am using, #!/bin/bash # main backup location, trailing slash included backup_loc="/Volumes/Archive_Volume/00_macos_backup/" # generic backup function function backup {... (12 Replies)
Discussion started by: LMHmedchem
12 Replies
Template::Plugin::DateTime::Format(3pm) 		User Contributed Perl Documentation		   Template::Plugin::DateTime::Format(3pm)

NAME
Template::Plugin::DateTime::Format - format DateTime objects from inside TT with "DateTime::Format"-style formatters VERSION
version 0.02 SYNOPSIS
[% USE f = DateTime::Format('DateTime::Format::Strptime', { pattern => "%T" }) %] [% f.format(datetime_object) %] DESCRIPTION
Oftentimes, you have a DateTime object that you want to render in your template. However, the default rendering (2008-01-01T01:23:45) is pretty ugly. Formatting the DateTime with a DateTime::Format object is the usual solution, but there's usually not a nice place to put the formatting code. This plugin solves that problem. You can create a formatter object from within TT and then use that object to format DateTime objects. CREATING AN OBJECT Creating a formatter instance is done in the usual TT way: [% USE varname = DateTime::Format( ... args ... ) %] This creates a new formatter and calls it "varname". The constructor takes up to three arguments. The first argument is the name of the formatter class. It is required, and the named class must follow the DateTime::Format API. An exception will be thrown if the class cannot be loaded. The second argument is a reference to pass to the formatter's constructor. If it is an array reference, the array will be dereferenced before being passed to "new" as @_. Otherwise, the single reference is passed to the constructor. The third argument is optional and is the rest of @_ to pass to "format_datetime" after the DateTime object. I don't know if this is actually allowed by the API, but I figured it might come in handy. FORMATTING DATES Once you've created the object, invoke the "format" method with the DateTime object you'd like to format. The result of "format_datetime" is returned. METHODS
new Called by TT to create a new formatter. format($datetime) Formats $datetime. AUTHOR
Jonathan Rockway "<jrockway@cpan.org>" COPYRIGHT AND LICENSE
Copyright (c) 2008 Jonathan Rockway. This module is free software. You may redistribute it under the same terms as perl itself. AUTHOR
Jonathan Rockway <jrockway@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Jonathan Rockway. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2010-12-27 Template::Plugin::DateTime::Format(3pm)
All times are GMT -4. The time now is 02:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy