Search Results

Search: Posts Made By: Yogesh Sawant
83,991
Posted By Yogesh Sawant
better, that reduces one pipe
better, that reduces one pipe
Forum: UNIX and Linux Applications 05-07-2008
15,810
Posted By Yogesh Sawant
try this: tar -zxvf samba-3.0.28a.tar.gz
try this: tar -zxvf samba-3.0.28a.tar.gz
5,647
Posted By Yogesh Sawant
check if this is what you want: ls -1 test.txt |...
check if this is what you want: ls -1 test.txt | cut -d '.' -f1
7,212
Posted By Yogesh Sawant
there used to be a command called banner. check...
there used to be a command called banner. check if you have it on your system.

banner (Unix) - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Banner_(Unix))
72,686
Posted By Yogesh Sawant
ranj@chn, you are correct. Optionally, you...
ranj@chn, you are correct.

Optionally, you can set execute permission to the perl script, add the following line as first line in the script: #!/usr/bin/perl -w and then call it as: test.pl...
59,224
Posted By Yogesh Sawant
if you are familiar with regular expressions in...
if you are familiar with regular expressions in perl: perl -pi -e 's#c:/mydocuments/pictures#d:/mypics/personal#g' * modify the regex as per your needs, if required
51,106
Posted By Yogesh Sawant
try this: perl -pi -e 'printf ("%d", $_);'...
try this: perl -pi -e 'printf ("%d", $_);' file
2,778
Posted By Yogesh Sawant
consulting QEMU Documentation...
consulting QEMU Documentation (http://wiki.qemu.org/Manual) might help
27,039
Posted By Yogesh Sawant
in your home directory, create a file named...
in your home directory, create a file named .bash_profile (using emacs, vi, or any other editor that you have)
9,820
Posted By Yogesh Sawant
using Perl: perl -pi -e 's/^\s+//' filename
using Perl: perl -pi -e 's/^\s+//' filename
Forum: What is on Your Mind? 12-31-2009
3,748
Posted By Yogesh Sawant
i did a search and found one...
i did a search and found one (http://www.oracle-base.com/forums/viewtopic.php?f=3&t=11068) positive reply about them

but do check from other sources

edit: if you don't mind, do post here later...
3,680
Posted By Yogesh Sawant
read the rules...
read the rules (https://www.unix.com/unix-dummies-questions-answers/2971-simple-rules-unix-com-forums.html) before posting.

(6) Do not post classroom or homework problems.
Forum: AIX 04-03-2009
5,948
Posted By Yogesh Sawant
how about this...
how about this (http://search.yahoo.com/search;_ylt=A0oGklVLY9ZJxSABfjul87UF?p=Test+190%3A+AIX+Basic+Operations+V5&fr=sfp&fr2=&iscqry=)
50,125
Posted By Yogesh Sawant
check if this...
check if this (https://www.unix.com/unix-dummies-questions-answers/2551-crontab-first-monday-month-only.html) or this (https://www.unix.com/41689-post8.html) is useful
4,385
Posted By Yogesh Sawant
at rhel 5.5 here: [root@newinstaller19 ~]#...
at rhel 5.5 here:
[root@newinstaller19 ~]# which sh
/bin/sh
[root@newinstaller19 ~]# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Oct 12 09:28 /bin/sh -> bash
[root@newinstaller19 ~]#
and then:...
6,560
Posted By Yogesh Sawant
quoting from the Advanced Bash-Scripting Guide ...
quoting from the Advanced Bash-Scripting Guide

refer to their example (http://tldp.org/LDP/abs/html/internalvariables.html#ARGLIST) for more details
29,295
Posted By Yogesh Sawant
du -k *.gz | awk '{total=total+$1} END {print...
du -k *.gz | awk '{total=total+$1} END {print total}'
3,220
Posted By Yogesh Sawant
check if this is what you are looking for: $word...
check if this is what you are looking for: $word = "DE_PR_Package__Basic";
if ($word=~ m/^DE/) {
print "matches\n";
}
else {
print "does not match\n";
}

in the regex, ^ is the start...
Showing results 1 to 18 of 18

 
All times are GMT -4. The time now is 11:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy