egrep -o ^/dev/[[:alnum:]]\{3,4\}`; do
used=`df | grep ^$dev | egrep -o [0-9]\{1,2\}% | egrep -o [0-9]\{1,2\}` # the percent of space used is stored in $used
fs=`df | grep ^$dev | egrep -o /[[:alpha:]/]*$` # the mount point is stored i... h
system=`hostname --fqdn`
for line in `df -aPh | grep "^/" | sort | awk '{print$6"-"$5"-"$4}'`; do
perc
n) nicht kennst, gleicher Befehl, nur beim statt "grep passwd" einfach "grep username".
4) Ggf. VLAN ID heraussuchen
Anbiete... e PPPoE Sessions laufen. In diesem Fall lasse den grep einfach gaz weg, du bekommst die komplette Config... webcm?getpage=../html/login_sid.xml" 2>/dev/null| grep Challenge`
Challenge=`echo $ChallengeXML | awk '{... //<<IP_DER_FRITZBOX>>/cgi-bin/webcm" 2>/dev/null| grep "name=\"sid\"" | head -1 | awk '{match($0,/value=
talled)'
if [ -z "$(ffmpeg -formats 2>/dev/null | grep ' psp mp4 format' | grep E)" ]; then
die 'Tu versión de ffmpeg no está p... ${SRCFILE}$device" 2>/dev/null | \
grep ^ID_LENGTH | \
sed -e 's/^.*=//' -
hsuchen:
<code>
find . -name "*.php" -print -exec grep 'Suchtext' \{\} \;
</code>
Statt \{\} und \; kann... weil nur Ergebnisse:
<code>
find / -type f -exec grep -H 'text-to-find-here' {} \;
</code>
grep alleine:
This will only search through those files which have .c or .h extensions:
<code>
grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e
t their user ID means nothing to me, so I have to grep the passwd file to get their full name. Then I ca... ing off.
Here's a function that can save you from grep ing the /etc/passwd file to see the user's full n... ssed a user ID or many IDs, and the function just grep s the passwd file.
Here's the function:
whois()
... se"
return 1
fi
for loop
do
_USER_NAME=`grep $loop /etc/passwd | awk -F: '{print $4}'`
if [
zt kann man sich mit Hilfe von ''udevinfo'' und ''grep'' die Serienenummer anzeigenlassen.
<code> udevinfo -a -p `udevinfo -q path -n /dev/sdc` | grep ATTRS{serial}</code>
Die Ausgabe sollte etwa so ... > udevinfo -a -p `udevinfo -q path -n /dev/sdc` | grep ATTRS{product}</code>
Jetzt erhält man eine Ausga
ersetzen ist:
<code>
sudo smartctl -A /dev/sdX | egrep "ID|Load|Power"</code>
Die Ausgabe würde dann z... s too late :
<code>$ sudo smartctl -A /dev/sda | grep "^193"
193 Load_Cycle_Count 0x0032 253