1 )How to change the run level from 6 to 3 or any run level in Centos 5.4 ?
2)I want to learn more about run level 4 (I know it is used to make changes in the boot time )?
Hey guys, I am a little confused about run level programs. (concerning centos)
I know when the system boots up the orders will be
bios
MBR
GRUB
kernel
init
runlevel
to my understanding - etc/init looks at /etc/inittab
then where is the run level located?
is it /etc/rc.d/rc0.d...
/etc/rc.d/rc1.d
/etc/rc.d/rc2.d
are these run level programs?
if so, what about /etc/init.d ? doesnt that also execute run level programs?
and how does it know what to start? where does it look
thanks guys just a bit confusing where what looks for what
I want to write a Python script. In order to write it I need to figure out how to access the values associated with my signal level and bit rate.
If I use the following command
Code:
iwconfig | grep 'Signal level'
I get:
eth0 no wireless extensions.
lo no wireless extensions.
Link Quality=70/70 Signal level= -38 dBm
Obviously, I don't want Signal level. I want whatever it happens to be. In this case, it happens to be -38. Ditto Bit Rate...How do I grab -38 from the command line?
Hello
I am trying to log the Kernel level PPPd raw PPP messages (version 2.4.2) using Linux kernel 2.6.x to the /etc/syslog or /var/log/messages but the logging is not enabled for some reason.
I pass the kdebug 7 or kdebug 31 to the PPPd using /etc/ppp/options but the Kernel level debug logs are not shown in /proc/kmsg or using klogd or syslogd.
Can anyone please help me to fix this. What might be the problem?
Please reply..
Thanks,
Rakesh
hi guys,
top can do it
the shell can do it
ps cant do it
is there any other ways, or tools?
I have been asked to gather various system-level statistics and store them in a real-time graphic. I'm currently using Logstash and think it's a great option since I am able to enable various input/output plugins to change its collection behaviors.
What I want to know is, what's your thought about collectd? Is there anything that you think collectd can do that will increase my productivity that logstash may not be covered?
hi experts
i got a centos instance that I recently rebooted, after reboot I found the iptable is running. previously i had turned it off but for some reason it started again.
this is the run level for ip table:
Code:
0:off 1:off 2:on 3:on 4:on 5:on 6:off
I am trying to figure out if with this combo, iptable auto starts? because 6 is for system reboot and if it was off then that means it shouldn't be started right?
thanks
I'm in the need of building a script to clean up my media library. I've been PVR'ing for years now and it's time to clean things up. For example, my TV Shows are saved as such:
/media/storage/Show Name/Season 1/Show Name - S01E01 - Episode Name.mp4
Over the years I've created a bunch of subdirectories further than that and I want to go through and clean those out. For example, the following directory might exist:
/media/storage/Show Name/Season 1/subtitles
If I use the find command, with -type d and -maxdepth 4, I have discovered that the subdirectory I want to delete is in the 4th level. There should be nothing valid in the 4th level and okay to delete.
I don't really know where to start. I tried using the find command with -mindepth 4 but that doesn't seem to work as I would expect. Basically, I want to scan through the library, then I want to test to make sure that the directory isn't "Season XX" and if it is a subdirectory within Season X then I would like to delete that subdirectory.
Any ideas how I can accomplish this?
FYI: I'm using Korrora 21 with BASH.
Hello sir, i want your help to know that in order to add security to ZRP which are the files where we have to make the modifications for encryption, digital signature etc.. as i have very less knowledge regarding so plz help me from the basic level as what should be done in SZRP.
Hello - I admit to being new to Linux. I'm not sure if this problem should be re-routed to a more advanced level, though.
I downloaded Oracle Linux ver. 7 on my server with Server settings (and a Gnome GUI). After running through the terminal basics, I tried opening gedit to test out its capabilities. It wouldn't let me save to folder; it just grayed out and I had to quit the application.
I modified gedit to -rwxrwxrwx (chmod) and took ownership of the file (chown) under my user profile and group. When that didn't work, I re-logged in as root and modified gedit back to root ownership and group, and it still won't save changes to any file location.
One more thing: gksudo didn't work, either...
Any suggestions?
I am going to attempt to dual boot both fedora 17 and fedora 21, as my printer can print from FC17 but not from FC21 - posted about this issue in the hardware forum.
I am rather surprised at the level of competence of people posting here, even though it says newbie forum - so I think that this is possibly where I belong too.
I have set up grub to see my fedora 17 kernel - the only problem is, that the root filesystem needs to belong to the fedora 17 kernel as opposed to the fedora 21 kernel. I can't see myself changing fc 21's fstab to have the old lv root device mounted - as /etc belongs to the root partition of fc 21.
I did change the device to reflect the old kernel's root lv partition in the /etc/fstab (fc17), but this doesn't seem to do it.
Does someone know what I am missing?