Sponsored Content
Full Discussion: resize
Top Forums Shell Programming and Scripting resize Post 302521374 by drbiloukos on Wednesday 11th of May 2011 05:17:44 AM
Old 05-11-2011
Part of my script
Code:
#!/bin/sh

(echo open 10.246.224.61
sleep 2
echo user
sleep 2
echo pass
sleep 2
echo exit) | telnet

resize on my .profile will actually prevent the exit command to exit telnet:
esize: unknown character, exiting.
It will not close the connection
If I remove resize it works OK.

Any way to overcome this without removing resize ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to resize partitions?

I have recently changed software systems for my small business. I was running SCO OpenServer v 5.0 and have now gone to a windows based system using Windows Server 2003. No problems with the changover as the server hardware was changed also. The problem I am having is that I would like to... (2 Replies)
Discussion started by: dtn
2 Replies

2. AIX

resize fs

Hello everyone I need to resize a filesystem /home I want to add 200mb and I have space on the disk with lsvg rootvg command I check this but I cant because has a mirror. Do you know some way that I can do this. Thanks in advance (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

3. UNIX for Advanced & Expert Users

resize filesystems

Dear All We have HP9000 rp7400 Server running with hp-ux 11i. Our Disk storage has two volume groups and are allocated as follows: 1. /#vgdisplay -v --- Volume groups --- VG Name /dev/vg00 VG Write Access read/write VG Status available... (1 Reply)
Discussion started by: mhbd
1 Replies

4. Filesystems, Disks and Memory

how to resize a file

hello every body. in a little bit of a jam here.if you all happen to know how to resize the tmp file in my linux system. I use a sabayon 3.5 on a x86 machine. itried to make a dvd image copy but the system gives me a error message telling me the temporary folder used to make images is too small.... (3 Replies)
Discussion started by: dvas83
3 Replies

5. UNIX for Dummies Questions & Answers

how to resize pv (pvresize)

i am running redhat on VMware i increased a disk size from san for existing disk /dev/sdb how do i resize the disk # pvdisplay --- Physical volume --- PV Name /dev/sdb1 VG Name localvg PV Size 15.00 GB / not usable 2.99 MB ... (0 Replies)
Discussion started by: robo
0 Replies

6. HP-UX

Resize volume

Dear All, We have HP Unix 11.31. We have two VG, VG01 and VG02. In VG01 there are three mount point each of 100gb size. There is no data on below mount point /soft/01 /soft/02 /soft/03Is it possible to resize each of these mount point to 50 GB. So 150 GB will free and release from... (2 Replies)
Discussion started by: bhattnirav
2 Replies

7. Shell Programming and Scripting

resize images

Is there a script or extension that I can look into that will re-size an allotment of images to a given size?? Id like to take images of a certain size and resize them but Im dont remember an install option that can do it if installed in ubuntu but I, also unsure in what code I will have to learn.... (2 Replies)
Discussion started by: graphicsman
2 Replies

8. AIX

Resize Lun

Good afternoon! Help with a solution I have AIX 7.1 works through vios I expanded Lun that it is necessary to make that aix saw this change and to expand the section lvm Sorry for my English (1 Reply)
Discussion started by: iformats
1 Replies

9. Red Hat

Please tell me how to resize the partitions

It is not allowing me to create a new partition...... I know that there are no free sectors available.... I want to RESIZE the partitions which are already created. Please tell me how to resize the partitions.....Don't tell me that we can resize through parted command.... please tell me all... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

10. Solaris

Resize rpool

Hi, I have rpool about 500G. So i want to use 210G from rpool and assign mount point as /database. I seek in google and couldn't found it. Does anyone know how to achieve it? Thanks. (2 Replies)
Discussion started by: mzainal
2 Replies
SYSTEMD-SUSPEND.SERVICE(8)                                    systemd-suspend.service                                   SYSTEMD-SUSPEND.SERVICE(8)

NAME
systemd-suspend.service, systemd-hibernate.service, systemd-hybrid-sleep.service, systemd-suspend-then-hibernate.service, systemd-sleep - System sleep state logic SYNOPSIS
systemd-suspend.service systemd-hibernate.service systemd-hybrid-sleep.service systemd-suspend-then-hibernate.service /lib/systemd/system-sleep DESCRIPTION
systemd-suspend.service is a system service that is pulled in by suspend.target and is responsible for the actual system suspend. Similarly, systemd-hibernate.service is pulled in by hibernate.target to execute the actual hibernation. Finally, systemd-hybrid-sleep.service is pulled in by hybrid-sleep.target to execute hybrid hibernation with system suspend and pulled in by suspend-then-hibernate.target to execute system suspend with a timeout that will activate hibernate later. Immediately before entering system suspend and/or hibernation systemd-suspend.service (and the other mentioned units, respectively) will run all executables in /lib/systemd/system-sleep/ and pass two arguments to them. The first argument will be "pre", the second either "suspend", "hibernate", "hybrid-sleep", or "suspend-then-hibernate" depending on the chosen action. Immediately after leaving system suspend and/or hibernation the same executables are run, but the first argument is now "post". All executables in this directory are executed in parallel, and execution of the action is not continued until all executables have finished. Note that scripts or binaries dropped in /lib/systemd/system-sleep/ are intended for local use only and should be considered hacks. If applications want to react to system suspend/hibernation and resume, they should rather use the Inhibitor interface[1]. Note that systemd-suspend.service, systemd-hibernate.service, and systemd-hybrid-sleep.service systemd-suspend-then-hibernate.service should never be executed directly. Instead, trigger system sleep states with a command such as "systemctl suspend" or similar. Internally, this service will echo a string like "mem" into /sys/power/state, to trigger the actual system suspend. What exactly is written where can be configured in the "[Sleep]" section of /etc/systemd/sleep.conf or a sleep.conf.d file. See systemd-sleep.conf(5). OPTIONS
systemd-sleep understands the following commands: -h, --help Print a short help text and exit. --version Print a short version string and exit. suspend, hibernate, hybrid-sleep, suspend-then-hibernate Suspend, hibernate, suspend then hibernate, or put the system to hybrid sleep. SEE ALSO
systemd-sleep.conf(5), systemd(1), systemctl(1), systemd.special(7), systemd-halt.service(8) NOTES
1. Inhibitor interface https://www.freedesktop.org/wiki/Software/systemd/inhibit systemd 237 SYSTEMD-SUSPEND.SERVICE(8)
All times are GMT -4. The time now is 06:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy