LPR Port Monitor
Is Mobile Linux Operating System powerful and Why?
Linux is not an power full Operating system XP is the most powerfull operating system
How do you use Windows XP and Linux operating system together?
By dual-booting. You install them both to the same computer and choose between them at boot.
Difference between kali Linux mini iso and kali Linux iso?
"The Kali mini ISO is a convenient way to install a minimal Kali system and install it "from scratch". The mini install ISO will download all required packages from our repositories, meaning you need to have a fast Internet connection to use this installation method."
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
Is child's PID and parents' PID identical?
No, every process gets its own PID. Otherwise, all PIDs would be the same, since every process is a child of some other process, all the way back to the init process (PID 1).
The fork() system call will return the PID of the child to the parent, and will return 0 to the child. The child can find out its own PID with getpid(), and its parent PID with getppid().
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.
How do you shut down a Linux system?
You can shut down most Linux systems by issuing the 'halt' command.
Which commands can you use to display the pathname of a current working directory?
You can use the pwd command in Unix-like operating systems to display the pathname of the current working directory. In Windows Command Prompt, you can use the cd command without any arguments to achieve the same result. Additionally, in PowerShell, the command Get-Location can be used to show the current directory.
If you mean what language is Linux written in, then it is written primarily in C, with architecture-specific components written in Assembly and many device drivers are written in C++.
Mind you, that's the operating system layer (Kernelspace) and not always what you'll find in userspace, where a lot of software is written from languages as low-level as Assembly to as high level as Python and many mixtures in between.
If you mean encoding, Linux uses just about any standard encoding you can think of, but usually just defaults to UTF-8.
If you mean source code, Linux uses its own.
How do you give command line arguments while running a program in Linux?
Different commands can have different syntaxes. The most common format is 'command -a -b -c -d' or 'command -abcd'. Commands with long options will also support the syntax 'command --option --option2 --coption3'.
Who has the most power and privileges in Linux?
That would be "root." THis user can do virtually anything on a Linux system.
Please note, however, that having "maximum permissions" is not actually a good thing. "Ultimate power" may work for comic book villains, it's poor usage on computers. When logged on as root, there's nothing stopping you from annihilating everything on your machine by accident. Linux won't wait for you to be "pretty sure" before happily executing a command.
But by keeping your normal everyday user as a regular user, admittedly likely also in the sudoers file, a command like rm -rfv / can limit the damage to stuff you actually have access to. A lot of people say this is backwards and your personal data is more important... this is true on a personal level, but computer security in most cases is actually NOT about protecting a user's data from its user or intruders, but from keeping the entire system from being compromised through a single user. May seem shortsided from a desktop sense, but for PRODUCTION machines this is absolutely essential.
If you're responsible you'd have yours and all users' data backed up, so that if the unfortunate happens and a user nukes their own home directory you're able to recover it.
To effectively stop user homes from being compromised, it's usually better to mount their individual homes as encrypted file-stored filesystems. Truecrypt is very good for this. If a user isn't logged in, then their home should not be mounted and their home directory file will be very well-encrypted and (If you use hidden volumes.) hidden from intruders who might have your "outer" password.
What is Runtime memory mapping?
Runtime memory mapping pertains to any given geographical?æinformation that is not officially stored memory. It is quite similar to real time in that it is the here and now status. Often times it is fed from satellite.?æ
Write a shell script to print given number in reverse order in Unix?
# Algo:
# 1) Input number n
# 2) Set rev=0, sd=0
# 3) Find single digit in sd as n % 10 it will give (left most digit)
# 4) Construct revrse no as rev * 10 + sd
# 5) Decrment n by 1
# 6) Is n is greater than zero, if yes goto step 3, otherwise next step
# 7) Print rev
#
if [ $# -ne 1 ]
then
echo "Usage: $0 number"
echo " I will find reverse of given number"
echo " For eg. $0 123, I will print 321"
exit 1
fi
n=$1
rev=0
sd=0
while [ $n -gt 0 ]
do
sd=`expr $n % 10`
rev=`expr $rev \* 10 + $sd`
n=`expr $n / 10`
done
echo "Reverse number is $rev"
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
If you compiled it yourself, you should usually place it in /usr/local
What type of license does the KDE currently use?
Most of KDE is available under the GNU GPL. Some programs, such as Kate / KWrite are available under the GNU LGPL.
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.
Up to DebianLenny, the default /bin/sh shell was bash. Starting with DebianSqueeze, the default shell will be dash.
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.
How can varnish be setup to cache pages?
Varnish can be set up to cache pages by configuring its default caching behavior in the Varnish Configuration Language (VCL). You typically define rules in the vcl_recv subroutine to specify which requests should be cached and under what conditions, such as checking for specific HTTP headers or request methods. In the vcl_backend_response subroutine, you can set the cache duration using the beresp.ttl directive to control how long the cached content remains valid. Finally, ensure that the cache is invalidated appropriately when the underlying content changes, using cache purging strategies.