Search

You can find the results of your search below.

Some useful awk scripts @scripting
7 Hits, Last modified:
s a counter to loop the specified amount To print last field of a record when the number of fields is un... /. NF is equivalent to the number of fields. The last field will be the same number as the number of fields, therefore the last field will be printed. To print everything but the last field when the total number of fields is unknown
Perl Tips @scripting
5 Hits, Last modified:
mbleupon twitter~~ ===== Perl Tips ===== Split last field but one using delimeter / : ($start,$finish) = split(/\//,$fields[-2]); Chop off last character: $finishx = substr($finish,0,-1);... s: $#ARGV + 1 - $#ARGV is the number of the last argument. e.g. if it's $ARGV[7], $#ARGV wil... ments in an array scaler @array To find the last element of an array $array[-1] To check if
Useful Shell Keyboard Short cuts @linux
5 Hits, Last modified:
ds through bash history * **!!** – execute the last command * **!stuff** – execute the last command that started with stuff * **!stuff:p** - print the last command that started with stuff ===Useful Korn S... rds through bash history * **r** – execute the last command * **r stuff** – execute the last comma
Using Omniback Commands @hpux
3 Hits, Last modified:
ssions up to date o omnistat -previous -last number - the last number of sessions 2. from this a list of session ids is provided. To check these:... performs a full restore of /usr (i.e. from the last full backup plus any incrementals don
The New Features of RedHat 7 @linux
3 Hits, Last modified:
nd above) * journalctl -b - messages since the last boot * journalctl -p warning --since="2016-1-1... TC in local TZ: no DST active: no Last DST change: DST ended at Sun 20... ime : 0.000265665 seconds fast of NTP time Last offset : 0.000599796 seconds RMS offset
/etc/shadow, password entries and user ids @linux
3 Hits, Last modified:
locked (*LK*) * 15819 - when the password was last changed, expressed as the number of days since 1s... hem in English, e.g. #chage -l oraprod Last password change ... ord expires : 7 #chage -l root Last password change
Formatting Syntax @wiki
2 Hits, Last modified:
show, defaults to 8 | | reverse | display the last items in the feed first | | author | show ite... s more than //refresh period// since the page was last rendered. By default the feed will be sorted by
Python Tips @scripting
2 Hits, Last modified:
13, 5, 7] >>> a.pop() # pop (remove and return) last element 7 >>> a.pop(3) # pop element at position... * mylist.pop(obj=list[-1]) - Removes and returns last object or obj from list * * mylist.remove(o
Running a Glype Proxy in Docker @virtualization
1 Hits, Last modified:
-s /bin/bash tony add apache to tape group (last step was due to a clash with group IDs between th
Disksuite @solaris
1 Hits, Last modified:
ns2 > /tmp/vtoc 2. Edit /tmp/vtoc removing the last two fields on each line (one if directory not sho
TCP/IP Overview @networking
1 Hits, Last modified:
important data * ACK - Acknowledgement of the last packet (all packets have this set except th
Using quotas with Linux @linux
1 Hits, Last modified:
nd hard and soft limits can be set on inodes, the last 2 values, currently both 0 ) To set a quota for a
Useful yum Commands @linux
1 Hits, Last modified:
l delete the old kernel packages leaving just the last 2. Useful if /boot is getting a bit filled up. Y
Sun Cluster 3.0 info @solaris
1 Hits, Last modified:
his can be found using scdidadm -L) Removing the last quorum device: * scconf -c -q installmode (pu
Puppet Basics @linux
1 Hits, Last modified:
Name/IP address Stratum Poll Reach LastRx Last sample =======================================
Checking ASR Status @solaris
1 Hits, Last modified:
Conserver @general
1 Hits, Last modified:
NTP Troubleshooting @general
1 Hits, Last modified:
fsck and controlling when they take place @linux
1 Hits, Last modified:
Showing which CPU a process is using @general
1 Hits, Last modified:
Sybase basics @database
1 Hits, Last modified:
CSS aide memoire @web
1 Hits, Last modified:
Sendmail Basics @general
1 Hits, Last modified:
Finding deleted files still using disk space @linux
1 Hits, Last modified: