I have a modem connect it to ttyS0 , in unix sco i know i can disable and enable the port , how can i do this , is there a command that will allow me to do this.
**** I'm running Redhat 9
*****External Usrobotics 56k
Thanks a lot guys (1 Reply)
I wrote a ksh script for Helpdesk. I need to know how to disable ctrl-c,ctrl-z,ctrl-d..... so that helpdesk would not be able to get to system prompt :confused: (6 Replies)
Hi All,
I am new to cronjob and need some guidance on this.
1) How do i enable a cronjob ?
Can it be done by "crontab mycronfile" or "crontab -e mycronfile"
2) How can i disable the cronjob?
Can deleting of the "mycronfile" disable the cron or do i need to perform "crontab -r mycronfile"... (7 Replies)
Hello,
We recently had a Nessus scan done of our system and the solution to one of the findings was this:
disable the RIP agent and use an EGP routing protocol
I have been unable to find any specific instruction on how to do either. We are running Solaris 8.
Any help would be greatly... (3 Replies)
Hi...
How do I enable SSH and disable telnet..
Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet?
Adel (15 Replies)
since i don't have root access, i have been doing:
crontab -l > /tmp/username.crontab
crontab -r
vi /tmp/username.crontab and copy page
crontab -e, and paste
sometimes, /tmp/username.crontab has more than 1 page, so i have to copy twice.
how do i copy all contents from... (2 Replies)
Hello to all,
I have one sun solaris workstation. Interrupt is Alt+Backspace, but if I press Ctrl+Backspace, I totaly log out and all programs are closed. This is not what I want and wonder if there is some way to disable this feature.
Thanks (2 Replies)
Discussion started by: Mick
2 Replies
LEARN ABOUT MINIX
ed
ED(1) General Commands Manual ED(1)NAME
ed - editor
SYNOPSIS
ed file
OPTIONS
- Suppress line/byte count messages (for in scripts)
EXAMPLES
ed prog.c # Edit prog.c
echo '1,$p' | ed - file
# Odd way to write 'cat file'
DESCRIPTION
Ed is functionally equivalent to the standard V7 editor, ed. It supports the following commands:
(.) a: append
(.,.)c: change
(.,.)d: delete
e: edit new file"
f: print name of edited file"
(1,$)g: global command
(.) i: insert
(.,.+1)j: join lines together
(.) k: mark
(.) l: print with special characters in octal
(.,.)m: move
(.,.)p: print
q: quit editor"
(.) r: read in new file
(.,.)s: substitute
(1,$)v: like g, except select lines that do not match
(1,$)w: write out edited file
Many of the commands can take one or two addresses, as indicated above. The defaults are shown in parentheses. Thus a appends to the cur-
rent line, and g works on the whole file as default. The dot refers to the current line. Below is a sample editing session with comments
given following the # symbol.
ed prog.c # Edit prog.c
3,20p # Print lines 3 through 20
/whole/ # Find next occurence of whole
s/whole/while/ # Replace whole by while
g/Buf/s//BUF/g # Replace Buf by BUF everywhere
w # Write the file back
q # Exit the editor
Ed is provided for its sentimental value. If you want a line-oriented editor, try ex. If you want a good editor, use elle, elvis, or
mined.
SEE ALSO elvis(1), elle(9), mined(9).
ED(1)