Hi all,
Does anyone know how to ammend the .cshrc file in $HOME for your session to display the path as part of the command line? So that I dont need to keep on typing pwd to see where I am?
thanks
Ocelot (2 Replies)
This is probably the dumbest question you guys can get, but I'm trying, as a complete noob, to display the unix calendar for all the months without Saturday and Sunday showing. How can I remove those fields without having to type all the fields in individually such as:
cal -y | awk '{print $2,... (3 Replies)
Hi All,
I am using the following piece of script to print all the array elements in a script by name compare.sh:
31 len=${#array
};
32 j=0;
33 #echo "The length of the array is : $len"
34 while ; do
35 temp=${array}
36 echo "$temp"
37 let $j++
38 done
But I am getting the... (2 Replies)
Hi
I really hope someone can help with the below question.
Lets say that I have a file called output.txt and I want to display all of the lines which contain the word ‘disconnect'. I know that this can easily be obtained by using the following command:
grep -i disconnect output.txt
However,... (6 Replies)
Within AWK, how do you display a field of NR? Here's my code:
awk '(NR>1) && (P1=$1-w)>=100000 {print "increase of" " " P1*.0000179," " "kW at" " " 'NR*60/431900' " " "minutes" "\n" "change from" " " 'NR-10($1)' " " "kW to" " " 'NR+70($1)' "\n"}{w=$1}' filename
I can change NR and print... (3 Replies)
Hello all
I have a query (SQL) that returns a rather long field from an Oracle database. The field in question is defined on 400 characters but all these 400 cannot be displayed by the echo command. Thus when I launch the following command:
echo "SELECT FIELD01 FROM TABLE_NAME;" | sqlplus -s... (9 Replies)
Discussion started by: S. BASU
9 Replies
LEARN ABOUT DEBIAN
pastebinit
PASTEBINIT(1) [FIXME: manual] PASTEBINIT(1)NAME
pastebinit - command-line pastebin client
SYNOPSIS
pastebinit [-abfhiljmrtup]
DESCRIPTION
This manual page documents briefly the pastebinit commands
pastebinit reads text and sends it to a "pastebin" on the internet, returning the URL to the user.
It allows the text to be passed through a pipe (|) or from a file passed as an argument.
OPTIONS
Optional arguments (not supported by all pastebins)
-a [author] (default: $USER)
-b [pastebin url] (default is distro-specific with a fallback to pastebin.com)
-f [format for syntax-highlighting] (default: text) (check pastebin's website for complete list, example: python)
-h Help screen
-i [filename] Use filename for input
-l List all the supported pastebins
-j [jabberid] (default: none)
-m [permatag] (default: none)
-r [parent post ID] (default: none)
-t [title of paste] (default: none)
-u [username] (default: none)
-p [password] (default: none)
CONFIGURATION FILE
If a .pastebinit.xml file is found in the user's home directory, pastebinit will use it for its configuration.
Here's an example file:
<pastebinit>
<pastebin>http://paste.ubuntu.com</pastebin>
<author>Stephane Graber</author>
<jabberid>stgraber@stgraber.org</jabberid>
<format>text</format>
</pastebinit>
AUTHORS
Pastebinit is currently written by Stephane Graber.
username, password, format, title, arguments and redirect support added by Daniel Bartlett.
Website: http://launchpad.net/pastebinit
E-mail: stgraber@ubuntu.com
COPYRIGHT
Copyright (C) 2007-2011 Stephane Graber
[FIXME: source] January 09, 2011 PASTEBINIT(1)