01-25-2011
I have accessed the terminal using "Ctrl+Alt+F1" I am not good with terminal so I used a ubuntu LiveCD to edit the /etc/inittab file. By default the file used runlevel 2, since you implied that the default runlevel is 5, I changed it to 5 but that didn't work so I changed it to 3 but I continue to have the problem. What now?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've been asked to get a breakdown of what is consuming CPU time on our server over an extended period ?
Have been asked about the CPU load on our server and I need to be able to go back to my boss and indicate what % is consumed by what process (or group of processes). I.e. 15% is database... (2 Replies)
Discussion started by: Cameron
2 Replies
2. Linux
Hi all,
Can any body provide me with a link that gives the core details of the three processes(given below) in concern with 'gcc'?
1)Compiling
2)Linking
3)Loading (1 Reply)
Discussion started by: me_himanshu
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I've got file1 like this:
aaa bbb ccc
ddd eee fff
ggg hhh kkk
ppp mmm nnn
and file 2 like this:
aaa qqq www
ddd fff ggg
ggg sss zzz
ppp vvv yyy
and file 3 like this:
aaa
ggg
ppp
I need to match the first column of file3 and file1, then add the rest of the file 1 to... (3 Replies)
Discussion started by: zajtat
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
I was Googling to get info "How OS loads process into its memory to execute?" i mean when i execute ./<exename> , How OS exectes it?
It will be better if i tell my intention,
In my $LOGNAME saveral process are running, among all of these two process are my target process. Basically I... (1 Reply)
Discussion started by: ashokd001
1 Replies
5. Shell Programming and Scripting
Hi guys,
I want to know how to wait for the files untill they are loaded through ftp
here the scenario is
i'm searching for the files in unix directory
/stage_area/loadfiles/telsims/test/
and there are 39 files daily i will recieve with names like *.todays_date
i.e... (7 Replies)
Discussion started by: apple2685
7 Replies
6. Programming
Will this sentence return the decode of the string?
Why I put a string in it but the system say:
invaild load key (1 Reply)
Discussion started by: Henryyy
1 Replies
7. UNIX for Dummies Questions & Answers
We are deploying an app to our students that is running as a daemon. It keeps them from using certain software. The problem is that when we initially deploy it we don't want to require a restart. So we decided to use launchctl to load the daemon manually. When we do it this way, though, the... (4 Replies)
Discussion started by: nextyoyoma
4 Replies
8. AIX
Hello,
Is there any way to su another user and loading its profile with an argument.
For example I am user1 and I want to start user2
user2 .profile is interactive asking user to pass some values
I want to automate a process by switching user and if I pass an argument the interactive... (4 Replies)
Discussion started by: geodimo
4 Replies
9. UNIX for Beginners Questions & Answers
I am working in Kali Linux. I have disabled ipv6 by the command, "sysctl -w net.ipv6.conf.all.disable_ipv6=1". Below output of "ifconfig -a" shows no IPV6.
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.119 netmask 255.255.255.0 broadcast 192.168.1.255
... (3 Replies)
Discussion started by: broy32000
3 Replies
RUNLEVEL(8) runlevel RUNLEVEL(8)
NAME
runlevel - Print previous and current SysV runlevel
SYNOPSIS
runlevel [options...]
OVERVIEW
"Runlevels" are an obsolete way to start and stop groups of services used in SysV init. systemd provides a compatibility layer that maps
runlevels to targets, and associated binaries like runlevel. Nevertheless, only one runlevel can be "active" at a given time, while systemd
can activate multiple targets concurrently, so the mapping to runlevels is confusing and only approximate. Runlevels should not be used in
new code, and are mostly useful as a shorthand way to refer the matching systemd targets in kernel boot parameters.
Table 1. Mapping between runlevels and systemd targets
+---------+-------------------+
|Runlevel | Target |
+---------+-------------------+
|0 | poweroff.target |
+---------+-------------------+
|1 | rescue.target |
+---------+-------------------+
|2, 3, 4 | multi-user.target |
+---------+-------------------+
|5 | graphical.target |
+---------+-------------------+
|6 | reboot.target |
+---------+-------------------+
DESCRIPTION
runlevel prints the previous and current SysV runlevel if they are known.
The two runlevel characters are separated by a single space character. If a runlevel cannot be determined, N is printed instead. If neither
can be determined, the word "unknown" is printed.
Unless overridden in the environment, this will check the utmp database for recent runlevel changes.
OPTIONS
The following option is understood:
--help
Print a short help text and exit.
EXIT STATUS
If one or both runlevels could be determined, 0 is returned, a non-zero failure code otherwise.
ENVIRONMENT
$RUNLEVEL
If $RUNLEVEL is set, runlevel will print this value as current runlevel and ignore utmp.
$PREVLEVEL
If $PREVLEVEL is set, runlevel will print this value as previous runlevel and ignore utmp.
FILES
/run/utmp
The utmp database runlevel reads the previous and current runlevel from.
SEE ALSO
systemd(1), systemd.target(5), systemctl(1)
systemd 237 RUNLEVEL(8)