Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: Yogesh Sawant
68,892
Posted By Yogesh Sawant
better, that reduces one pipe
better, that reduces one pipe
Forum: UNIX and Linux Applications 05-07-2008
13,043
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,201
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
5,370
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))
63,407
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...
57,303
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
44,563
Posted By Yogesh Sawant
try this: perl -pi -e 'printf ("%d", $_);'...
try this: perl -pi -e 'printf ("%d", $_);' file
1,942
Posted By Yogesh Sawant
consulting QEMU Documentation...
consulting QEMU Documentation (http://wiki.qemu.org/Manual) might help
21,361
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,299
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,353
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,108
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,478
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=)
33,519
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
3,581
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:...
5,311
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
25,920
Posted By Yogesh Sawant
du -k *.gz | awk '{total=total+$1} END {print...
du -k *.gz | awk '{total=total+$1} END {print total}'
2,672
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

 

Featured Tech Videos

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