Is there a timer command for the Linux terminal?
Use "man time" in a Linux terminal (without the quotes) to view the manual page for time. There are commands to show elapsed time a program runs, when a program is to start, etc. For a simple example, this 'Egg Timer' command: echo -e '\a' >&2; sleep 180; echo -e '\a' >72 will show a blank terminal for 180 seconds. Or 3 minutes, (which is enough to cook a soft-boiled egg!).
A server daemon is a program that runs in the background and provides some sort of service, such as a web server, SSH server, or a database server.
"posix" is a latest version of a operating system of "unix",published by ieee 1003.2 standard.
Specifically, it's an acronym for Portable Operating Systems Interface. When used, it should specify which version of the specification is being referenced. E.g. POSIX.1-2008 is the latest.
What are the advantages and diadvantages of a buffer cache?
A cache allows one to retrieve commonly used information very quickly (if it is still in the cache) rather than trying to find it on the system (which takes much longer).
The disadvantage is that is takes away memory from the system to implement the cache.
Program to find the simple interest in unix?
# calculate simple interest for 3 sets of p,n and r
count=1
while [ count -le 3 ]
do
echo "\n enter the values of p,n and r\c"
read p n r
si='echo $p\*$n\*$r/100|bc'
echo simple interest = Rs. $si
count='expr $count+1'
done
What is the full path name of your home directory?
If your user name is tom it would be /home/tom or if your user name is Mary it would be /home/Mary
Option cp -p in unix commands?
To copy the file from source to target as well as preserve the permissions by writing next to cp '-p'
What does it mean when your printer says broken pipe?
The OS is telling you that it has lost the ability to write data to the printer. This is normally caused by some sort of corruption in the system.
I would try deleting the print job and trying again. If that does not work delete the printer and enable it again. If that does not work reboot the computer and restart the printer. The last step is to reinstall the printer drivers.
Write a shell script rename all files whose names end with .c as .old?
for i in *.c
do
mv $i $i.old
done
What is a file command used to create or start a new file?
The 'touch' command creates a new empty file in Unix.
What is meaning of open source operating sysytem?
Recursive program/function/... is something that executes/invokes itself.
For example rm -rf will delete everything in a directory, also invoking "rm -rf" on every folder in this directory.
Isochoric process is a process in which change in pressure and temperature takes place in such a way that the volume of the system remains constant.
In computing, an inode (index node) is a data structure found in many Unix file systems. Each inode stores all the information about a file system object (file, directory, device node, socket, pipe, etc.), except data content and file name.
The reason for designating these as "i" nodes is unknown. When asked, Unix pioneer Dennis Ritchie replied:
In truth, I don't know either. It was just a term that we started to use. "Index" is my best guess, because of the slightly unusual file system structure that stored the access information of files as a flat array on the disk, with all the hierarchical directory information living aside from this. Thus the i-number is an index in this array, the i-node is the selected element of the array. (The "i-" notation was used in the 1st edition manual; its hyphen was gradually dropped.)
What is the difference between the ls and ls -al commands?
ls --> will list the files and directories
but
ls -a --> will list the hidden files too,
by
Dhanush M
The mesg command displays the current state of messaging (write, talk, etc.) for a user. You can also use it to turn on and off messaging (mesg y, mesg n).
What are the programs 'gdm' and 'kdm' used for?
The GNOME Display Manager (GDM) and KDE Display Manager (KDM) are X display managers that allows a user to start an X session on an X server.
In other words, the display manager shows the login screen when nobody is logged in. After it checks your username and password, it hands off the work to the actual display manager (e,g, GNOME, KDE, Xfce, LXDE).
GDM uses the GTK windowing toolkit, while KDM uses the KDE counterpart, Qt.
What is the procedure of execute a script in shell in ubantu?
For any Unix or Linux based operating system, make the text file readable and executable and then invoke (call) it by the file name, which will execute the script.
What is the running process of vi editor?
Your question is uncleear; every time you start the 'vi' editor you get another process.
How Auto mains Failure panel works?
First of all let us understand what is AMF?
Generally all the major industries/companies/institution have the DG for power back up , but when main power is cut off , someone has to go to start the DG and this takes time and also a man has to be kept for this purpose. So to eliminate this process PLC panel is installed to Auto start the DG when main power fails.
Working is as follows:-
when main power goes , a signal is received to PLC and after a delay DG starts . When the Main supply fail signal is received by PLC then after a delay time, output for ACB/Contactor of DG is ON and DG starts automatically. Also the ACB/Contractor of main transformer if sent OFF Command. When main power comes then the signal is again sent to PLC and PLC off the ACB/Contactor of DG and after 2 seconds it on the ACB/Contactor of main transformer and after 30 seconds it off the DG. DG is sent OFF command a little late so that the load beard by DG for a long time can be compensated by running at no load for some time.
If for example we wanted to make i subdirictory called foo
in Linux or UNIX it you use
mkdir foo
to change into it you would use
CD foo
to remove the directory
rmdir foo
but this will only work if the directory is empty
to remove the directory called foo when it is not empty use
rm -rf foo
but please be sure this is what you really want to do.
What are examples of command line of wildcard characters?
You need to supply the possible answers you are looking for. In general, * ? + . etc are wildcard characters, along with [] for set inclusions, etc.