ahiliation@debian:~$fold -w 8
file edit view terminal help
file edi
t view t
erminal
help
ahiliation@debian:~$
fold – wrap each input line to fit in specified width
http://linux.about.com/library/cmd/blcmdl1_fold.htm
BEAUTY AND PLAY
ahiliation@debian:~$fold -w 8
file edit view terminal help
file edi
t view t
erminal
help
ahiliation@debian:~$
fold – wrap each input line to fit in specified width
http://linux.about.com/library/cmd/blcmdl1_fold.htm
ahiliation@debian:~$uptime
07:30:51 up 47 min, 3 users, load average: 0.25, 0.13, 0.10
ahiliation@debian:~$
uptime – Tell how long the system has been running.
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
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
ahiliation:~$cat workethics.php
ahiliation:~$php workethics.php
The text has been savedahiliation:~$
ahiliation:~$cat workethics.txt
Work ethics in QA Fashionahiliation:~$
ahiliation:~$php -r workethics.php
Parse error: syntax error, unexpected $end in Command line code on line 1
ahiliation:~$vi workethics.php
ahiliation:~$php workethics.php
ahiliation:~$vi workethics.txt
ahiliation:~$cat workethics.txt
ahiliation:~$cat workethics.php
debianlabs:~# htdigest -c password.txt knowledge.store jeffrin
Adding password for jeffrin in realm knowledge.store.
New password:
Re-type new password:
debianlabs:~# vi password.txt
debianlabs:~# cat password.txt
jeffrin:knowledge.store:64a3386f95d7380f0fe8d22cf81bec98
debianlabs:~#
http://httpd.apache.org/docs/1.3/programs/htdigest.html
$ourFileName = “workethics.txt”;
$ourFileHandle = fopen($ourFileName, ‘w’) or die(“can’t open file”);
fclose($ourFileHandle);
http://www.tizag.com/phpT/filecreate.php
ahiliation:~$php -r workethics.php
Parse error: syntax error, unexpected $end in Command line code on line 1
ahiliation:~$
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
>
On Fri, Feb 19, 2010 at 01:39:53AM +0530, Jeffrin Jose wrote:
> On Thu, Feb 18, 2010 at 08:08:48AM -0500, Thomas H. George wrote:
> >
> > Any recommendations or experience with this problem?
> >
> hello.
> You can try
> http://www.mythtv.org/download
> You can get MythTV from working debian-multimedia.org
> repositories.
>
> /Jeffrin.
>
>
> —
> 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/20100218200953.GA4286@debianlabs
>