Search Results

Search: Posts Made By: ashterix
10,914
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,914
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...
6,250
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.
6,250
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....
3,026
Posted By ashterix
use echo $0 to see which shell u currently in.
use echo $0 to see which shell u currently in.
4,804
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 *
7,251
Posted By ashterix
if i not mistaken: emacs -nw
if i not mistaken:

emacs -nw
Forum: Solaris 06-13-2006
10,387
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
37,756
Posted By ashterix
/etc/passwd
/etc/passwd
53,754
Posted By ashterix
try this $ ps axco pid,command
try this

$ ps axco pid,command
53,754
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
15,608
Posted By ashterix
u can see in /etc/services for the standard port...
u can see in /etc/services for the standard port allocation.
2,830
Posted By ashterix
how about mail -s "Alert mail DL_Failure"...
how about
mail -s "Alert mail DL_Failure" Group@company.com
25,187
Posted By ashterix
# psrinfo -v
# psrinfo -v
15,152
Posted By ashterix
is this what u looking for? $ grep -l foo *
is this what u looking for?

$ grep -l foo *
2,252
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
4,277
Posted By ashterix
try this: tar -xvf tarfile -C new_dir
try this:

tar -xvf tarfile -C new_dir
Forum: AIX 03-22-2006
42,686
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
10,418
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"
179,353
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.
179,353
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
11,110
Posted By ashterix
use full path: # /usr/bin/vi /etc/profile ...
use full path:

# /usr/bin/vi /etc/profile
edit like vino suggested :)
8,948
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
337,807
Posted By ashterix
vi & notepad :P
vi & notepad :P
Forum: Solaris 03-02-2006
15,805
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

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