10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I'm trying to writte a script (crontab) to copy files from one location to another... this is what i have:
find . -name "VPN_CALLRECORD_20130422*" | xargs cp "{}" /home/sysadm/patrick_temp/
but that is not working this is the ouput:
cp: Target... (5 Replies)
Discussion started by: patricio181
5 Replies
2. UNIX for Dummies Questions & Answers
Hi Guru's
Trying to make a copy of my website( I have very limited access ie: no shell access.) to a local ubuntu server with full access.
What is the best way to make a copy of my site. I have ftp cli, lftp, wget ... just not sure what to use and how. Want to be able to do a recursive... (6 Replies)
Discussion started by: djlane
6 Replies
3. Shell Programming and Scripting
Simply, when i have tool "pdftotext", "sed" or "wget" and if this tool make an error in converting or downloading or something, I want to terminate my script...something like:
if ; then
exit 1
fi
bud I dont know how..can you help guys?:confused: (3 Replies)
Discussion started by: Lukasito
3 Replies
4. Shell Programming and Scripting
I want to copy last 30days old files from one location to another. Please help me to list the last 30 days files and copy the last 30 days files from the current list. (1 Reply)
Discussion started by: formanikandan
1 Replies
5. UNIX for Dummies Questions & Answers
Is this possible?
Say I create an account today and in 90 days I want it to be turned off.
Is this sort of thing possible using the built in components of a Unix system?
(Using Solaris 9)
I see things about password expires, but what if the person changes his password on the 89th day,... (1 Reply)
Discussion started by: LordJezo
1 Replies
6. UNIX for Dummies Questions & Answers
i have this HDD with SCO 5.0.6 and i'm getting this errors
WARNING: wd0: Error on fixed disk dev 1/42, block=4829, cmd=0x000000C8
Sun Mar 11 05:50:08 2007
status=0x00000040, LBA sector=1285723, cylinder/head=5022/0
WARNING: wd0: Error... (0 Replies)
Discussion started by: josramon
0 Replies
7. Programming
Hi, so far i am writting make file explicitly, is there is any tool is there to write make file automatically....if so please tell me about that...
Thanks in advance
Sarwan (4 Replies)
Discussion started by: sarwan
4 Replies
8. AIX
Hi,
Does anyone has installed bb on a unix system ? I am trying to install bb on aix 5.3 but I have the following message: If someone can help me probably there is a tool that I need to install ? I don't have C compiler I install gcc instead and gcc++ etc ...
bb:/home/bb/bb1.9g-btf/src/ $ make... (0 Replies)
Discussion started by: touny
0 Replies
9. UNIX for Dummies Questions & Answers
whitout using awk / sad and so on? (3 Replies)
Discussion started by: umen
3 Replies
10. UNIX for Advanced & Expert Users
Hi,
Can we get code of a particular day from the Clearcase?
If it is possible how we can do it? What is the method?
- Push (2 Replies)
Discussion started by: pushpagiri
2 Replies
LINUX-VERSION(1) General Commands Manual LINUX-VERSION(1)
NAME
linux-version - operate on Linux kernel version strings
SYNOPSIS
linux-version compare VERSION1 OP VERSION2
linux-version sort [--reverse] [VERSION1 VERSION2 ...]
linux-version list [--paths]
DESCRIPTION
linux-version operates on Linux kernel version strings as reported by uname -r and used in file and directory names. These version strings
do not follow the same rules as Debian package version strings and should not be compared as such or as arbitrary strings.
compare VERSION1 OP VERSION2
Compare version strings, where OP is a binary operator. linux-version returns success (zero result) if the specified condition is
satisfied, and failure (nonzero result) otherwise. The valid operators are: lt le eq ne ge gt
sort [--reverse] [VERSION1 VERSION2 ...]
Sort the given version strings and print them in order from lowest to highest. If the --reverse option is used, print them in order
from highest to lowest.
If no version strings are given as arguments, the version strings will instead be read from standard input, one per line. They may
be suffixed by arbitrary text after a space, which will be included in the output. This means that, for example:
linux-version list --paths | linux-version sort --reverse
will list the installed versions and corresponding paths in order from highest to lowest version.
list [--paths]
List kernel versions installed in the customary location. If the --paths option, show the corresponding path for each version.
AUTHOR
linux-version and this manual page were written by Ben Hutchings as part of the Debian linux-base package.
30 March 2011 LINUX-VERSION(1)