How Many Ways Can You Change A Nice And Renice Level

hi guys,

top can do it
the shell can do it
ps cant do it
is there any other ways, or tools?


Similar Content



Question About Run Level Programs And How The OS Know What To Run

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 Need To Setup Kyless Ssh Between CentOS And HP-UX Both Ways

I have 2 linux boxes Code:
HP-UX server1 B.11.11 U 9000/800

and Code:
 CentOS release 6.3 (Final)

I need to setup a password-less ssh. I could login from HP-UX to cent os but not other way.

Is it possible to use password less ssh both ways ? Is there any extra step in HP to setup keygen?

what I am doing

Code:
ssh-keygen -t rsa

copy the ~/.ssh/id_rsa.pub from client machine to ~/.ssh/authorized_keys on server machine

How To Change The Run Level From 6 In Centos 5.4

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 )?

Midnight Commander, Mc, Change Color From Shell Depending On File Extension...

How do i change the color for .pdf files ?

Can i do this from the shell without
changing the configuration files ?

mc --colors doc:white,black:

How To Change Gnome Environment

Hi,

This might be odd, but in GNOME Shell 3.10.4 in fedora 20, I used to throw the mouse to the top left of the screen and that would make me feel excited about having all the open windows jam packed and then again selecting one I wanted. It really gave me a thrill.

But, in GNOME Shell 3.14.4, fedora 21 (workstation), I have to "click" on the "activities" on the top-left :-((

Is there any way I can change GNOME Shell 3.14.4 in way to have that feature back?

Cp -r *.* /<dest Folder>: What Does *.* Literally Mean In Linux?

I have been using this command a lot lately:
Code:
sudo cp -r *.*  /<dest folder owned by root>

Goal: to copy all contents of current folder into destination folder.

I know there are other ways, and have tried several, but gave up in confusion (was also in a hurry to get on with it). Finally gave the windows *.* a shot, and it did exactly what I wanted.

Now that my task is completed, it would be nice to know what *.* literally means in Linux. I just looked though man cp, and also ran Code:
info coreutils 'cp invocation'

but didn't see any '*' options listed. Now I remember having come across '.' before somewhere, in the cp command, so possibly the '*' are ignored, and the only thing that matters is the 'dot'?

Password Changing In Shell Scripting

Hi,

i am using ubuntu 12.04 i working on scripting i want know how to change set of user passwords in shell scripting .

How To Install Kali Tools...????

guys help me.........

now i am using mx1 latest version which is based on debian . now i want to install all KALI TOOLS in my distro . how can i do it ...plz give
me links or ppa. thanks

What Does Su -l Do...and Why Would You Have To Sudo It

hi guys,

saw a video where the instructor wanted to login as root

he went...

sudo su -l

i see the -l option is -l, --login
Start the shell as a login shell with an environment similar
to a real login:

but i dont understand the significance of this...why couldnt you just go
su
login

Linux Quizzes For Beginners And Not

Just updated some Linuxes quizzes that could answer many of your questions about Linux.

1. Starters
100 questions for beginners about what is possible and how
2. History
70 questions
3. From the Shell
130 questions and 3 levels
first level is an easy intoduction to the shell and then it gets tricker
4. Expert
75 questions and two levels
5. Wifi
10 questions (new quiz more questions to be added soon)
6. GIMP
30 questions with images on doing graphics with Linux

it's a quick & fun way to see what's possible with linux

oh! where to find them?
easy, just search 'linux quizzes'