Quantcast
Channel: UNIX and Linux Forums
Browsing all 16232 articles
Browse latest View live
↧

Copy file from RDP to Local

Hi All, I am trying to copy a file from remote desktop to my local system using copy and xcopy commands...but none of them worked..is there any batch file or commands to do the copying .if do please...

View Article


Image may be NSFW.
Clik here to view.

Display data from a range of dates

I have a data in a file called SCHED which has 5 columns: sched no, date, time, place and remarks. The image is shown below. Now, I want to display only the schedules which fall under a certain date...

View Article


Transpose lines from individual blocks to unique lines

Hello to all, happy new year 2013! May somebody could help me, is about a very similar problem to the problem I've posted here where the member rdrtx1 and bipinajith helped me a lot....

View Article

Extract specific contents from each line

Hi all, Happy new year! Here I have a problem with extract specific information from each line in unix: My file is the dbSNP flat file, take two SNPs for examples: Code: REFSNP-DOCSUM-SET (FULL-DUMP)...

View Article

[SELinux] Problem with Bind 9

Hi, I can not start named service: Code: /etc/init.d/named start Iniciando named: Error in named configuration: zone default.domain/IN: loading from master file /home/admin/conf/dns/default.domain.db...

View Article


Ssh connection

hi, I have ssh connection between two servers for a functional Id for SFTP purpose. I aim is to setup this for is only work when below command is used by a .ksh script. ssh userid@servername:/directory...

View Article

Perl:Regex for Search and Replace that has a flexible match

Hi, I'm trying to match the front and back of a sequence. It works when there is an exact match (obviously), but I need the regex to be more flexible. When we get strings of nucleotides sometimes their...

View Article

Using && in if statement with 3 expressions

how do you write an if statement for something like Code: if ((expr 1 >= expr 2 && expr 3 >= expr 4) && expr 5 <= expr 6) if ((TRUE && TRUE) && TRUE) then...

View Article


VCS install error

hai this is samiulla i am installing vcs 6.0 in vmware solaris 10 (64bit) i got error while i am going to install vcs in 2 nodes even i add rhost files on both nodes and ssh autho login still i got...

View Article


How to search for numbers greater than x?

I have a file with multiple fields, example below Code: File 1: Field 1|Field 2|Field 3|Field 4|Field 5|Field 6|Field 7|100 Field 1|Field 2|Field 3|Field 4|Field 5|Field 6|Field 7|101 Field 1|Field...

View Article

Help with /dev/null Please

Hello All and a Happy New year to yous guys. I'm running the below command on my AIX box and it keeps giving me the message that the file doesn't exist. I know the file don't exist, but I don't want to...

View Article

How to troubleshoot a 1000 nodes Apache cluster?

Hi all. May I get some expert advice on troubleshooting performance issues of a 1000 nodes Apache LB cluster. Users report slow loading/response of webpages. Different websites are hosted on this...

View Article

Script to Archive Files from Subdirectories

Hello, I have a CentOS server that contains a 'storage' directory. Within that directory, there could be any number of subfolders (all with unique names that match usernames). Under each username...

View Article


Problems cloning Solaris 10 x86 Installation to bigger HDD

Dear All, I have been trying to move my existing Solaris Installation (x86, 10/08) to a bigger HDD. So I created a 22 cylinder boot partition and used the rest of the space for a Solaris2 partition....

View Article

Querying a website at random bunches simultaneously

I have a script that hits my website for stock quotes and pulls prices. currently it does this one by one until all the symbols have been pulled. I've solved for bandwidth issues by putting in a random...

View Article


Parse find input into array

I need help parsing the output of find into an array. I need to search 3 directories and find all files older than 31 days old. This is what I have so far. Code: TIME=" -maxdepth 1 -mtime +31"...

View Article

Check the exact month and date

Hi All, Please help me in the below code. Code: awk -v pattern="$_month$Day" 'BEGIN {FS = "." }; {if ($3~pattern) {print $0}}' ${BASE_DLY_UOGL_WORK_DIR}/Avail_ApprovedReports.txt >...

View Article


Writing to System Logs

This isn't a RedHat specific question. The software in question might be used for any Linux distribution. Would it be advisable or inadvisable for my application, to be downloaded by many people I...

View Article

Finding process that turned on ports

I have 2 identical solaris 10 servers that are simply apache servers, running a version of apache I installed. Code: # uname -a SunOS wilber 5.10 Generic_147440-25 sun4u sparc SUNW,Sun-Fire-V245 I did...

View Article

Creating Dynamic Varibles from a Flat File

Greetings all, Been trying to do my Googling and forum searches but can't seem to lock in on a solution. I have a script that parses a log and collects all the uniq events to a flat file. Some days...

View Article
Browsing all 16232 articles
Browse latest View live