Just a super quick question:
how do you put a link in your php code.
I want to make a link to something in /tmp directory.
i.e. how do you put a href into php, I think it's done a bit differently.
thanks
john (1 Reply)
Hello There!
I am trying to write this SIMPLE script in Bourne Shell but I keep on getting syntax errors. Can you see what I am doing wrong? I've done this before but I don't see the difference. I am simply trying to take the day of the week from our system and when the teachers sign on I want... (7 Replies)
Hi guys
sed -e "s/$<//g"
the $< can allow me to assign an input value to the variable right?
do the double quotes check the previous context? (1 Reply)
Hi, I am new to UNIX, and am learning from this tutorial : http://www.ee.surrey.ac.uk/Teaching/Unix/index.html
It keeps telling me to files downloaded from the internet (like .txt files) to the directory, and I dont know how to.
How do I add .txt files to my directory? Thanks. (6 Replies)
from command prompt I did grep two words on a same line for eg: grep abc | grep xyz and I got tht particular line, but I want to know when I vi that file how to directly search for that particular line? I appreciate if any one can provide answer, thanks in advance (2 Replies)
Hello all,
Quick question from a fairly new to Unix developer.
if
then
completedLogFile=$logfile.$(date +%Y%m%d-%H:%M:%S)
mv $logfile $completedLogFile
fi
I understand that this portion of code is simply copying a tmp logfile to a completed logfile when a condition is true. The... (2 Replies)
I'd like to list all userid's on the system that have a .bashrc file in their home directory with a command like "cat /etc/passwd | grep -f", however I'm not quite familiar with using grep. Any suggestions? (2 Replies)
When I have a file like this:
0084AF aj-123-a NAME Ajay NAME Kumar Engineer
015ED6 ck-345-c
020B25 ef-456-e
027458 pq-890-p NAME Peter NAME Salob Doctor
0318F0 xy-123-x NAME Xavier Arul NAME Yesu Supervisor
0344CA de-456-d
where - The first NAME is followed by... (6 Replies)
Discussion started by: ajay41aj
6 Replies
LEARN ABOUT NETBSD
fold
FOLD(1) BSD General Commands Manual FOLD(1)NAME
fold -- fold long lines for finite width output device
SYNOPSIS
fold [-bs] [-w width] [file ...]
DESCRIPTION
fold is a filter which folds the contents of the specified files, or the standard input if no files are specified, breaking the lines to have
a maximum of 80 characters.
The options are as follows:
-b Count width in bytes rather than column positions.
-s Fold line after the last blank character within the first width column positions (or bytes).
-w width Specifies width to use as a line width, instead of the default 80 characters.
ENVIRONMENT
LC_CTYPE
EXIT STATUS
The fold utility exits 0 on success, and >0 if an error occurs.
SEE ALSO expand(1), fmt(1)STANDARDS
The fold utility conforms to IEEE Std 1003.1-2008 (``POSIX.1'').
BUGS
If underlining is present it may be messed up by folding.
Width should be a multiple of 8 if tabs are present, or the tabs should be expanded using expand(1) before using fold.
BSD September 15, 2011 BSD