Alrigt, I need to write a shell script where it counts the number of folders and files and dispays "My home directory has 'x' files and 'y' directories."
So, I was thinking of doing this.
set x = `ls | wc`
so, if I have 8 files and folders in my home directory, x is not 8.
now, I was... (1 Reply)
hi guys,
i have a DEl xps laptop cor 2 duo 2.2
i have vista installed on it
i want to install a dual Boot UNIX on it..
can some one guide me ...cause i m tottaly new to UNIX
i want to install unix on that laptop along with Vista....
thx
any help would be deeply appreciated
(sorry if i... (5 Replies)
I need to write a script to test a nsort c program. I have written 8 .txt files with different cases. Also 8 .txt files with expected outcome. The shell I have written always "test pass" for the first case but always "fail" for the rest... Here is a portion of my code (as I still don't know how to... (5 Replies)
hy guys,
I have perl script provided to me but i need to convert it into shell .Can you help me in this using sed shell command.
cat /etc/passwd |perl -ne '/^(\w+):\w+: (\w+)/ and print "$1, $2\n";' (1 Reply)
i write a shell program and i execute that after i made a bin directiry in my home directory(i didnt give any permissions)
now i change to other directory.then i execute it bit it is saying " no such a file or directory"
can any one help me please (2 Replies)
Hi people....
I have just started to learn unix.I want to know which version of Unix to install plus how to install it.I need to practise and make myself aware of how unix works.My thread is from an educational point of view.Also please feel free to give your suggestions as I am... (3 Replies)
Hello,
I am trying to write a script that reads names from a file called input, removes names if they have the same letter next to each other and prints the others.
e.g. Colin & John would be printed
Garry & Lynn would be removed
My thinking is that I read in each name and... (3 Replies)
i have windows 8 host on Dell Laptop
vmware 9
redhat 7.2 iso downloaded through redhat official site
after installation on vm it only boots into text dont show graphics
Please guide:( (1 Reply)
Hello so I've stored some csv data to be read into variables like this
Name,Team,Shop,Shoe
etc,etc,etc,etc
Code:
sep=","
{
while IFS=$sep read Name Team Shop Shoe
do
count=1
dirname=$Name
while
do
((count++))
dirname="${Name}$count" (4 Replies)
Discussion started by: darklord173
4 Replies
LEARN ABOUT DEBIAN
wwwbrowser
WWWBrowser(3pm) User Contributed Perl Documentation WWWBrowser(3pm)NAME
WWWBrowser - platform independent means to start a WWW browser
SYNOPSIS
use WWWBrowser;
WWWBrowser::start_browser($url, -oldwindow => 1);
DESCRIPTION
start_browser($url [, %args])
Start a web browser with the specified URL. The process is started in background.
The following optional parameters are recognized:
-oldwindow => $bool
Normally, the URL is loaded into a new window, if possible. With "-oldwindow" set to a false window, "WWWBrowser" will try to re-use a
browser window.
-browser => $browser
Use (preferebly) the named browser $browser. See "CONFIGURATION" for a some browser specialities. This option will only work for unix.
CONFIGURATION
For unix, the global variable @WWWBrowser::unix_browsers can be set to a list of preferred web browsers. The following browsers are handled
specially:
lynx, w3m
Text oriented browsers, which are opened in an "xterm", "kvt" or "gnome-terminal" (if running under X11). If not running under X11,
then no background process is started.
kfmclient
Use "openURL" method of kfm.
netscape
Use "-remote" option to re-use a running netscape process, if possible.
_default_gnome
Look into the "~/.gnome/Gnome" configuration file for the right browser.
_default_kde
NYI.
The following variables can be defined globally in the main package:
$os Short name of operating system ("win", "mac" or "unix").
&status_messages
Error handling function (instead of default "warn").
REQUIREMENTS
For Windows, the Win32Util module should be installed in the path.
AUTHOR
Slaven Rezic <slaven@rezic.de>
COPYRIGHT
Copyright (c) 1999,2000,2001,2003 Slaven Rezic. All rights reserved. This module is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
SEE ALSO
Win32Util.
perl v5.10.0 2009-03-10 WWWBrowser(3pm)