9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Need to add a numeric & special char to end of the first line
Existing file:
12-11-16|11 2016 Jan 12:34:55|03:55|
13-10-16|10 2016 Jan 12:34:55|03:55|12-11-16|11 2016 Jan 12:34:55|03:55|
14-10-16|19 2016 Jan 12:34:55|03:55|13-11-16|11 2016 Jan 12:34:55|04:55|
15-10-16|18 2016 Jan... (11 Replies)
Discussion started by: Joselouis
11 Replies
2. Shell Programming and Scripting
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Discussion started by: weesiong
3 Replies
3. UNIX for Dummies Questions & Answers
Is there an awk, sed, vi or any line command that adds Field Separators (default spaces) to each line in a file?
$cat RegionalData
12FC2525MZLP8266900216
12FC2525MZLP8266900216
12FC2525NBLP8276900216
12FC2525NBLP8276900216
Desired results:
1 2 F C 2525 MZ LP 826 690 02 16
1 2 F C... (2 Replies)
Discussion started by: MS75001
2 Replies
4. Shell Programming and Scripting
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies
5. UNIX for Dummies Questions & Answers
SCO v5.0.6
I figured out what command lines I need to get SSH working, but where do I put these command lines so they stick when booting?
#ifconfig net0 ... netmask ... up
#route add default ...
I know I can add the default gateway to /etc/default/tcp, but...
I would rather run a... (2 Replies)
Discussion started by: vdi_jeanne
2 Replies
6. Shell Programming and Scripting
hello
I have a number of lines that need to be added at the end of a file each time I add a field in another file (let's name it file2)
file2 has this format:
filed1:field2:path1:path2:path3:path...
Whenever I add a path field, I should add to file1 these lines:
<Location path1>... (0 Replies)
Discussion started by: melanie_pfefer
0 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I have been given a task for adding a disclaimer automatically for all our outgoing emails from our unix machine.
Is there any config file so that the disclaimer will be added into all emails instead of using a script to send the email with the disclaimer?
Pls help
Thank you! ... (4 Replies)
Discussion started by: foxychoi0330
4 Replies
8. IP Networking
Hi All,
I have been given a task for adding a disclaimer automatically for all our outgoing emails from our unix machine.
Is there any config file so that the disclaimer will be added into all emails instead of using a script to send the email with the disclaimer?
Pls help
Thank you!... (1 Reply)
Discussion started by: foxychoi0330
1 Replies
9. UNIX for Dummies Questions & Answers
I would like to create a script that logs into a list of several servers 50+ and changes my password all at once.
Every 60 days we are required to login to each system and change our passwords or else they expire and our login account is deleted.
I have an idea on how I could do this but... (4 Replies)
Discussion started by: darthur
4 Replies
COMMAND-NOT-FOUND(1) http://en.opensuse.org/Sco COMMAND-NOT-FOUND(1)
NAME
command-not-found - A command-not-found handler
SYNOPSIS
command-not-found {binary_name} {repository}
ARGUMENTS
The following arguments are required:
binary_name
The name of binary you are looking for.
repository
The name of repository for search. For most cases, use zypp
DESCRIPTION
command-not-found handler is designed to tell users which package contains a missing command.
The handler is integrated to bash(1) and zsh(1) shells and is not necessary to call it directly. Just type a name of the command in your
favourite shell and you'll get a result.
If you consider c-n-f handler useless, just add unset command_not_found_handle to your profile or remove the command-not-found package.
Handler doesn't call the command-not-found binary directly, it only prints info about it. If you want to invoke it automatically, just add
export COMMAND_NOT_FOUND_AUTO=1 to your bash profile.
EXAMPLE
: NORMAL USAGE
For example you want to try blender, because you have heard that is an amazing program. So just type blender in shell:
$ blender
You get the following output:
The program 'blender' can be found in the following package:
* blender [ path: /usr/bin/blender, repository: zypp (openSUSE 11.1-0) ]
Try installing with:
sudo zypper install blender
bash: blender: command not found
SEE ALSO
scout(1)
AUTHOR
Pavol Rusnak <stick@gk2.sk>
Developer
http://gitorious.org/opensus 08/07/2009 COMMAND-NOT-FOUND(1)