Linie

bash mens læst

bash mens læst

Følgende syntaks bruges til bash shell til at læse en fil ved hjælp af mens loop:

  1. mens læse -r linje; gør. ekko "$ line"; Færdig < input.fil.
  2. mens IFS = læse-r linje; gør. ekko $ linje; Færdig < input.fil.
  3. $ mens læst linje; gør. ekko $ linje; Færdig < OS.txt.
  4. #!/ bin / bash. filnavn = 'OS.txt 'n = 1. ...
  5. #!/ bin / bash. filnavn = $ 1. mens læst linje; gør.

Sådan aktiveres Short Open Tag (short_open_tag) i PHP
Sådan aktiveres PHP Short Open Tag (short_open_tag)? Find php. ini. For det første skal du finde din php. ini-fil. ... Apache. Rediger PHP-konfigurati...
Sådan installeres CouchDB på CentOS 7
Sådan installeres Apache CouchDB på CentOS 7 Trin 1 - Installer EPEL-lager. Trin 2 - Installer Apache CouchDB. Trin 3 - Aktivér Apache CouchDB HTTP-se...
Apache-kommandoer, du bør kende
Apache-kommandoer, du bør vide, før du begynder. Start Apache. Stop Apache. Genstart Apache. Genindlæs Apache. Test Apache-konfiguration. Se Apache-st...