I have a problem I don't understand... I am trying to declare a variable, and then output the results of that variable, couldn't be simpler
#!/bin/ksh
VAR='Oranges'
if
then
echo "Found Lemons"
elif
then
echo "Found Oranges"
fi
The output shouold clearly be "Found Oranges", but... (2 Replies)
I have a few files on my system named:
-rw-------
-rw-r-----
-rw-rw--w-
-rwxrw-r-x
(Yes, it's really the name of the file, not the access permissions, they're 0 bytes large and all created at the same date/time).
I've no idea how they got there but I don't seem to be able to delete them... (2 Replies)
Greetings To All!
I am running Solaris 10 in a sparc environment.
Here is the deal:
In /var/spool/cron/crontabs, there is a cron user named "sys". If I do a
crontab -l sys, it returns:
# 0 * * * 0-6 /usr/lib/sa/sa1
# 20,40 8-17 * * 1-5 /usr/lib/sa/sa1
# 5 18 * * 1-5 /usr/lib/sa/sa2... (8 Replies)
Hi,
I've Ubuntu 8.04, and it has some files that I just cannot delete. I've tried everything, inode, fsck etc.
Here is what the ls -li outputs
root@ubuntu:/home/luser/.local/share/Trash/files/junk# ls -l
ls: cannot access TRUNK_: No such file or directory
ls: cannot access 2006_output.mv:... (11 Replies)
Hi all
am new to solaris ............
i installed amanda client pkg that time am getting lots of dependency problem..........
is there any Yum server like things in solaris
Regards '
prAn (8 Replies)
Hi all,
I have 4 '.cpp' files and 1 header files:
Tools.cpp
Code1.cpp
Code2.cpp
Code3.cpp
and Tools.hh
Now all Code1.cpp, Code2.cpp, Code3.cpp
use functions stored in Tools.cpp.
Currently, what I do to compile all of them is using
this simple shell script: (1 Reply)
Hi.
First post, and Linux newbie, so maybe I'm missing something obvious:
I have a Synology NAS that is run by a Linux distribution (which?). I have had an external hard drive connected to the NAS for making backups using Synology's backup application Time Backup.
Time Backup is based on... (3 Replies)
I have a weird issue going on with the join command...
I have two files I am trying to join...here is a line from each file with the important parts marked in red:
file1:
/groupspace/ccops/cmis/bauwkrcn/commsamp_20140315.txt,1
file2:... (3 Replies)
Hi,
I have a simple awk script:
BEGIN{}
{
$a=$2-$1;
print $a
}
END{if(NR==0){
print "0"
}
}
to which I provide the following input
2.9 14
22.2 27 (4 Replies)
Discussion started by: jamie_123
4 Replies
LEARN ABOUT CENTOS
yum-changelog
YUM-CHANGELOG(1) User Manuals YUM-CHANGELOG(1)NAME
yum-changelog
SYNOPSIS
The yum-changelog package
DESCRIPTION yum-changelog(1) is a Yum plugin for viewing package changelogs before/after updating. yum will invoke yum-changelog(1) plugin if the
--changelog option or the changelog command is used with yum.
OPTIONS --changelog
Show changelog delta of updated packages
COMMANDS
changelog
Show changelog data of packages listed (same format as the list command). The first argument is required and is either "all" for
all the changelog entries, a date for the changelog entries since a specified point in time or a number for a given number of
changelog entries.
FILES
/etc/yum/pluginconf.d/changelog.conf
The system wide configuration file. See yum-changelog.conf(5) for more information.
EXAMPLES
# yum changelog 2008-Jan yum*
Listing changelogs since: 2008-01-18
yum-versionlock-1.1.11-1.fc8.noarch installed
* Wed Jan 30 17:00:00 2008 Tim Lauridsen <timlau@fedoraproject.org>
- mark as 1.1.11
changelog stats. 33 pkgs, 12 source pkgs, 1 changelog
# yum update ktechlab --changelog
Loading "changelog" plugin
Setting up Update Process
Setting up repositories
[..]
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ktechlab.i386 0:0.3-6 set to be updated
--> Running transaction check
Changes in packages about to be updated:
ktechlab - 0.3-6.i386
* Wed Nov 22 23:00:00 2006 Chitlesh Goorah - 0.3-6
- Rebuilt due to new gpsim-devel release
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
AVAILABILITY
yum-changelog is available via:
# yum install yum-changelog
AUTHORS
Chitlesh Goorah <chitlesh@fedoraproject.org>
Panu Matilainen <pmatilai@laiskiainen.org>
James Antill <james@and.org>
SEE ALSO yum(1)
08 February 2007 YUM-CHANGELOG(1)