Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: ashterix
10,155
Posted By ashterix
yes i found this thread...
yes i found this thread https://www.unix.com/shell-programming-scripting/23229-grep-string-next-n-lines.html
but those if u have specific next lines, not like this.
10,155
Posted By ashterix
grep string & a few lines after
i need to grep a STRING_A & the next few lines after the STRING_A

example file:
STRING_A yada yada
line 1
line 2
STRING_B yada yada
line 1
line 2
line 3
STRING_A yada yada
line 1
line 2...
5,580
Posted By ashterix
last command only shows where the users coming...
last command only shows where the users coming from not where the users ssh to.
5,580
Posted By ashterix
ssh trail
hi need you advise...

in my company, we have to use mgmt server in order to access to other servers. so basically we need to login to our mgmt server (solaris) before we ssh to any other servers....
2,731
Posted By ashterix
use echo $0 to see which shell u currently in.
use echo $0 to see which shell u currently in.
4,479
Posted By ashterix
try to look into the backup agent conf file, the...
try to look into the backup agent conf file, the hostname of the backup server could be specified in there.

or use grep

$ grep -r hostname *
6,542
Posted By ashterix
if i not mistaken: emacs -nw
if i not mistaken:

emacs -nw
Forum: Solaris 06-13-2006
9,609
Posted By ashterix
or here - top 10 tips dealing with vi editor ...
or here - top 10 tips dealing with vi editor
http://ashterix.blogspot.com/2006/05/top-10-tips-dealing-with-v_114879750064948246.html
36,402
Posted By ashterix
/etc/passwd
/etc/passwd
36,892
Posted By ashterix
try this $ ps axco pid,command
try this

$ ps axco pid,command
36,892
Posted By ashterix
$ ps -ef | awk '{print $NF}' or $ ps...
$ ps -ef | awk '{print $NF}'

or

$ ps -ef | awk '{print $9}'
Forum: IP Networking 05-21-2006
14,508
Posted By ashterix
u can see in /etc/services for the standard port...
u can see in /etc/services for the standard port allocation.
1,900
Posted By ashterix
how about mail -s "Alert mail DL_Failure"...
how about
mail -s "Alert mail DL_Failure" Group@company.com
24,780
Posted By ashterix
# psrinfo -v
# psrinfo -v
14,676
Posted By ashterix
is this what u looking for? $ grep -l foo *
is this what u looking for?

$ grep -l foo *
1,740
Posted By ashterix
how about grep error /var/adm/message* |...
how about

grep error /var/adm/message* | grep "$1 $2" > /tmp/error-adm$1$2
3,785
Posted By ashterix
try this: tar -xvf tarfile -C new_dir
try this:

tar -xvf tarfile -C new_dir
Forum: AIX 03-22-2006
40,176
Posted By ashterix
# svmon -P u can check this: ...
# svmon -P

u can check this:
http://ashterix.blogspot.com/2006/02/unix-tip-sort-processes-by-cpumemory.html
8,538
Posted By ashterix
how about you cd into the directory 1st then cp ...
how about you cd into the directory 1st then cp

cd "/Firewire 400/users/myuser/new Files/
cp Flip4Mac WMV.mpkg "/Firewire 400/users/myuser/desktop/new files"
137,425
Posted By ashterix
or u can use 'Esc' and then '=' to list all the...
or u can use 'Esc' and then '=' to list all the files and directories starting with the pattern specified.
137,425
Posted By ashterix
bash but lately using ksh because my company have...
bash but lately using ksh because my company have set the default shell for all unix boxes is ksh
10,653
Posted By ashterix
use full path: # /usr/bin/vi /etc/profile ...
use full path:

# /usr/bin/vi /etc/profile
edit like vino suggested :)
8,342
Posted By ashterix
u need to install it first, or try extract it on...
u need to install it first, or try extract it on other unix or linux machines.
most linux got bzip2 installed
Forum: Open Source 03-02-2006
243,227
Posted By ashterix
vi & notepad :P
vi & notepad :P
Forum: Solaris 03-02-2006
13,473
Posted By ashterix
list the hw configuration: # fbconfig -dev...
list the hw configuration:
# fbconfig -dev /dev/fbs/gfb0 -prconf

list the sw configuration:
# fbconfig -dev /dev/fbs/gfb0 -propt
Showing results 1 to 25 of 81

 

Featured Tech Videos

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