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

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other...

View Article


Double quote filenames

Hi, I need to double quotes filenames in the following string: Code:       /tmp/*file1                                /tmp/*file2                                /tmp/*file3...

View Article


AIX failed disk & HMC

I have an IBM 9110-51A p Series Server with AIX 5.3. It has 2 scsi hard disks (and 4 on disk array) but the hdisk1 is failed and i have to replace it because it is defined. Is possible someone to...

View Article

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other...

View Article

DHCP is getting different class of IP than host machine on Solaris 10

i have a laptop with windows 7 installed . this laptop is dhcp enabled and it's details are as follows : Code: IPv4 Address. . . . . . . . . . . : 10.1.5.54  Subnet Mask . . . . . . . . . . . :...

View Article


AIX CPU performance script ?

I want to write a shell script which will print AIX CPU utilization memory utilization every 5 mins redirect to file. How do i do it? Please advise. Which commands I should use?

View Article

Bash script

Hi, I need a little help to change the code at the bottom. I must get "hostname" and "sessionNumbers" in one statement. So, i need to assign "substr( $5, length($5) )" to "sessionNumbers" in first awk...

View Article

Moving files to folders and rename

Hello! I am new to this. I have many files from b_ap00 to b_ap80, and I need to move them to folder 00 to 80 respectively, where b_ap00 is in folder 00, b_ap01 is in folder 01. On top of this, I need...

View Article


Explain this logrotate file

Very silly question .. I deleted it .. Please delete this thread too .

View Article


Is it possible to change my username?

I know username is the unique id for my unix_dot_com account, but is it possible change it ? should i raise any special request to moderators ?

View Article

Help on script to change permissions

Hi All I have the following script that is supposed to change permissions of incoming files to a directory, but it does not seem to do what I want, please can you help: Code: mkdir -p /tmp/tmpdir find...

View Article

Issue with svn update using cron job.

I want to update svn code using a nightly job using cron, i have created a job in cron as, Code: 30 17-19 * * 1-5 /home/saprab/svnUpdate.sh <branch> <svnusername> <svnpassword>...

View Article

Tail and log rotation

Need some suggestion with an old problem form a thread here: http://www.unix.com/shell-programmin...ement-awk.html Since my log is large, I did get help to make a line that splits the log into two...

View Article


MinGW - Trouble Compiling Guile

This question is not about programming but compiling with GNU GCC/Make. I am not on a UNIX machine but am using the UNIX-like environment MSYS with MinGW for compiling. The problem that I am having is...

View Article

Finding contiguous numbers in a list but with a gap number tolerance

Dear all, I have a imput file like this imput Code: scaffold_0      10558458        10558459        1.8 scaffold_0      10558464        10558465        1.75 scaffold_0      10558467        10558468...

View Article


Logadm

I need to delete the logs using logadm command. we have application that generates to logs automatically with different dates every day like error_20121121.log and so on... using lodadm can i delete...

View Article

Issues while pattern matching using grep

Hi, I have a file f1 wi the following data f1.txt ======== Report ID Report Name ----------------------------------------------------------------- Post Requests : 2 Post successes : 2...

View Article


Merge with common column

hi i have two files and i wanted to join them using common column. try to do this using "join" command but that did not help. File 1: Code: 123            9a.vcf              hy92.vcf          hy90.vcf...

View Article

Solaris 10

Hi Guys, I am running Oracle 11g database on solaris 10 and one of the recommendations is to set kernel parameters using project--(something new to me). Now I want to see if my semaphores are configure...

View Article

Remove data from grep command using the pattern in the file

Hi, I writing a shell program to remove the data from output of the find which matches a list in a file I am using the below find command to get the list of files x=`find . -name test*.dat` the output...

View Article
Browsing all 16232 articles
Browse latest View live