Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Is there a limit in number of lines to be Copy pasted in VI editor ? Post 302745493 by radoulov on Monday 17th of December 2012 10:37:26 AM
Old 12-17-2012
I've never faced such an issue, but it seems easy to work around:

1. Use cat, instead of vi:

Code:
cat > infile
... paste here ...
hit Ctrl-D/^D to indicate EOF

2. Convert the files using dos2unix after the secure copy (scp).
This User Gave Thanks to radoulov For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Limit of number of lines for awk and sed.

Hi, I'm using awk and sed to extract some data out from a text file. The text file consists of data over a million (prolly millions) of lines. Question: Is there a limit of number of lines for awk and sed? Thanks in advance. (2 Replies)
Discussion started by: 60doses
2 Replies

2. UNIX for Dummies Questions & Answers

Number of long limit

Hi Hi! I'm currently using AIX 5.2 and would like to know where can i find to see that there's a restriction on the number of login times a user can have. Example, I want give a 2 login per user but some one to give 3 login and some one have to give unlit login time (without logging off the... (2 Replies)
Discussion started by: herath
2 Replies

3. Solaris

How to limit number of Commands

Is there a way that I can limit number of commands that one user can run during period of time. For example Max 10 commands per senconds.:) (3 Replies)
Discussion started by: winger0608
3 Replies

4. Shell Programming and Scripting

Vi editor, copy one column?

This is an vi editor question. I do not know is this a right place to ask this question or not? I have a file with the following contents, 10 11 20 21 30 31 I want to copy first column that is 10,20,30 after second column, so that output will look like the following, 10 11 10 20 21 20... (3 Replies)
Discussion started by: MeetP
3 Replies

5. UNIX for Dummies Questions & Answers

Copy/Paste in Vi editor

Dear All, I have a file containing 12 lines. First 3 lines have 9 values and the remaining 9 lines with no values. I was trying to copy and paste these 9 values of the first 3 lines into last 9 lines simultaneously as A=1.491331, B=1.539000 ..... but I don't know how to cope with this... (9 Replies)
Discussion started by: sullah
9 Replies

6. Shell Programming and Scripting

Limit on Number of characters in a line - Vi editor

In the vi editor, there seems to be some limit on the number of characters could be allowed in single line. I tried a line with characters up to 1880. It worked. But when i tried with something of 5000 characters, it doesnt work. Any suggestions. Thanks in advance! (2 Replies)
Discussion started by: nram_krishna@ya
2 Replies

7. UNIX for Dummies Questions & Answers

Limit Number of files

hi guys how can i limit number of files in a disk or partition ? or how can i make a limit to inode number for a disk or partition ? ext3 or ext4 file system (1 Reply)
Discussion started by: mhs
1 Replies

8. Shell Programming and Scripting

Reading from a file with limit number of lines

Hi, I am trying to pull data from a txt file which has 51 lines Example AK AR AL AZ CA CO CT Now i want to send above data as input to script but i want to run them twice at a time in a nohup like nohup Script_name AK & (3 Replies)
Discussion started by: krux_rap
3 Replies

9. Shell Programming and Scripting

Copy-pasted code behaves diffrent

Heyas I'm currently attempting to apply the code of tui-select to tui-list. That is because tui-list simply made a 1 string list, while tui-select uses dynamicly up to 3 strings per line. Anyway, so i copy pasted the code, and just made the changes marked with red.... Know that both scripts... (2 Replies)
Discussion started by: sea
2 Replies

10. UNIX for Dummies Questions & Answers

Copy/paste in vi editor

Hello guys, I am trying to copy a line in vi editor and paste it with below commands but paste command is not working and instead of paste action prints the p character!! I should also mention that the server is Solaris... 1) crontab -e 2) j to move down 3) yy to copy the line 4) o to... (4 Replies)
Discussion started by: Newman
4 Replies
ftp-proxy(8)							    Proxy-Suite 						      ftp-proxy(8)

NAME
ftp-proxy - application level proxy for the FTP protocol SYNOPSIS
ftp-proxy [-c] [-d|-i] [-f file] [-n] [-v level] [-V] DESCRIPTION
FTP-Proxy acts as an application level gateway between FTP clients and servers. Its main purpose is to secure local FTP servers against possibly insecure clients or malicious attacks. FTP-Proxy is believed to be immune against current known attacks based on the FTP proto- col. FTP-Proxy can be started from the inetd (or xinetd, or any other) internet super daemon or executed on its own as a standalone daemon, in which case it will fork child processes to handle connections. The behaviour depends on the ftp-proxy.conf(5) configuration option Server- Type or the -i and -d command line switches, where the latter two take precedence. FTP-Proxy features a rich set of auditing and command restriction capabilities and is specifically suited for deployment in firewall envi- ronments. OPTIONS
-V Print the program's version information and terminate with exit code 0. -c Read the configuration file, output its contents sorted by section and option name to standard output, and terminate with exit code 0. This option is mostly interesting for diagnostic purposes. -d Force FTP-Proxy to run in standalone (daemon) mode, even if a ServerType inetd directive exists in the configuration file. -i Force FTP-Proxy to run in inetd mode, even if a ServerType standalone directive exists in the configuration file. -f filename Specify an alternate configuration file to be read instead of the standard /etc/proxy-suite/ftp-proxy.conf file. Please note that the default path for the configuration file is a compile time option. It can be changed using the --prefix and --sysconfdir options when running the configure script - see also the INSTALL file for usage description. -n Do not detach from the controlling terminal. This prevents the default of becoming a daemon and is ignored if running in inetd mode. The main purpose of this option is to support the AIX System Resource Controller or similar setups, where several daemons are controlled by a master daemon. -v level Enable diagnostic output to be sent to the file /tmp/ftp-proxy.debug. The given level must be in the range from 0 (no output at all) to 4 (maximum verbosity). See also DIAGNOSTICS bellow. SIGNALS
SIGTERM, SIGQUIT, SIGINT These signals instruct FTP-Proxy to abort any existing transfer, close all connections and terminate the process. If the target of the signal is a running FTP-Proxy daemon, all current child processes wil also be terminated. SIGHUP This signal will be accepted if running in daemon mode and ignored in inetd mode. It causes the FTP-Proxy to reread its configuration file and to reopen the log destination if it was changed in the configuration file, or rotated if it is a log file. See also dedicated rotation singnal SIGUSR1 bellow. SIGUSR1 This signal will be accepted if running in daemon mode and ignored in inetd mode. It causes the FTP-Proxy to close its current logfile, rename it to a date and time derived value, and open a new logfile. This pro- cedure is also known as Logfile Rotation. Child processes forked before the reception of this signal and processes run from inetd will not be affected. See also the ServerRoot configuration option in ftp-proxy.conf(5). NOTES
When running FTP-Proxy in inetd mode, it is always an excellent idea to check that the inetd configuration file includes a line that invokes FTP-Proxy. An example for a line in /etc/inetd.conf follows: ftp stream tcp nowait root /usr/sbin/ftp-proxy -i Please note that this is just an example and does not provide much security, like running as a non-privileged user or using the TCP Wrapper functionality. DIAGNOSTICS
The -v option is is only available if enabled using the --enable-debug option when running the configure script - see also the INSTALL file for usage description. This option should be used with great care only. It is strongly recommended to not to use it in production environ- ments. If debugging is activated, it always adds output to the file /tmp/ftp-proxy.debug which is created with 0666 mode. This allows child pro- cesses to open and write the file after they have given up their root privileges. If the configuration file contains a ServerRoot directive, child processes and processes run from inetd will try to open the file within their chroot(2) environment. If this fails, e.g. because there is no /tmp directory, it is silently ignored and no debug output is gener- ated. Please note that the program makes no attempt to erase the debug file after use. Thus it will stay around with world writeability until the operator manually removes it! FILES
/etc/proxy-suite/ftp-proxy.conf /usr/sbin/ftp-proxy SEE ALSO
ftp-proxy.conf(5) The SuSE Proxy-Suite documentation included in the doc subdirectory of the package. AUTHORS
Jens-Gero Boehm <jens-gero.boehm@suse.de> Pieter Hollants <pieter.hollants@suse.de> Volker Wiegand <volker.wiegand@suse.de> Marius Tomaschewski <mt@suse.de> COPYRIGHT
The whole SuSE Proxy-Suite is released under the GNU General Public License (GPL). SuSE September 20th, 1999 ftp-proxy(8)
All times are GMT -4. The time now is 11:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy