1,891 Topics
| |
Hello, I need the answers for these questions please. Thank you very much. 51. What is the major number for LVM DSFs using disk layout 1? A. 32 B. 64 C. 128 D. 256 52. If vg05 has two logical volumes created using the default naming convention, overall, how many … | |
hello I have this command that i am calling from php (exec()): [CODE]openssl pkcs12 -export -in cert.pem -inkey key.pem -out cred.p12[/CODE] and then i need to insert password twice Enter Export Password: Verifying - Enter Export Password: I need script that will fill the password inputs, do you have any … | |
Hi I want to count number of lines in csv files in a folder and display it, I have the code to count number of lines,but the problem is i want to loop all the files in that folder and display it , For eg: in Month January folder ,I … | |
I'm looking for a decent directory scripts. I've looked at clones, free and commercial. The commercials look promising but am not sure if they really are worthit. I really need to be able to edit the theme/template and wouldn't mind if there were a plethora of themes available. Are there … | |
Hi All, Need to Analyze Zimbra Mail server sync.log through shell script Required output from sync.log Total Number of Users : Total Number of Device ID: Total Number of Device Type with Version : Below is Sample of Log File : 2009-12-16 00:00:43,970 INFO [btpool0-12194://webmail.amit.com/Microsoft-Server-ActiveSync?Cmd=Ping&User=rahul%40kke.amit.com&DeviceId=androidc986729649&DeviceType=Android] [] sync - POST Microsoft-Server-ActiveSync?Cmd=Ping&User=ritesh%40kke.amit.com&DeviceId=androidc986729649&DeviceType=Android … | |
Hello, I was wondering if you can help me, I am tryin gto achieve a specif output and I am stuck, any help would be greatly appreciated. [CODE]# cat file 1,2,3,4,5,6 1,,3,4,5,6 1,2,,,,6 # cat file | awk -F, '{print $1,$2,$3,$4,$5,$6}' | awk '{printf("%-1s %2s %2s %2s %2s %2s\n", $1, … | |
Dear All, I have just started, playing with unix shell programming. I am in need to know, that how to get the position of cursor at unix shell. To set the cursor position i am using command # tput cup x y | |
i need to print the file names of all files having .txt extension of a given directory after converting to uppercase letters. The input (directory name) should be given as command line argument. The script will also check whether sufficient arguments are passed or not and whether the argument is … | |
Hi, I have a text file here. Names Fishingclub Totalweight (g) Kalle Karlsson : Krokodilen : 1035 Sven Svensson : Noten : 786 Anders Andersson : Handgranaten : 1234 Jonas Jonasson : Uttern : 1497 Sten Stensson : : 654 Turliga Ture : : 1498 Donald Donaldsson : Noten : … | |
Hi Howto upload with curl a local file to the hosting site multiupload.com? | |
hi i want to ask how can i use shell scripting to to do multiply 2 matrices thanks | |
Hi All, My Profile is of Solution integration,Moreover i work on Solaris OS System, But i like to learn Scripting Part to devlop my competence,Would you please suggest any Good Book or documents. So that I can start the learning of Scripting for Solaris. Also i like to ask what … | |
I was supposed to write a program that reads and writes phone numbers of people to a file called phones.txt. The reading part works. The write part doesn't. I tried to use the cat command because I thought doing cat >> file.txt would simply append to a file. What it … | |
This is what I currently have so far. The script needs to Add, Edit, Search, and View the address_file. Any help would be greatly appreciated. [code] trap "rm ./f 2> /dev/null; exit" 0 1 3 addressfile=~/address_file loop=x while test $loop = "x" do clear tput cup 3 12; echo "Address … | |
I was writing a makefile for a web interface program that installs the cgi scripts to a (Linux) OS. The makefile works fine, but it needs to be able to install to different directories for different distributions (Fedora, Ubuntu). On Fedora, the scripts need to go to /var/www/cgi-bin and on … | |
i want to give a filename in commandline itself and want to check whether it is a directory are not.shall i use this command if [ -f $filename ] | |
Hi everyone, I am trying to write a shell script in which my variables take their values from a text file. The text file looks like the following: [CODE][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,..,19][/CODE] One can say it is a large file so what I need to do is to write: [CODE]variabledin = [0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,..,19][/CODE] In … | |
i want to compare 2 strings shall i use this command if [ s1=s2 ] | |
I need help writing a script called stats, which provides the user with useful information about the status of their system. The user should run this by typing stats at the command prompt. The output should be displayed immediately on stdout . Anyone able to help me? | |
. Write a shell script to print the file names of all files having .txt extension of a given directory after converting to uppercase letters. The input (directory name) should be given as command line argument. The script will also check whether sufficient arguments are passed or not and whether … | |
I have a .ksh script does a system call as follows. [CODE] recoveryProgram auto > /dev/null MYRESULT=$? if [ $MYRESULT != "0" ] ; then # If 'recovery' failed releaseBrokenStation $SYSTEM emailFailure fi[/CODE] Sometimes, this system call (recoveryProgram auto) gets hung. I would like to be able to have a … | |
This is homework. I have to write a bash shell script using awk to process three delimited text files and produce a formatted report. The three files are as follows: [CODE]GRADES file John Bunyan:90:100:75:60 Maria Montessori:80:90:60:82 Alice Cooper:75:80:54:47 Harvey Mudd:89:45:89:95 PROJECTS file test1:30 test2:30 paper2:20 exam:50 LEVELS file A:89.5 B:79.5 … | |
Hi everybody, I'm sorry If I ask a silly question. I have a simple code like this [CODE]#!/bin/bash verify() { // do something return $(grep -q 'VERIFICATION SUCCESSFUL' result.txt) } if [ verify 'a Condition' ]; then echo debug fi[/CODE] I have the following error: [QUOTE]line x: [: verify: unary … | |
I need help please.write a shell script that will take the information from two files and combine into another file I created both files in vi. file1 David 734.854.5643 Roberto 313.432.4532 Sally 267.423.5412 Mary 435.432.7654 Ted 324.642.6743 Alice 234.576.3245 Frank 342.465.6754 second file file2 Roberto Tuesday 2 Sally Monday 8 … | |
Hello, I need help in the following problem: I have this datarow 0 23 43 67 123 345 565 342 100 42 12 1 0 0 23 43 67 123 345 565 342 100 42 12 1 0 I want to filter out those columns, which are out of the … | |
Hello everyone. I am to program a simple shell in C for my project. So far my shell can execute simple commands and now I want to implement enviroment variables. I looked up on how to use the getenv, setenv, putenv. So far so good i've tried to use the … | |
Hello, I've created a simple menu that will execute some commands, and display them on the screen. However, when I try to execute them in the menu, nothing appears. I was not sure if I went about this the right way. Any help is appreciated. [code] trap "rm ./f 2> … | |
Hello, I'm trying to write a script which is listing files based on different preferences, like filetype or permissions. All is fine, except for one: I want to list files in /home which has a different owner than the home directory it is in. Here is an example: /home/UserA is … | |
Please tell me how can I master Shell Scripting or check many amazing shell script applications as wherever i search i find the same things. Now i am getting bored and want to learn something new. Isn't there any book or link which has advanced applications of shell scripts ? | |
hi, I need a script to discover proxy computers with access to Internet within my LAN ? Thanks in advance |
The End.