Search Results

Search: Posts Made By: sanoop
23,686
Posted By sanoop
Thank You very much friends, I am able to solve...
Thank You very much friends, I am able to solve the issue. I have added the entry console in the access.conf file for root user. This solved my issue. :)
23,686
Posted By sanoop
RudiC I have pasted some part of my security...
RudiC I have pasted some part of my security file. pts/n was already in the file. I am pasting the complete securetty file here. I am sure you will be able to find a solution for this.

#...
23,686
Posted By sanoop
fpmurphy Exactly. All the terminal names are...
fpmurphy Exactly. All the terminal names are already there in the /etc/securetty file. I am pasting some of the entries in the file. Do you think something else is causing the issue. Because I am...
Forum: Linux 11-07-2012
3,780
Posted By sanoop
hergp: Exactly. All the terminal names are...
hergp: Exactly. All the terminal names are already there in the /etc/securetty file. I am pasting some of the entries in the file. Do you think something else is causing the issue. Because I am...
23,686
Posted By sanoop
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...
Forum: Linux 11-06-2012
3,780
Posted By sanoop
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...
8,020
Posted By sanoop
Event logging to file and display to console | tee command is not able to log all info.
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first...
2,994
Posted By sanoop
Hello dude just try the below code ls -lt |...
Hello dude just try the below code

ls -lt | awk 'NR == 1 {next} {print $9}' | sed -ne '6,$p' | xargs rm -rf



Please use next time code tags...
Forum: Red Hat 02-22-2012
21,691
Posted By sanoop
Thank You Guys. Since my system is being used for...
Thank You Guys. Since my system is being used for some other purpose I would be able to try this after some time. I will let you know the reseults with your comments.
2,136
Posted By sanoop
Sorry forget last comment. Yeah, this is your...
Sorry forget last comment. Yeah, this is your problem. There is unwanted quote space between $*.

subject="$taskName" ": "$*" at `date` "

Whenever you are using $* and $@ it should be quoted...
2,136
Posted By sanoop
Whatever variable you defined outside the...
Whatever variable you defined outside the function to be exported. Exprted variable can be used inside function

Eg :: export taskName
Forum: Solaris 02-22-2012
11,107
Posted By sanoop
I think you have to install below modules also....
I think you have to install below modules also. After that try to install Date::Time

CPAN::Meta
ExtUtils::CBuilder
ExtUtils::ParseXS
Parse::CPAN
Module::Build

You can verify whether...
2,029
Posted By sanoop
Yes it will create difference. I can explain...
Yes it will create difference. I can explain more about this.
Before going to that I can tell some problem in your script. You are not supposed to use $* & $@ alone, it should be quoted ("$*",...
Forum: Red Hat 02-22-2012
21,691
Posted By sanoop
Disk usage showing 100% after deleting files also | Red Hat Linux 3.2.2-5
My Redhat Linux system is always showing 100& disk usage. I have removed almost all the files, but no use and I am always getting 100% disk usage.!!

Filesystem 1K-blocks Used ...
2,029
Posted By sanoop
See this. simple explanation. bash - What...
See this. simple explanation.

bash - What is the difference between $@ and $* in shell scripts? - Stack Overflow...
39,008
Posted By sanoop
I am not sure whats wrong there.!! This is...
I am not sure whats wrong there.!! This is working fine on both solaris and redhat linux.
39,008
Posted By sanoop
Remove the double quotes and try. for i in jpg...
Remove the double quotes and try.
for i in jpg txt csv pdf gz
do
mv /usr/bin/sou/*.$i /usr/bin/sou/temp/
done

---------- Post updated at 06:55 AM ---------- Previous update was at 06:55 AM...
39,008
Posted By sanoop
The below simple command will fulfill your...
The below simple command will fulfill your needs.?
mv /usr/bin/sou/*.* /usr/bin/sou/temp/
1,807
Posted By sanoop
You can try this also. This should work.! ...
You can try this also. This should work.!
#!/bin/ksh
number1="20"
if [ ${1} ]
then
number1=${1}
fi
number2="1"
while [[ $number2 -le $number1 ]]
do
if [[ $(($number2 % 3 ))...
3,089
Posted By sanoop
You can also modify the above awk and use. awk...
You can also modify the above awk and use.
awk 'NR==1, NR==20' "abc.txt"

How to use code tags (https://www.unix.com/how-post-unix-linux-forums/167686-forum-video-tutorial-how-use-code-tags.html)
36,291
Posted By sanoop
@rangarasan - I have sun operating system ...
@rangarasan - I have sun operating system
@balajesuri - Yes you are correct, I am getting zero permission for the file.

---------- Post updated at 01:34 AM ---------- Previous update was at 01:30...
3,089
Posted By sanoop
Use the below awk command awk 'NR==20 NR==19...
Use the below awk command
awk 'NR==20 NR==19 NR==18' "abc.txt"
36,291
Posted By sanoop
Thank you for the reply. But I think the maximum...
Thank you for the reply. But I think the maximum value that we can give for umask is 000.? So that it will create create maximum permission for files and folders.? files (666-000) & folders...
36,291
Posted By sanoop
How to create a file with 777 permission.?
Hi Guys,

I want to know is there any method to create a file having 777 permission. I am aware of umask, since it is only giving max. 666 permission for files this is not fulfilling my needs.
...
Showing results 1 to 24 of 24

 
All times are GMT -4. The time now is 05:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy