Search Results

Search: Posts Made By: learnix
Forum: Web Development 10-31-2013
1,843
Posted By learnix
nothing defined in iptables. iptables -L ...
nothing defined in iptables.
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source ...
Forum: Web Development 10-31-2013
1,843
Posted By learnix
Starting Web Application on Jboss
Hello,


I installed Jboss EAP 6 on a remote Linux server in standalone mode, and deployed a HelloWorld war file successfully.

Opened a browser on my PC and pointed to...
1,296
Posted By learnix
Thanks! Found # man test -r FILE ...
Thanks! Found


# man test
-r FILE
FILE exists and read permission is granted


I also learned that && means more than the traditional AND. But what does the dot mean in the...
1,296
Posted By learnix
Need to understand shell script
Hello,

Can someone please help me understand the shell script below for installing Jboss EAP 6? It is from jboss-as-standalone.sh, what does the highlighted code mean?


# Load Java...
3,702
Posted By learnix
Test connectivity to IP/port
I want to test the connectivity to an IP with Port number = xxxx.
I only know telnet can do it. For example, telnet <IP> <port>.
But I don't have telnet installed (no package) on my Red Hat Linux...
2,274
Posted By learnix
Tried "sox --i" with another audio file. The...
Tried "sox --i" with another audio file. The result did show A law or Mu law. The file I tried previously happened to be uncompressed (neither A law nor Mu law).
2,274
Posted By learnix
Check "A law" or "Mu law"
Does anyone know how to check if a .wav file is encoded with "A law" or "Mu law" in Linux and PC? I tried sox --i filename.wav on my PC, but I don't think it tell you if the file is A law or Mu law....
927
Posted By learnix
I tried the second option and it works (haven't...
I tried the second option and it works (haven't tried the first one). I don't understand what exec 3</dev/tty, and read -u3 mean. Is it possible for me to get some explanations? Thanks.

(I don't...
927
Posted By learnix
Thank you. Double quotes solved the problem. read...
Thank you. Double quotes solved the problem. read -p "Press [Enter] key to continue..." doesn't work. It does not pause the script and wait for me to enter the "Enter" key to continue.
927
Posted By learnix
Get a value from a file and insert it in a different file
I have a file that contains attribute values, for example, name.out has
Alice
Bob
Cathy
etc.
I also have a template file for each of name values. I have already created all the files for each...
1,754
Posted By learnix
My goal is to find out what files are in a folder...
My goal is to find out what files are in a folder and take each one of them as an input to a command. In my example, I simplified the command (used ls -l) for discussion purpose. Also I put the...
1,754
Posted By learnix
Use file name as an input to a script
I know I can obtain the file names in a folder by doing the following.
ls | awk '{t=$1; print t}'

Rather than print t, I'd like to take the file name as an input to a script like
bash-3.00$...
Forum: Solaris 03-21-2013
49,157
Posted By learnix
Thanks for the responses. The awk command solves...
Thanks for the responses. The awk command solves the problem:

ls -l test.* | awk '{t+=$5}END{print t}', where 5 is the column number in "ls -l" output for displaying file size.

du -sh test.*...
Forum: Solaris 03-21-2013
49,157
Posted By learnix
Find the total size of multiple files
If I have a number of files in a directory, for example,
test.1
test.2
test.3
abc.1
abc.2
abc.3

and I need to find the total file size of all of the test.* files, I can use du -bc test.*...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 06:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy