04-28-2010
There's no special way to do it over SSH as opposed to locally.
It may reject your changes if it detects a syntax error.
[edit] You say it opens a window? It may be using an odd text editor. Try changing your EDITOR variable to 'nano' or 'vim' so it uses a local editor in the console.
Last edited by Corona688; 04-28-2010 at 12:35 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to create a new crontab entry for a user on a debian box but whenever I do a crontab -e or crontab -u username -e then edit the crontab (with vim as my default editor) and :wq. I get the error message:
no crontab for username - using an empty one
crontab: no changes made to crontab... (18 Replies)
Discussion started by: fire>ant>
18 Replies
2. UNIX for Dummies Questions & Answers
Team,
I am trying to do ssh batch as root. I have ssh set-up to do work w/o requiring password/uid on remotes.
The problem is I need to submit batch work to remote systems, and NOT have my terminal program.sh lock/wait for the response from remote. This is so I can submit batch work to other... (2 Replies)
Discussion started by: xcom007
2 Replies
3. Shell Programming and Scripting
how does one save changes in crontab? i am using vi editor. Issued crontab -e command on the prompt. however not sure how to save changes. :wq doesnt work. any idea.... (10 Replies)
Discussion started by: shahab03
10 Replies
4. UNIX for Dummies Questions & Answers
I edit crontab with vi editor, i delete the lines i wanted, but i can't save!
i tried the :w, :wq, ZZ commands and it seems like vi is unfamiliar with it.
any suggestions? (3 Replies)
Discussion started by: idan_cn
3 Replies
5. Solaris
hi,
i would like to know if it is posible to create the flash archive and in the same line add another command to save it in another server through SCP.
flarcreate -n "sv756flash" -c -X excludefilelist |...
i appreciate your help.
thanks a lot. (4 Replies)
Discussion started by: pabloli150
4 Replies
6. Solaris
hi,
I am getting error " connection refused by remote host, using ssh to remote solaris machine. (2 Replies)
Discussion started by: vidyadharpol
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
When I set the crontab to run every minute, every hour, it works fine.
* * * * * env > /tmp/env.output
However I want to run it every day at 8:00 AM and it does not run.
* 8 * * * env > /tmp/env.output
I ran the 'date' command which says it's 8AM PST and also the 'TZ'... (5 Replies)
Discussion started by: samantha13
5 Replies
8. Ubuntu
How to save crontab?
I have try both method below but can't save it.
FIRST METHOD error message
hit 'escape' and then the following:
:wq
http://i.imgur.com/nY2YI.jpg
SECOND METHOD error message
ctrl + s
http://i.imgur.com/ECzl0.jpg (3 Replies)
Discussion started by: mampwamp
3 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I am trying to simplify things for two people who will be taking over my role whilst i go on leave. In doing so, i wanted to find a way that upon login to unix, the crontab would be reloaddd and resaved.
I want to do this due to our IT dept taking the server down more often of late... (5 Replies)
Discussion started by: KlintJ
5 Replies
10. Shell Programming and Scripting
Hy guys,
My name is Alex, i am new here and I hope to find some answers. I am trying to run a expect script to telnet to a mikrotik router, run a command (export), and save the output of that commant to a file (outputfile.txt). The problem is that only part of the output is saved to... (2 Replies)
Discussion started by: axexandru
2 Replies
LEARN ABOUT DEBIAN
nano-tiny
NANO-TINY(1) General Commands Manual NANO-TINY(1)
NAME
nano-tiny - Nano's ANOther editor, an enhanced free Pico Clone
SYNOPSIS
nano-tiny [options] [+LINE] file
DESCRIPTION
This manual page documents briefly the nano-tiny command.
nano is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than
just copying Pico's look and feel, nano also implements some missing (or disabled by default) features in Pico, such as "search and
replace" and "goto line number".
nano-tiny is a special, minimal build of the program, aimed for Debian's boot-floppies or emergency disks.
OPTIONS
-V (--version)
Show the current version number and author.
-h (--help)
Display a summary of command line options.
See the nano(1) manpage for the complete documentation of nano.
BUGS
Please send any comments or bug reports to
nano@nano-editor.org.
The nano mailing list is available from
nano-devel@lists.sourceforge.net. To subscribe, email to nano-devel-request@lists.sourceforge.net with a subject of "subscribe".
HOMEPAGE
http://www.nano-editor.org/
AUTHOR
Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS for details). This manual page was originally written by Jordi Mallach <jordi@sin-
dominio.net>, for the Debian system (but may be used by others).
February 20, 2002 NANO-TINY(1)