You said you were in an Ubuntu box. The env USER should be set to just the name of the account you're logged in. Somewhat, it has been set to that "UNF\1122", unless that that's the name of the account.
Check what's the user name:
Log out and log in again and check once more for env
#!/usr/bin/bash
if
then
echo "Not valid arguments entered. Just username should be entered."
else
USER_NAME=$1
FILE_NAME=$USER_NAME.info
UNN=STUDIN\\\\$1
echo $UNN
last STUDIN\\\\$1
last UNN
If I type `last STUDIN\\eip060` it works but if I try to expand it with variable it is... (5 Replies)
telnet at my system is behaving stange. Some times I am able to telnet to other machines but sometimes it stop doing that. Then i have to reboot the machine and most of the time (not 100%) it works. SImilar is the case with SSH. Sometime it works , some time it don't. i am new to Unix and I do not... (1 Reply)
Hi all,
I'm trying to generate a series of txt files starting from a plain csv file
part of my code:
#!/bin/ksh
INSTALLDIR=/Users/ME/Installdir
CSV=CSV.csv
TMP=/tmp/$(basename $0).txt
tr -s "\r" "\n" < /$INSTALLDIR/$CSV > $TMP
function Makefiles
{
printf '%24s:%30s\n' "sometext"... (1 Reply)
Hi All,
Can any one help me to solve the issue.
The Issue is, i have started the sendmail service on my RHEL 4 update 6 box, I am able to send the mail from my box to almost all of the Email Id's except few.
Exampe,
test mail.
.
Output is :the message is sent.
now if I send the... (2 Replies)
This is the first time for using sudo for me.
# visudo
## Allows people in group admin to run all commands
%admin ALL=(ALL) ALL
# groupadd admin
# useradd temp
# usermod -a -G admin temp
# id temp
uid=506(temp) gid=506(temp) groups=506(temp),507(admin)
#
#sudo... (5 Replies)
Hello Everyone,
I'm very new to the shell script. I'm trying to send multiple attachments in unix using uuencode command.
Total I have 3 text files which should be send in mail.
but I'm getting 6 files and 3 files with subject as file name. And the content is
`
end
I'm working... (6 Replies)
I'm trying to write a script that parses my music collection and hard link some filenames that my media player doesn't like to other names.
To do this I need to extract the name and remove alla non ASCII characters from that and do a cp -l with the result.
Problem is this:
22:16:58 $... (8 Replies)
I want to join two files , with file 1 col 3 and file 2 col 1 as key.
The join command is erratic for some reason. File 2 is a master file having all the names, and file 1 has some values. I want to add the names from fil2 in file 1. If I use the original master file, some output is missing.
... (16 Replies)
Discussion started by: ritakadm
16 Replies
LEARN ABOUT DEBIAN
germinate-pkg-diff
GERMINATE-PKG-DIFF(1) Ubuntu General Commands Manual GERMINATE-PKG-DIFF(1)NAME
germinate-pkg-diff -- compare seeds against currently installed packages
SYNOPSIS
germinate-pkg-diff [-l file] [-m {i|r|d}] [-a arch] [seeds]
DESCRIPTION
germinate-pkg-diff compares the expansion of a list of seed packages against the set of packages installed on the current system. When con-
structing seeds for a software distribution, it can be used to iteratively find packages installed on developers' systems that should be
included in the seeds.
A list of seeds against which to compare may be supplied as non-option arguments. Seeds from which they inherit will be added automatically.
The default is 'desktop'.
OPTIONS -l, --list file
Read the list of currently installed packages from file. The default is to read the output of dpkg --get-selections, and any supplied
file should be in the same format.
-m, --mode {i|r|d}
Set the output mode as follows:
i Show the dpkg selections needed to install just these seeds. List unseeded but installed files as ``deinstall'', and seeded but
uninstalled files as ``install''.
r List unseeded but installed files as ``install'', and seeded but uninstalled files as ``deinstall''.
d Show the differences between the packages specified by the seeds and the list of installed packages, in a somewhat diff-like for-
mat.
-S, --seed-source source,...
Fetch seeds from the specified sources. The default is http://people.canonical.com/~ubuntu-archive/seeds/.
-s, --seed-dist dist
Fetch seeds for distribution dist. The default is ubuntu.precise.
-d, --dist dist,...
Operate on the specified distributions. The default is precise. Listing multiple distributions may be useful, for example, when exam-
ining both a released distribution and its security updates.
-a, --arch arch
Operate on architecture arch. The default is i386.
BUGS --mode r is useless as dpkg --set-selections input.
AUTHORS
Lamont Jones <lamont@ubuntu.com>
Colin Watson <cjwatson@canonical.com>
germinate-pkg-diff is copyright (C) 2004, 2005, 2006, 2007, 2008 Canonical Ltd. See the GNU General Public License version 2 or later for
copying conditions. A copy of the GNU General Public License is available in /usr/share/common-licenses/GPL.
Ubuntu Jul 18, 2007 Ubuntu