mode

Status for device COM1:
———————–
Baud: 1200
Parity: None
Data Bits: 7
Stop Bits: 1
Timeout: OFF
XON/XOFF: OFF
CTS handshaking: OFF
DSR handshaking: OFF
DSR sensitivity: OFF
DTR circuit: ON
RTS circuit: ON

Status for device COM2:
———————–
Baud: 1200
Parity: None
Data Bits: 7
Stop Bits: 1
Timeout: OFF
XON/XOFF: OFF
CTS handshaking: OFF
DSR handshaking: OFF
DSR sensitivity: OFF
DTR circuit: ON
RTS circuit: ON

Status for device CON:
———————-
Lines: 300
Columns: 80
Keyboard rate: 31
Keyboard delay: 1
Code page: 437

Displays system status, changes system settings, or reconfigures ports or devices. Used without parameters, mode displays all the controllable attributes of the console and the available COM devices
http://en.wikipedia.org/wiki/Mode_(computer_interface)

chmod – change file mode bits

ABOUT chmod

In Unix and Unix-like operating systems, chmod is the command and system call which is used to change the access permissions of file system objects (files and directories). It is also used to change special mode flags. The request is filtered by the umask. The name is an abbreviation of change mode.[1]

TYPICAL COMMANDLINE EXPOSURE
[bash]
$ chmod +t source/
$ ls -l
total 12
drwxr-xr-x 2 ahiliation ahiliation 4096 2010-03-13 04:40 Desktop
drwxr-xr-x 2 ahiliation ahiliation 4096 2010-03-13 19:20 Downloads
drwxr-xr-t 2 ahiliation ahiliation 4096 2010-03-13 20:41 source
[/bash]

t - Save text attribute (sticky bit) - The user may delete or modify only those files in the directory that they own or have write permission for.

[bash]
$chmod -c
$ls -l rwsem.c
-rw-rw-r– 1 root root 21007 Aug 30 2011 rwsem.c
$chmod -c rwsem.c
chmod: missing operand after ‘rwsem.c’
Try ‘chmod –help’ for more information.
$chmod -c
chmod: missing operand
Try ‘chmod –help’ for more information.
$chmod -c 700 rwsem.c
chmod: changing permissions of ‘rwsem.c’: Operation not permitted
$sudo chmod -c 700 rwsem.c
mode of ‘rwsem.c’ changed from 0664 (rw-rw-r–) to 0700 (rwx——)
$
[/bash]

LINKS
https://en.wikipedia.org/wiki/Chmod
http://www.gnu.org/software/coreutils/manual/html_node/chmod-invocation.html

directory permissions

ahiliation@debian:~$ chmod +t source/
ahiliation@debian:~$ ls -l
total 12
drwxr-xr-x 2 ahiliation ahiliation 4096 2010-03-13 04:40 Desktop
drwxr-xr-x 2 ahiliation ahiliation 4096 2010-03-13 19:20 Downloads
drwxr-xr-t 2 ahiliation ahiliation 4096 2010-03-13 20:41 source

t – Save text attribute (sticky bit) – The user may delete or modify only those files in the directory that they own or have write permission for.

http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilesp.html

Re: How to enforce use of dhcpcd instead of dhclient in

On Thu, Feb 18, 2010 at 02:27:33PM +0000, Liam O’Toole wrote:
> On 2010-02-18, wzab wrote:
> > Hi,
> >
> > I have a problem with wireless networking on my laptop (uses iwl3945
> > wireless).
> > When dhclient3 is used to obtain IP address via DHCP, the connection is
> > unstable. Especially when I move my laptop to another location and switch
> > to another network, the IP is not obtained at all or connection is
> > established only for a very short time.
> >
> > I was able to fix it by uninstalling the dhcp3-client package. In this case
> > the dhcpcd is used for obtaining IP, which works flawlessly.
> >
> > Unfortunately dhcp3-client is suggested by different packages, so when I
> > update my system it often gets reinstalled unless I explicitly deselect it.
> > That’s really tiring.
> >
> > Is there any way to assign dhcpcd higher priority than dhclient3 when my
> > system is going to obtain IP?
> >
>
> The wicd package (an alternative to network-manager) can help you here.
> It allows the user to specify which DHCP client to favour. It is
> available in backports, squeeze and sid.
>
> —
> Liam O’Toole
> Birmingham, United Kingdom
>
>
>
> —
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of “unsubscribe”. Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/slrnhnqjin.4in.liam.p.otoole@dipsy.selfip.org
>