Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
comp . unix . shell
This is a Usenet group - learn more
Find or start a Google Group about shell.
Group info
Language: English
Group categories:
Computers
More group info »
Active older topics
9 new of 9 - Jun 1
2 new of 2 - May 29
3 new of 3 - May 29
13 new of 13 - May 28
8 new of 8 - May 25
6 new of 6 - May 24
8 new of 8 - May 23
1 new of 1 - May 22
4 new of 4 - May 20
14 new of 14 - May 19
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 54350  Older »
Description: Using and programming the Unix shell.
 

Question: cron to pkill non-responsive VPN connection 
  I have one bash script under RHEL 5.3 to reconnect the VPN whenever it's broken i.e. ...if ! ps -C 'vpnclient' --no-heading >/dev/null 2>&1 then echo "relink at $(date +%F\ %T)" nohup /path/to/vpnclient connect ******* >/dev/null & fi ... sometimes the ps command displays vpnclient OK but the connection is... more »
By lihao  - Jun 1 - 2 new of 2 messages    

split file contents into files 
  I have extracted some scripts from an Oracle database using the Toad query below. The script body is of datatype HUGHCLOB; which means each script may be from 50 - 200+ lines. N.B. Toad is a tool to query oracle database. select script_name , script_type , '>>>>>' , script_body... more »
By Harry  - May 31 - 13 new of 13 messages    

2D Array Creation Question 
  Is there a better way to create this array? I know I can do it like this ...name=('workflow','applicati on','process','adaptor','event ','io') sufix=('war','jar','jar','jar' ,'jar','jar') fullname('','','','','','','') sudo update of array with additional information for (a=0;a<$name[@];a++)... more »
By Matthew Kruer  - May 31 - 3 new of 3 messages    

Help with awk/sed string replacement. 
  What i am trying to accomplish is to build a bash file to run I have a file that contains a coma delimited fields (package name, build number, uarch) Example below package1, 1.1.0.24-0, noarch package2, 1.0.0.8-1, noarch etc... I am trying to read the file and generate a bash script based upon is contents... more »
By Matthew Kruer  - May 30 - 7 new of 7 messages    

Extending the Standard Yacc Grammar to scripts 
  hello, world\n POSIX specified the shell grammar up to a "complete_command" as the start symbol. See [link] which starts with complete_command : list separator | list ; list : list separator_op and_or... more »
By Jens Schweikhardt  - May 30 - 6 new of 6 messages    

insert text to beginning of each word 
  I am trying to insert 2 characters followed by a space specifially "-D " to the beginning of each word in a string and also to include the first word in the string. e..g have the strings separated by spaces: "rpool/root rpool/var rpool/test" I want to pipe this through sed to produce:... more »
By brumik  - May 29 - 4 new of 4 messages    

piping and redirection 
  Hi, I wrote a ruby program that prints out more than a screen's worth of data to stdout, so I got into the habit of routinely invoking it as: progname | more Since I was doing this all the time, I thought it would be an improvement to incorporate the paging into a script, so I re-wrote the... more »
By Will Parsons  - May 27 - 9 new of 9 messages    

find some files under specific directory and sort the result according to the file's generated time. 
  Hi all, I want to find the all of the file with the name DownPDG.log under specific directory / sub-directories, then sort the result according to the file's generated time. The issue is these files may locate under some sub-directories which including white spaces in the path. In this case, I will meet the error like the following:... more »
By Hongyi Zhao  - May 26 - 3 new of 3 messages    

script to format line 
  I have a file that doesn't have a field delimiter between the columns and I want to add a colon between each column. I can identify the columns by hard coding the range: such as "col1 to col 10" "col11 to col24" etc... I am stuck.
By roger vaede  - May 25 - 22 new of 22 messages    

Pipelines and I/O Redirection 
  Dear All, I am trying to understand the example used by tdlp.org for I/O Redirection in Unix. The example reads as follows (on the next line you can find my understanding of what is happening - could you please let me know if I am on the right track?): exec 3>&1 In my understanding this sends any output to file descriptor 3 to file descriptor 1 (standard output).... more »
By gkl  - May 25 - 2 new of 2 messages    

1 - 10 of 54350   « Newer | Older »

XML