10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
In Bash shell - the ps -ef shows only the /bin/bash but the script name is not displayed ? Is there any way to get the script names for the process command ?
--- Post updated at 08:39 AM ---
in KSH (Korn Shell), my command output shows the script names but when run in the Bash Shell... (3 Replies)
Discussion started by: i4ismail
3 Replies
2. Shell Programming and Scripting
So I'm trying to pass certain json elements as env vars and use them later on in a script.
Sample json:
JSON='{
"Element1": "file-123456",
"Element2": "Name, of, company written in, a very weird way",
"Element3": "path/to/some/file.txt",
}'
(part of the) script:
for s... (5 Replies)
Discussion started by: da1
5 Replies
3. Programming
I want to print 4052 slashes using this C program.
#include <stdio.h>
void main()
{
int i;
for (i=0; i<4052; i++)
printf ("/");
}
When i compile this via gcc am getting this error :
http://gyazo.com/e0403e4789575d181d1695f9db3e6d6e.png
Can anyone point out what am doing wrong? (15 Replies)
Discussion started by: vish6251
15 Replies
4. Shell Programming and Scripting
I have got the following contents and please can you advise me on how to extract the following data that appears between the very first slashes.
Thanks
i.e 576 , 10000, 1299
3/576/GPP///////NONE/0
50/10000/GPP///D4////GPP/0
234/1299/GPP///////NONE/0 (3 Replies)
Discussion started by: Sudhakar333
3 Replies
5. Cybersecurity
When I try to access my website's Administrator page (mysite.com/administrator), I'm redirected to (mysite.comadministrator), as if the slash was removed from the URL
The funny thing is that I can access it if I enter 2 slashes (mysite.com//administrator)
Any ideas of what might be causing it? (4 Replies)
Discussion started by: rlopes
4 Replies
6. Shell Programming and Scripting
My script is as follows:
#!/bin/bash
STR1="test"
echo $STR1
STR2="/bldtmp/"$STR1
echo $STR2
STR3=$STR2'/tmp'
echo $STR3
output i am geting
----------------
test
/bldtmp/test
/tmptmp/test
but my need is:
------------------
test
/bldtmp/test (1 Reply)
Discussion started by: dchoudhury
1 Replies
7. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I have standard web server log file. It contains different columns (like IP address, request result code, request type etc) including a date column with the format .
I have developed a log analysis command line utility that displays... (1 Reply)
Discussion started by: TariqYousaf
1 Replies
8. UNIX for Dummies Questions & Answers
when I execute a command in like "run.sh," I can run it two ways:
./run.sh
or
. run.sh
What is the difference? (1 Reply)
Discussion started by: DarkLord
1 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone! :)
I've been asked to write an article breaking down the basics of UNIX password information etc., and I've come across something in which I cannot find a definition for within Google.
Very simply, can anyone tell me what the difference is between a standard UNIX password, and... (4 Replies)
Discussion started by: hellz
4 Replies
10. UNIX for Dummies Questions & Answers
Hey,
This is probably going to sound like an immensely stupid and dull question, but can someone please tell me whether the forward slash on the web address (http://) signifies that it is running on UNIX?
hanks (1 Reply)
Discussion started by: steverocliffe
1 Replies