Cp r instruction
Pleas I want answer to this question? Pleas help me A system administrator suspects that there is an attack on his machine; he needs to make a backup of the files to check when they have been modified....
View ArticleRw-rw-rw
Pleas I want answer to this question ? In UNIX, each device is represented by a device, give an example of a file representing the hard disk storage device. Give the full listing of this file using the...
View ArticleExtracting data between specific lines, multiple times
I need help extracting specific lines in a text file. The file looks like this: Code: POSITION TOTAL-FORCE (eV/Angst)...
View ArticleInput data control (need some adviced from other people)
This is the situation. I'm in doubt where to integeate some functions for taking user input which then must be transfered in the production database. I usually tend put everything in frontend...
View ArticleAdd markup tag and sequential number after specific line
Hello, This one has me a bit stumped. I have data the looks like, Code: M END > <PREDICTION_ACCURACY> PROBABLE > <NO_OF_PARENTS> 3 > <CLOGP> -13.373 > <SMILES>...
View ArticleHow can i make the current shell return from the middle of a script reading?
I am using the popular bash shell. Under the current interactive shell, i run the script like: ". ./myscript.txt" . After the current shell has finish the script, the shell will continue to work as I...
View ArticleTCSH user input checks
I would like to check user input for arguments 1 and 2 for my Solaris TCSH script for the following: 1. That both user input arguments are numbers. 2. That they are both at least 5 digits. Thanks for...
View ArticleCrontab does not execute script within a script
Hello All, I have a crontab schedule and its executing a script that is calling another script and does not execute. Crontab : ***** /test.sh and in test.sh /usr/local/file.sh and in file.sh webproxy...
View ArticleTCSH user input error checking
This was taken down recently because it appeared to be homework, but it isn't. It's for a script I am working on at work. Thanks for the help. How do you check that user inputs (arguments 1 and 2) are...
View ArticleOSX verify username and password in one line
I'm writing a script that has the need to verify the current user's username and password. I'm not entirely sure how to do this. I've read some things on "dscl" but am not sure that's the correct route...
View ArticleHelp with shellscript
I am new in shell script i want to convert .txt file in the format PHP Code: axsjdijdjjdk to PHP Code: a x s j d i j d j j d k
View ArticleCentos 5.8 video driver problem
i have an older server from about 2001 i was given. i recently lost the OS drive on the system and dicided to go to linux instead of windows. i have tried open suse, centos and both do just about the...
View ArticleNeed help with Regex for bash
Hi, I am trying to match this word: hexagon-bx.mydomain.com with regex. I have tried this: Code: "[a-z0-9\-\[bu]\.*]*$" So far I have not been successful. I also need to make sure that the regex will...
View ArticleOps Center Enterprise Controller Mount Point layout
Hi Guys. I am about to install the Enterprise Controller of Ops Center. I need to know on a 200gb Hard drive what the best possible Mount point layout? I know that /var is suposed to be around 100gb...
View ArticleRAM Usage discrepancy
Hey there! I'm a new user here who registered because I couldn't get these kind of questions answered in the place I directly com from. :o I've found a discrepancy in total RAM used and I can't figure...
View Article320GB HD change and recognize as 2TB Problem
Hi, I would like to ask if someone experince this problem on a Hard disc. I had a 320 GB WD Blue 3.5 Hard disc. When i plug on my PC BIOS detect it for a while and dis-appear. Luckily sometimes i can...
View ArticleFor loop -- noob question
Hello, I am new to shell scripting and i am trying to figure why is this not working with else statement. I am searching for every directory in that DIR i am in, however the "else" seems to be...
View ArticleFTP Services
HI Guys i have a problem with my ftp site, on sco open server, when my users trying pulling reports, it gives them permission denied, it was working then suddenly stopped out of no where, i would to...
View ArticleOne Column To Two Columns
Having difficulty reformatting a 1 column file into a 2 column file as shown below: Example Input Code: A 01 02 05 07 08 11 B 1193941 7231222 5192121 3221312 2211149 1783289 Required Output Code: A B...
View ArticleIncrement value in text file
Hi Guys, I am new to shell programing, I have a csv file which has 50k records and I have got the requirement to increment the value in second column after each 5000 records. for example below A,B,C,D...
View Article