Chapter 7 << | Index | >> Chapter 9 |
echo -e $usercolor hello | See - doesn't work correctly. |
echo -e $(bs-ng-echo $usercolor) hello | See - this does work now. |
bs-ng-profiler | export | Export your profile into a plain-text file. | |
import | a saved profile | Import an already saved profile. |
count_files | +h | Count files, folders (and hidden ones). |
-h | Count files, folders (no hidden ones). | |
-d | Count folders (no hidden ones). | |
+d | Count folders (and hidden ones). | |
-f | Count files (no hidden ones). | |
+f | Count files (and hidden ones). |
count_processes | no options. |
show_battery_load | acpi | use acpi for getting batteryload. |
apm | use apm for getting batteryload. |
show_cpu_load | no options. |
show_system_load | 1 | Load average for 1 minute. |
10 | Load average for 10 minutes. | |
15 | Load average for 15 minutes. |
show_mem | --used | Shows used memory in MB. |
--used-percent | Shows used memory in Percent. | |
--free | Shows free memory in MB. | |
--free-percent | Shows free memory in Percent. |
show_size | no options. |
show_space | --used | mountpoint | Shows the used space in MB/GB. |
--used-percent | mountpoint | Shows the used space in Percent. | |
--free | mountpoint | Shows the free space in MB/GB. | |
--free-percent | mountpoint | Shows the free space in Percent. | |
--total | mountpoint | Shows the total space in MB/GB. |
show_tty | no options. |
show_uptime | no options. |
trunc_pwd | no options. |
show_ip | <interface> | show external ip address of <interface>. |
man2pdf <manpage> | convert <manpage> into a pdf. |
system_infos | --cpu | Display CPU Model and Frequency. |
--kernel | Display Kernel Release, Version and Machine. | |
--memory | Display Total, Free and Used RAM. | |
--partitions | Display Major, Minor, Blocks and Node for all recognized paritions. | |
--pci | Display Infos about all PCI Devices (and their kernel-module). | |
--usb | Display Infos about all USB Devices (and their kernel-module). | |
--bios | Display SMBIOS/DMI Informations. | |
--mounts | Display all mounted devices. |
rcgenerator | --bash | Generate standalone bashrc. |
--readline | Generate standalone inputrc. | |
--vim | Generate standalone vimrc. | |
--nano | Generate standalone nanorc. | |
--all | Generate standalone rcs for all four. |
xchown | USER | FILES/FOLDERS |
xmv | FILE FILE FILE FILE DESTINATION |
xcp | FILE FILE FILE FILE DESTINATION |
xdel | pattern |
bin2oct | convert binary to octal. |
bin2dec | convert binary to decimal. |
bin2hex | convert binary to hexadecimal. |
bin2all | convert binary to all three. |
oct2bin | convert octal to binary. |
oct2dec | convert octal to decimal. |
oct2hex | convert octal to hexadecimal |
oct2all | convert octal to all three. |
dec2bin | convert decimal to binary. |
dec2oct | convert decimal to octal. |
dec2hex | convert decimal to hexadecimal. |
dec2all | convert decimal to all three. |
hex2bin | convert hexadecimal to binary. |
hex2oct | convert hexadecimal to octal. |
hex2dec | convert hexadecimal to decimal |
hex2all | convert hexadecimal to all three. |
round | round a decimal. |
radical | get the square-root of a decimal. |
power | get the n-th power of a decimal. |
xunalias | alias |
ll | show detailed infos. |
la | also display hidden files. |
l1 | display one file per line. |
lo | display owner of file. |
lg | display group of file. |
lm | display mode of file. |
git_export | PATH | export the git-tree to PATH. |
git_bzip | create bzip2-compressed tarball from the git-tree. | |
git_xz | create xz-compressed tarball from the git-tree. |
exchange | VARIABLE1 | VARIABLE2 |
random | -l LENGTH | Print a random number with length LENGTH |
-r RANGE | Print a random number between 0 and RANGE |
psgrep | -u | USER | Print all processes belonging to USER |
PROCESSNAME | Print all running processes matching PROCESSNAME |
pskill | PROCESSNAME | psgrep for PROCESSNAME and ask for a process to kill | |
pskill | PROCESSNAME | SIGNAL | psgrep for PROCESSNAME and ask for a process to kill via signal SIGNAL |
top10 |
randompw | LENGTH | ! | generate alphanumeric password with length LENGTH if ! is passed, too, then include special chars |
dbg_view |
dbg_verbosity | 0 | No output on bash startup |
1 | Full output on bash startup |
crypt | FILE | "encrypt" or "decrypt" FILE |
d2u | FILE | Convert FILEs line-endings from dos to unix |
u2d | FILE | Convert FILEs line-endings from unix to dos |
get_gnome | -m | USERNAME | PROJECT | checkout head of PROJECT as user USERNAME from git.gnome.org |
-b | BRANCH | PROJECT | checkout branch BRANCH of PROJECT as anonymous from git.gnome.org | |
PROJECT | checkout head of PROJECT as anonymous from git.gnome.org |
get_xfce | -b | BRANCH | PROJECT | checkout branch BRANCH of PROJECT as anonymous from git.gnome.org |
PROJECT | checkout head of PROJECT as anonymous from git.gnome.org |
git_xz | create xz-compressed tarball from the git-tree. |