8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Unix (and Linux) uses a process tree that gives a natural security, by simple inheritance of attributes.
The following ptree script shows it. It runs on all Linux flavors.
Mostly useful for debugging.
#!/bin/sh
# Solaris style ptree
&& exec /usr/bin/ptree "$@"
... (6 Replies)
Discussion started by: MadeInGermany
6 Replies
2. UNIX for Dummies Questions & Answers
Hi All
I have found that few basic commands in unix have the same syntax in linux as well. I need those commands which differ on Linux platform, with some more advanced options..
For example... awk, sed, tr ... and some more commands with advanced options. I am trying to search on the linux... (1 Reply)
Discussion started by: vee_789
1 Replies
3. Android
In case you are interested, here is a partial list of linux-like commands on Android OS:
/sbin
adbd
devmgr
recovery
dfta
init
dfta.sh
fat.format
redbend_ua
/system/bin (partial list)
sh
date
netstat
mount
umount (0 Replies)
Discussion started by: Neo
0 Replies
4. UNIX for Dummies Questions & Answers
I shall explain how to setup PPP on your Linux machine, so that you can connect to the Internet using an external modem and a Dialup connection. This article explains the setup for the superuser alone (Not normal users).My Setup :
My external modem (56kbps) is connected to the Serial Port :... (0 Replies)
Discussion started by: EliteHussar
0 Replies
5. Shell Programming and Scripting
q = ((i + 2) * 6) >> 3
what's the meaning in python? (3 Replies)
Discussion started by: kazikamuntu
3 Replies
6. Red Hat
Hi,
Can you please get me the linux commands to find the below details.
1. Amount of buffers/cache used for RAM and Swap ( I think free -m command will provide the details.but not understandable. Please provide some info on how to check the amount of buffers/cache value etc.)
2. Number of... (1 Reply)
Discussion started by: uday123
1 Replies
7. Shell Programming and Scripting
This is my first time using this forum. My question is simple. I need a book that has the commands code for Linux, if there is such a book, of course.
Thank you (1 Reply)
Discussion started by: ropapi
1 Replies
8. Shell Programming and Scripting
hi i am doing a small project on linux shell so if anyone can provide me some programs which can ipmlement commands like copy,date,calendar ....thank u (1 Reply)
Discussion started by: lit_joel
1 Replies
locks(4) Kernel Interfaces Manual locks(4)
NAME
locks - A directory that contains lock files for communication devices and remote systems that prevent multiple attempts to use the same
device or contact a remote system
SYNOPSIS
/var/spool/locks
DESCRIPTION
Lock files are created by the uucico daemon, the cu command, the tip command, and the uugetty command in the /var/spool/locks directory.
The files are created when the utility opens the serial line for communication.
The lock file locks the device or remote system so that another process cannot access it while it is in use. The file name of the lock file
uses one of the following forms: LCK..device_name LCK..system_name Where device_name is the name of the device (such as ttyd0) and sys-
tem_name is the name of the system (such as hera).
Normally, the process that creates a lock file will remove it when the process has finished using the line. However, it is possible for
lock files to be left behind (for example: system crash, phone line disconnects unexpectedly). This situation has been accounted for and
the commands that use lock files can handle the situation and overwrite these files, if appropriate.
Lock files contains the process ID (PID) of the process that created the lock. The lock file is a data file; to see its contents, use the
following command:
od -d lockfile
Where lockfile is the name of the file. For example: % od -d /var/spool/locks/LCK..ttyd0 0000000 06854 00000 0000004
In this example, the lock file (LCK..ttyd0) was created by the process with PID 6854.
FILES
Contains the uucico daemon and uugetty program. Contains the uucp, cu, and tip programs.
RELATED INFORMATION
Commands: cu(1), od(1), tip(1), uucp(1), uugetty(8)
Daemons: uucico(8) delim off
locks(4)