Mit dem Linux-Bash-Tool ls kann man in diversen Variationen Dateien & Ordner sortieren, hier eine Übersicht der wichtigsten Kommandos:
ls -trl
Dateien nach Zeit der Dateierzeugung anzeigen lassen
ls -turl
Zeigt die Dateien an, auf die zuletzt zugegriffen wurde
ls -c
Dateien nach Datum der letzten Änderung der Satusinformationen anzeigen lassen
ls -f
Deaktiviert die Standardsortierung und Zeigt auch . und .. an
ls -S
Sortiert nach Dateigröße
ls -t
Sortiert nach dem Datum der letzten Änderung
ls -U
Keine Sortierung
ls -u
Sortiert nach Zugriffszeit
ls -X
Sortiert nach Dateierweiterung
Find and remove file (about name)
find . -name "FILE-TO-FIND"-exec rm -rf {} \;
Find and remove file (about file type)
find . -type f -name "FILE-TO-FIND" -exec rm -f {} \;
Find all *.bak files in current directory and removes them with confirmation from user:
$ find . -type f -name "*.bak" -exec rm -i {} \;
Find all core files and remove them:
find / -name core -exec rm -f {} \;
Mein Lieblingseditor unter Linux in der Bash ist ganz klar VI.
Leider kann es vorkommen das dieser z.b. über Putty mit falsch oder schlecht konfigurierter Bash/SSH dieser nicht genutzt werden kann da z.B. die Pfeiltasten nicht benutzbar sind … *sigh* (wer eine Lösung dafür hat, bitte mal in den Kommentaren posten).
What ever, eine gute Alternative ist z.B. Nano, dazu hier die wichtigsten Tastenkürzel:
| Tastenkombination |
Erklärung |
| STRG + G / F1 |
Hilfe öffen |
| STRG + X / F2 |
Nano Schließen/Beenden |
| STRG + O / F3 |
Speichern |
| STRG + W / F6 |
Suchen nach einem String oder Regulären Ausdruck |
| STRG + K / F9 |
Zeile ausschneiden und in die Zwischenablage legen |
| STRG + U / F10 |
Zwischenablage einfügen |
| STRG + C / F11 |
Position des Cursors anzeigen |
| ALT + T |
Alles unter dem Cursor ausschneiden |
| ALT + M |
Maussupport aktivieren oder deaktivieren |
Overview about svn status codes (after typing of svn stat):
Name
svn status — Print the status of working copy files and directories.
Synopsis
svn status [PATH...]
Description
Print the status of working copy files and directories. With no arguments, it prints only locally modified items (no repository access). With --show-updates, add working revision and server out-of-date information. With --verbose, print full revision information on every item.
The first five columns in the output are each one character wide, and each column gives you information about different aspects of each working copy item.
The first column indicates that an item was added, deleted, or otherwise changed.
- ‘ ‘
- No modifications.
- ‘A’
- Item is scheduled for Addition.
- ‘D’
- Item is scheduled for Deletion.
- ‘M’
- Item has been modified.
- ‘C’
- Item is in conflict with updates received from the repository.
- ‘X’
- Item is related to an externals definition.
- ‘I’
- Item is being ignored (e.g. with the svn:ignore property).
- ‘?’
- Item is not under version control.
- ‘!’
- Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted).
- ‘~’
- Item is versioned as a directory, but has been replaced by a file, or vice versa.
The second column tells the status of a file’s or directory’s properties.
- ‘ ‘
- No modifications.
- ‘M’
- Properties for this item have been modified.
- ‘C’
- Properties for this item are in conflict with property updates received from the repository.
The third column is populated only if the working copy directory is locked.
- ‘ ‘
- Item is not locked.
- ‘L’
- Item is locked.
The fourth column is populated only if the item is scheduled for addition-with-history.
- ‘ ‘
- No history scheduled with commit.
- ‘+’
- History scheduled with commit.
The fifth column is populated only if the item is switched relative to its parent (see the section called “Switching a Working Copy”).
- ‘ ‘
- Item is a child of its parent directory.
- ‘S’
- Item is switched.
The out-of-date information appears in the eighth column (only if you pass the --show-updates switch).
- ‘ ‘
- The item in your working copy is up-to-date.
- ‘*’
- A newer revision of the item exists on the server.
The remaining fields are variable width and delimited by spaces. The working revision is the next field if the --show-updates or --verbose switches are passed.
If the --verbose switch is passed, the last committed revision and last committed author are displayed next.
The working copy path is always the final field, so it can include spaces.
Ihr fragt euch warum es die /etc/cron.d/ nicht zu verwechseln mit der /etc/cron.daily/ gibt?
Hier die Erklärung:
/etc/cron.daily/: die dort definierten cron-jobs werden einmal am Tag ausgeführt – analog zu allen regelmässigen crons gibt es auch hourly, monthly, weekly …
/etc/cron.d/: die dort definierten cron-jobs müssen Angaben haben, wann sie ausgeführt werden sollen. Dabei handelt es sich hier mehr um eine Erweiterung der /etc/crontab bzw. /var/spool/cron/tabs/*
Tipp: cron.daily ist nicht exakt dasselbe wie die Zeitangabe @daily in der crontab (bzw. im cron.d)
Um Google Chrome gab es in den letzten Wochen eine große Aufregung. Von “Alles neu”, “Inovativ” über “alles besser” war die Rede … außerdem “ist von Google, muss ja gut sein” …
Ein Hexenwerk ist es nicht, Neu auch nicht unbedingt und auch keine alleinige Neu-Entwicklung von Google.
Chrome OS ist nichts anderes als ein weiteres spziell angepasstes weiteres Linux-Derivat welches ihr Euch so gar selbst erstellen könnt, eine Anleitung gibt es unter folgendem Link:
Anleitung zum Bau des Google Chrome OS
KategorienGoogle, Linux Tags: betriebssystem, chrome selbst erstellen, Google, google betriebssystem, google chrome, google os, google system, Linux, linux anpassen, netbook