How to create a GUI in shell script without any third party libs just like setup command
1,269
You can use whiptail
or dialog
Have look at this thread:
Related videos on Youtube
Author by
James Khan
Updated on September 18, 2022Comments
-
James Khan almost 2 years
UPDATE tablex set Deal Number= ' ' where Deal Number is null
Trying to make field have a ' ' ( white space ). Instead null becomes 0 .
How do I get what I want here ?
-
Joe Stefanelli over 12 yearsWhat's the data type of
Deal Number
? -
Mr Lister over 12 yearsIs there really a space in the name
Deal Number
? Then put it in square brackets. -
Ram almost 11 years@rahmu I need to create script Using only basic default packages installed on any linux machine and show a GUI like setup command ..
-
rahmu almost 11 yearsThere's no such thing as "basic default packages installed on any linux machine". You cannot make any assumption about what's on a user's machine beyond a linux kernel. We could help you more if you told us which systems you're targeting specifically.
-
user almost 11 yearsThere's also no generic "setup command" that would give us any indication of what you are after. Perhaps you can provide a screenshot or even just a mockup showing what exactly you are trying to accomplish?
-
-
Brad Christie over 12 yearsMore has to do with the server trying to parse the string to a number and whitespace is being parsed to 0 (default value of a float type since conversion failed). However, setting
Deal Number = '3.14'
would give you the desired result (a numeric of 3.14) because it was in-fact able to be parsed as a numeric. -
Ram almost 11 yearsIs whiptail is available in RHEL 6 by default ???