What are the difference between ms-dos and unix as a language translator?
Neither one of them is a "language translator."
A booking system is a modern day organizer to help make reservations for things such as flights, hotels, trains, cinemas and much more online.
smitty
Communications Applications and Services
TCP/IP
Minimum Configuration & Startup
Choose either en0 or en1
to find out the memory of each processes running on our unix/ Linux box type "PS -aux | more" would list u all the processes running with their respective processor id's (pid) and the memory used by the respective programs ...
if u are running out of memory what we can do is note down the pid which is taking lot of memory and if u feel the process is not so important for u
then use the command "killall"to quit or stop that particular process
I am using red-hat Linux, here u can use a top command to c the amount of memory utilized by each running processes.
You can use "top" or the native "prstat" in Solaris. In order to see how much memory is used by a process, not including that shared with other processes ( through shared libraries ), you can execute "pmap -x $pid" giving your processes PID.
Can the redirection shell metacharacter be used to redirect between a command and a another command?
Only one of the redirection operators will do this - the vertical bar or "pipe" symbol (|). It takes the standard output of one command and uses it as input to the next command in sequence.
What is a difference between a daemon and a background process?
Background processes are tied to a terminal's job control, while a daemon runs headless. When the terminal is killed or the user is logged out, the process dies. A daemon does not need the user to be logged in.
After you enter the 12 lines, go back to command mode, go to the first of the 12 lines and yank the 12 lines into a buffer.
Go to the end of file (or wherever you want them placed) and use the 'put' operation to insert them. I do this all the time; very common operation.
Here is that kind of script:
#!bin/bash
# Checking parameters number, we need two parameters
if [ $# -ne 1 ]
then
echo "Wrong number of parameters, please try again."
exit 1
fi
# Checking if number is odd or even
if [ $[$1 % 2] -eq 0 ]
then
echo "Even"
# Write number to even.txt file
echo $1 >> even.txt
else
echo "Odd"
# Write number to odd.txt file
echo $1 >> odd.txt
fi
exit 0
This bash script accepts one parameter - number and if number is even it is written into end of even.txt file and if odd into odd.txt.
Bit depth does not affect file size?
Actually, Bit depth will affect file size. For example:
1-bit=2kb 4-bit=21kb 24-bit=24kb
The ppid field is the parent's process id. This is the process that 'owns' the current process.
How do you find the Apache version in Solaris?
apache -v
or
httpd -v
should return the version information.
How do you change the root shell in unix?
Your login shell can be changed by using the chsh or ypchsh command.
#!/bin/ksh
let j=5
while [ $j -gt 0 ]
do
PS -ed
sleep 30
let j=$j-1
done
What service does the UNIX Web Hosting company provide?
UNIX Web Hosting Company provides different services for businesses. It is basic web hosting that delivers a maximum reliability on the FreeBSD. They offer 3 differnt UNIX Hosting packages starting from Starter to Advanced UNIX Hosting. They also offer a variety of business tools for your website.
What does the shell ordinary do while a command is executing?
While the command is executing, the shell waits for the process to finish.
How do you move a process from the background to the foreground in Vi Editor?
You don't. Moving from foreground to background, etc., happens outside of the 'vi' editor.
Write a shell program in unix to find palindrome of the number?
echo "Enter number:"
read num
r=0
d=0
a=$num
while [ $num -gt 10 ]
do
d=`echo $num % 10 |bc`
r=`echo $r \* 10 + $d |bc`
num=`echo $num / 10 |bc`
done
d=`echo $num % 10 |bc`
r=`echo $r \* 10 + $d |bc`
if [ $a -eq $r ]
then
echo "given number is polindrome"
else
echo "given number is not polindrome"
fi
Can the top command be used to change the priority of processes?
Yes, certain versions of 'top' can change process priorities. However, you need sufficient priviledge to do that.
How do you add text to your animations?
If you are talking about adding text to animations using Windows Movie Maker, click on the "Titles and Credits" option in the Task pane. Follow the instructions.
Is the command that allows a user to see the path at all times next to the cursor?
Yes, you can do this quite easily. Using the PS1 shell variable, set it (depending on shell) to something like:
PS1='$PWD :'
That will always show the current path of where you are. Just be aware that if the pathname is really long it makes it difficult to see what commands you are typing in.