Sponsored Content
Top Forums Shell Programming and Scripting Execute command and show result in web page Post 303022563 by Neo on Sunday 2nd of September 2018 11:32:36 PM
Old 09-03-2018
node.js is popular when programming in Javascript.

Node.js

Or, you can use something like Visual Studio Code and install a lightweight web server plugin (which also uses node.js).

Visual Studio Code - Code Editing. Redefined
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Display result one page at a time

hi how can i display the result on the screen one page at a time? say i search for .txt files and return the result on the screen one page at a time. (4 Replies)
Discussion started by: nickaren
4 Replies

2. UNIX for Dummies Questions & Answers

Which comand to show the source code on a web page?

Hi folks! I am using MacOsX that runs freeBSD. Could you tell me what comand to type on the Unix Terminal to display on the terminal the source code of a certain web page? I think something like #<comand> http://www.apple.com will display on the terminal's window the html source code... (11 Replies)
Discussion started by: fundidor
11 Replies

3. Shell Programming and Scripting

Want to show files on web page

hello Unix guru i want to show performance results on my internal website . We are manitaing the site through Wiki . I have to add new page in that . can someone help me to write shell script for that .. i want to display files datewise . my files names are starting with date . if... (3 Replies)
Discussion started by: deepa20
3 Replies

4. Shell Programming and Scripting

Show result only if number is greater then

Hello all Im trying to write one liner that will show me results only if the result of the expression is greater then 0 For example: I do : find . -name "*.dsp" | xargs grep -c SecurityHandler the result are : ./foo/blah/a.dsp:0 ./foo/blah1/b.dsp:1 ./foo/blah2/c.dsp:2... (1 Reply)
Discussion started by: umen
1 Replies

5. UNIX for Dummies Questions & Answers

how to use find commnad to show only path of the result

Hello all say i like to find files i do : find . -name "*.txt" but if i like to find ( and print out ) only the path's where the files are ( the *.txt files ) what can i add to the find command ? (1 Reply)
Discussion started by: umen
1 Replies

6. Shell Programming and Scripting

Use grep result to execute next command

Hi I am trying to run 2 servers using a script one after the other. I start the first one: run.sh -c servername >> jboss_log.txt & Then I have to wait until I see Started message in the log file before I launch the other server. I can't use sleep because I am not sure how long it'll... (5 Replies)
Discussion started by: iririr
5 Replies

7. Shell Programming and Scripting

Execute unix command from an html page in windows

i have a problem situation, where i have a html file say click.html. i have a button "ls" in that html page. i run this html file in windows....Now say if i click that "ls" button it must connect to the unix server and execute ls and return the results back to html page in windows. can anyone tell... (8 Replies)
Discussion started by: niteesh_!7
8 Replies

8. Shell Programming and Scripting

awk to find the avg of every 3 rows but only show last result?

Hi, I've got as far as this: awk '{sum+=$1}(NR%3==1){avg=sum/3; print avg}' input.txt Input it: 0.1 txt txt 0.2 txt txt 0.3 txt txt So, the I get the results: 0.0333333 0.133333 0.2 (8 Replies)
Discussion started by: JohnnyEnglish
8 Replies

9. What is on Your Mind?

The Return of the Show Post Page

You may recall we used to have a "Show Post" link in each post that referenced the post and had a link to this post in page. I am going to bring back this feature and and renovate the page: https://www.unix.com/members/1-albums215-picture1013.png So that page has a "Under Renovation"... (1 Reply)
Discussion started by: Neo
1 Replies

10. UNIX for Beginners Questions & Answers

Search a multi-line shell command output and execute logic based on result

The following is a multi-line shell command example: $cargo build Compiling prawn v0.1.0 (/Users/ag/rust/prawn) error: failed to resolve: could not find `setup_panix` in `human_panic` --> src/main.rs:14:22 | 14 | human_panic::setup_panix!(); | ... (2 Replies)
Discussion started by: yogi
2 Replies
LIBLICENSE(1)							  [FIXME: manual]						     LIBLICENSE(1)

NAME
license - program to specify and modify media file licenses SYNOPSIS
license [filename] DESCRIPTION
The liblicense package provides a license command to allow simple command-line examination and manipulation of license information embedded in media files. The default action is to show the default license as configured in $HOME/.license. This default can be offered by applications that use liblicense when asking you what license you would like to release your work under. In addition to showing you and allowing you to change the embedded license in a file, the license also can show and allow you to change the embedded "web statement URI", a link to a web page with information about the file that you can use to verify the embedded license. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, run the application with --help. -h --help Show summary of options. -v --verbose Output more information about the actions of the program. -q --quiet Output less information about the actions of the program. -a JURISDICTION --list=JURISDICTION List all avialbale licenses in JURISDICTION (uses the generic jurisdiction if JURISDICTION is not specified). --set-license Sets the license of the file (to the license specified by "-l"). --remove-license Removes the embedded license metadata from the file. -l URI --license=URI When setting the license of a file or the default license preference, set it to URI. --set-web-statement Sets the web statement link in the file (to the value specified by "-w"). --remove-web-statement Removes the embedded web statement metadata from the file. -w URI --web-statement=URI When setting the web statement URI in a file, set it to URI. -u MODULE --use=MODULE Use the module called MODULE to interact with a file. -m List the available modules and their capabilities. Modules are used to handle different media types. AUTHOR
This manual page was written by Asheesh Laroia asheesh@asheesh.org. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2.1 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU Lesser General Public License can be found in /usr/share/common-licenses/LGPL. COPYRIGHT
Copyright (C) 2008 Asheesh Laroia [FIXME: source] June 4, 2008 LIBLICENSE(1)
All times are GMT -4. The time now is 03:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy