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

How to avoid running duplicated task?

Hi Gurus, I have requirement to run different task based on input value. the sample file as below: file1 (contains code need to be run) Code: code aaa1 aaa2 bbb ccc ddd file2 (contains all codes and...

View Article


Sshd refusing all authentication methods

I have a server which I suddenly can't connect to with ssh. sshd is obviously running and responding, but won't take anything. It doesn't even ask for a password, it refuses the method itself. Other...

View Article


Unable to configure Photon3G in RHEL6.5

Hi All, Has Any body configured Photon3G ( ZTE MF190 ) on RHEL6.5. Any Device as below .. Code: Bus 001 Device 033: ID 19d2:1254 ZTE WCDMA Technologies MSM Kernel -- 2.6.32-431.30.1.el6.x86_64 Usb...

View Article

Apache2 maintenance

Hi! apache and tomcat are installed in default on solaris 10, after some configuration tomcat is enable, but apache status is maintenance... How to change its status to online...? The log say Code: [...

View Article

How to compare multiple files in UNIX?

Hi, I have below query related to multiple file comparing I have four files i want to compare it and contents of one file will not be presence in 3other files and if any content found then it will...

View Article


How to make Shell script of using tar command?

Hi Guys, I have to make shell script means tar all files from path /home/admin and move to path /dis/wis/ Please help me.

View Article

Understanding exit code status

I have a file with size as 120,371 bytes in local machine and trying to FTP it to a remote server using put command. say that it transferred exactly the same size of 120,371 bytes and hence it returns...

View Article

Reduce the number of lines by using Array

I have the following code to count the number of how many times the name occurred in one file. The code is working fine and the output is exactly what I want. The problem is the real code has more than...

View Article


Form a pipeline script with series of steps

Hello all, This maybe a dumb question, I have a series of awk command liners, perl and C executables that I usually run in a particular order to get an output. I need 2 files as input and then , a...

View Article


To get given date -1

Hi rbatte1, I have got the code from one of your post. When I execute the your code.. by passing date as 20150108. I am getting the error. Illegal octal digit '8' at -e line 1, at end of line Execution...

View Article

What does the following grep command do?

Hello forum. Could someone tell me explain what the following grep command is searching for in file abc.txt? Code: grep '?.*' abc.txt Thanks.

View Article

Can someone explain the following shell command?

Hi Forum. I have the following script /home/user/EDW_ENV.sh to setup some environment variables as: Code: #####        section 1 PM_HOME            ##### export PC_DIR_BASE=/data/informatica/ming...

View Article

Specifying patterns to egrep or awk

given this information: Code: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel:( \[[[:digit:]]+\.[[:digit:]]+\])? [[:alnum:]]+: media error \(bad sector\): status=0x[[:xdigit:]]+ { DriveReady SeekComplete...

View Article


UNIX command question

Hi Guys, I am new on the scripting world and would like ask for help if you can. Here are my questions below. 1) What Unix commmand(s) would you put in a shell script to read an ASCII comma-delimited...

View Article

How to find all files modified from midnight (i.e. from midnight (00:00:00))...

Hi there! I was wondering if someone could help me with the following: I'm trying to find all files within a directory which have been modified since midnight of the current date. Any help would be...

View Article


ASCII comma-delimited

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Hi Guys, I am new on...

View Article

Image may be NSFW.
Clik here to view.

Conection to diferent server

Hello I'm conecting in server1 and I need connect to server2(other). I need doing that becouse I need run a lot bach of diferent serverX. I explain better: Connectionn server1 ## I need that all the...

View Article


C++ Linking Error: invalid DSO for symbol

I am on a FreeBSD system trying to build a piece of software that I wrote. I had built it in the past but recently reinstalled FreeBSD. I am not sure what is going on. The software depends on and...

View Article

Redundant IP interfaces for ISCSI boot?

I'm building a Solaris 11 OVM environment and want to configure everything to boot from our high performance SAN (no local disks). I've got everything working and the system boots nicely via an OBP...

View Article

Convert rootvg to scalable

hello everyone, I have an AIX6.1 machine and i want to convert the rootvg to scalable format because i need to increase the size of specific file systems and i cannot do it with its current state. I...

View Article
Browsing all 16232 articles
Browse latest View live