There are environment variables. Lots of them. Ones named "PS-" where the - can be a "1" or a "2" and so on, control your prompt - prompt is the thing you have a problem with.
Code:
set | grep '^PS'
will show you those variables and their values. I have no clue what you actually typed.
If it were me, I would log out and then login again. Things should be fine.
You can play interactively with those variables and see what they do:
I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Hi,
I am new to unix and shell scripting.
Please help me in resolving the below issue.
In my shell script I have a variable which stores the different files with the path. Now I need to move all the files one by one to another location.
----
1.... (4 Replies)
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Hi,
on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
LEARN ABOUT NETBSD
hostapd_cli
HOSTAPD_CLI(8) BSD System Manager's Manual HOSTAPD_CLI(8)NAME
hostapd_cli -- text-based frontend program for interacting with hostapd(8)SYNOPSIS
hostapd_cli [commands]
DESCRIPTION
The hostapd_cli utility is a text-based frontend program for interacting with hostapd(8). It is used to query the current status.
The hostapd_cli utility can show the current authentication status, dot11 and dot1x MIBs, etc.
The hostapd_cli utility supports two modes: interactive and command line. Both modes share the same command set.
Interactive mode is started when hostapd_cli is executed without any parameters on the command line. Commands are then entered from the con-
trolling terminal in response to the hostapd_cli prompt. In command line mode, the same commands are entered as command line arguments.
COMMANDS
The following commands may be supplied on the command line or at a prompt when operating interactively.
mib Report MIB variables (dot1x, dot11) for the current interface.
sta addr
Report the MIB variables for the associated station with MAC address addr.
all_sta
Report the MIB variables for all associated stations.
help Show usage help.
interface [ifname]
Show available interfaces and/or set the current interface when multiple are available.
level debug_level
Change the debugging level in hostapd(8). Larger numbers generate more messages.
license
Display the full license for hostapd_cli.
quit Exit hostapd_cli.
SEE ALSO hostapd.conf(5), hostapd(8)HISTORY
The hostapd_cli utility first appeared in NetBSD 4.0.
AUTHORS
The hostapd_cli utility was written by Jouni Malinen <jkmaline@cc.hut.fi>. This manual page is derived from the README file included in the
hostapd distribution.
BSD June 16, 2005 BSD