12-16-2015
Please use code tags as required by forum rules!
That's redirecting stderr implicitely using file descriptor 2 (cf. man bash or other shell)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
is there a way to make dialog output chosen values to standard stream? or append to a file?
thx (2 Replies)
Discussion started by: dhinge
2 Replies
2. Shell Programming and Scripting
Hi,
example of Unix / Linux dialog utility is below.
I am going to use dialog as simple GUI for testing of a modem.
So I need to combine some dialog boxes into one.
I need to have input box, output box, info box, dialog box,
radiobox as in any standard program with graphical user... (2 Replies)
Discussion started by: jack2
2 Replies
3. Shell Programming and Scripting
hello.
i want to create a useradd dialog menu.
i cannot make a single menu with 4 box inputs ( user, pass, fullname, shell ) because the dialog utility is either limited or either i know to less about using the dialog utility.
from what i see it only allows me to post these 4 boxes one by one,... (3 Replies)
Discussion started by: claudlu
3 Replies
4. Shell Programming and Scripting
Hi,
I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server.
How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies
5. Shell Programming and Scripting
hi.. can anybody upload dialogue utility for linux 5.7... please.. its just under 1mb. (2 Replies)
Discussion started by: vivek d r
2 Replies
6. Shell Programming and Scripting
I am not able to capture errors while I am using dialog. For example:
dialog --gauge "Verifying file..." 10 75 < <(
while read LINE
do
hash=$(echo $LINE | cut -f1 -d' ')
directory=$(echo $LINE | cut -c 34-)
PCT=$(( 100*(++i)/n ))
echo $PCT
md5deep -a $hash $directory >... (3 Replies)
Discussion started by: yamanoorsai
3 Replies
7. Shell Programming and Scripting
Hi all. I want to know, if there is any chance to pass lftp listing to CLI dialog. I want to make an interactive CLI ftp manager, based on lftp.
Version of dialog I use:
root@dlink:~# dialog -v
cdialog (ComeOn Dialog!) version 1.1-20100428 (0 Replies)
Discussion started by: n158
0 Replies
8. UNIX for Dummies Questions & Answers
I know, I can run dialog command in my machine. But what I want to do is I wanna show the dialog box to some other Remote host.
I connected to the remote system and used dialog command its shows the box in my terminal only. How can I display to that remote machine?? Any suggestions??? (3 Replies)
Discussion started by: Adhi
3 Replies
9. Shell Programming and Scripting
Hi , I just start to use Linux and i love it!
I'm creating a project for school and is to create a script who ask the user to select and instal services like apache, dhcp, Samba, FTP etc...
I create a menu using Dialog, just to make it better looking.
I want to know how to retrieve the... (2 Replies)
Discussion started by: ajmaq
2 Replies
10. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I need to create dialog interface for adress book i created a while ago but i don't know how to read info from forms
2. Relevant commands, code, scripts, algorithms:
#!/bin/bash
knyga="adresu-knyga.txt"
dialog... (0 Replies)
Discussion started by: sasisken
0 Replies
RBASH(1) General Commands Manual RBASH(1)
NAME
rbash - restricted bash, see bash(1)
RESTRICTED SHELL
If bash is started with the name rbash, or the -r option is supplied at invocation, the shell becomes restricted. A restricted shell is
used to set up an environment more controlled than the standard shell. It behaves identically to bash with the exception that the follow-
ing are disallowed or not performed:
o changing directories with cd
o setting or unsetting the values of SHELL, PATH, ENV, or BASH_ENV
o specifying command names containing /
o specifying a file name containing a / as an argument to the . builtin command
o specifying a filename containing a slash as an argument to the -p option to the hash builtin command
o importing function definitions from the shell environment at startup
o parsing the value of SHELLOPTS from the shell environment at startup
o redirecting output using the >, >|, <>, >&, &>, and >> redirection operators
o using the exec builtin command to replace the shell with another command
o adding or deleting builtin commands with the -f and -d options to the enable builtin command
o using the enable builtin command to enable disabled shell builtins
o specifying the -p option to the command builtin command
o turning off restricted mode with set +r or set +o restricted.
These restrictions are enforced after any startup files are read.
When a command that is found to be a shell script is executed, rbash turns off any restrictions in the shell spawned to execute the script.
SEE ALSO
bash(1)
GNU Bash-4.0 2004 Apr 20 RBASH(1)