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

Error in tsch shell scripting..

Hi Everyone, I am using gdb-7.5 to connect to the target. When I gave the./configure --target=xyz --build=i686-pc-mingw32 --host=i686-pc-mingw32 command then checking build system type......

View Article


Cut the final line of each sorted value

Hi I have file like the below mentioned example. Need some kind of unix script to achive the output. Input: Code: PA|23|2013-01-23|252 PA|23|2013-01-23|264 PA|25|2013-01-22|200 PA|23|2013-01-27|156...

View Article


Doubt

hi ,, i am new for this.. i want to know abt linux os.. which version is best for it industry.. please suggest me..:cool:

View Article

Image may be NSFW.
Clik here to view.

SQL block in a Shell Script connecting to a local and remote DB

Hi All, In a Shell scriipt with a SQL block I want to issue a query against a local DB and a remote DB on a remote server. The shell script is running locally. This is how I connect to the local...

View Article

Assigning Variable to Line Numer in nl

hi, i'm creating a little menu for some users. i'm running the command: Code: du -a /apps | sort -n -r | head -n 10 | nl i then get the top 10 files by size in the /apps directory the output is like...

View Article


RIP configuration in RHEL 6.3

Hi, Can someone please help me configuring RIP (Routing Information Protocol v2 ). I have tried few manuals and posts from networking sites and i didnt get a clear picture. This is what i have done: 1....

View Article

Shell : elimating zero values and printing

I have a log file containing the below data and should have the output file as below. and the output file should not contain any 0 values. Eg. It should not contain 0000000:0000000 in it. input.txt...

View Article

Openssl cipher strength

I have read the forums for strengthing the openssl ciphers on a server and the following command I can run: openssl ciphers -v 'TLSv1+HIGH:!SSLv2:RC4!MEDIUM:!aNULL:!eNULL:!3DES:!EXPORT:@STRENGTH' I...

View Article


Xrdp hangs

Hi, I'm trying to get xrdp to work. I installed xrdp 0.5.0 from EPEL and the Desktop group. Now I can connect to the server with rdesktop, but I can't do any input... there is an authentication window...

View Article


Read Only Permission after the space is full.

Hi, Is there any chance that a file system that mounted on the server becomes read only when the space in that file system becomes full? Regards, Sreejith

View Article

Perl script help

Hi I'm pretty new to PERL so please bear with me:D I have a df output which I need to add the used of each filesystem Example: Code: anmtl004        /dev/hd4        320        37%        4253        8%...

View Article

Place your bits - Who will win the 2013 Australian Open (Men)

The last quarter final was played today. I have added this event here Who will win the 2013 Australian Open (Men)? R. Federer A. Murray N. Djokovic D. Ferrer Please place your bits on or before 26th...

View Article

Regular expression for XML request and response

Hi Gents, I am having a xml request, I need to match the entire paragraph in unix regex. Can some one please provide me the regex for unix. I need to embed this in a shell script. Below is the XML. I...

View Article


No of CPU's and No of Core

I would like to understand how many number of CPUs and cores do I have on my server based on following out put.. Quote: [root@xyz ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family...

View Article

[Solved] Backtick and escapes

Hello all, I have a problem with a bash script. It contains an MySQL query, which when I run it 'as is', executes without a problem. When, however, I try to get it to assign its output to a variable,...

View Article


Can't get DHCP IP

Dear Experts, I have a TI DM8148 EVM board REV C, the EZSDK5.05 SW package, and DVRRDK1.09 SW package. EZSDK5.05, DVRRDK1.09 both use Linux2.6.37, however, there are some modifications between these...

View Article

Grep in line use perl

Hi, i want to create perl script to telnet and print the output. : This is the script that i have so far : Code: #!/usr/bin/perl use lib '/usr/lib/perl5/5.14'; use Telnet (); $target = "192.168.5.1";...

View Article


Using make subst

I have a string of source files Code: ENBL_PX11_LIBSRC = pltsub.f xpltlib.f xbuplot.c I want to replace .f and .c with .o to get Code: ENBL_PX11_LIBOBJ = pltsub.o xpltlib.o xbuplot.o However I am...

View Article

Need script for running another script

I need a script to automate my job. I have a gateway server, from where I can do sudo ssh to any server without asking password. I have a file - servers_list (contains linux+solaris servers) in this...

View Article

Manipulating sed Direct Input to Direct Output

Hi guys, been scratching round the forums and my mountain of resources. Maybe I havn't read deep enough My question is not how sed edits a stream and outputs it to a file, rather something like this...

View Article
Browsing all 16232 articles
Browse latest View live