るりまサーチ

最速Rubyリファレンスマニュアル検索!
2635件ヒット [1-100件を表示] (0.142秒)
トップページ > クエリ:i[x] > クエリ:l[x] > クエリ:shell[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Shell.install_system_commands(pre = "sys_") -> () (32264.0)

system_path上にある全ての実行可能ファイルをShellに定義する. メソッ ド名は元のファイル名の頭にpreをつけたものとなる.

...Shellに定義する. メソッ
ド名は元のファイル名の頭にpreをつけたものとなる.

@param pre Shellに定義するメソッド名の先頭に付加される文字列を指定します。

使用例: ls -l | head -n 5 のような例。

require 'shell'
Shell
.install_syste...
...m_commands
sh = Shell.new
sh.verbose = false
sh.transact {
(sys_ls("-l") | sys_head("-n 5")).each {|l|
puts l
}
}...

Shell#kill(signal, job) -> Integer (32200.0)

@todo

...@todo

ジョブにシグナルを送ります。

@param signal

@param job...

Shell.alias_command(alias, command, *opts) {...} -> self (29464.0)

コマンドの別名(エイリアス)を作成します。 コマンドが無い場合は、Shell.def_system_command などであらかじめ作成します.

...Shell.def_system_command などであらかじめ作成します.

@param alias エイリアスの名前を文字列で指定します.

@param command コマンド名を文字列で指定します.

@param opts command で指定したコマンドのオプションを指定します.

使用例: ls...
...-la | sort -k 5 のような例。

require 'shell'
Shell
.def_system_command("ls")
Shell
.alias_command("lsla", "ls", "-a", "-l")
Shell
.def_system_command("sort")
sh = Shell.new
sh.transact {
(lsla | sort("-k 5")).each {|l|
puts l
}
}...

Shell.unalias_command(alias) -> () (29460.0)

commandのaliasを削除します.

...aliasを削除します.

@param alias 削除したいエイリアスの名前を文字列で指定します。

@raise NameError alias で指定したコマンドが無い場合に発生します。

使用例: ls -la | sort -k 5 のような例。
require 'shell'
Shell
.def_system_command("ls")...
...Shell.alias_command("lsla", "ls", "-a", "-l")
Shell
.def_system_command("sort")
sh = Shell.new
sh.transact {
(lsla | sort("-k 5")).each {|l|
puts l
}
}
Shell
.unalias_command("lsla")
begin
Shell
.unalias_command("lsla")
rescue NameError => err
puts err
end...

Shell#file?(file) -> bool (29400.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#file?...

絞り込み条件を変える

Shell#readlink(path) -> String (29300.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param path シンボリックリンクを表す文字列を指定します。

@see File.readlink...

Shell#writable?(file) -> bool (29300.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#writable?...

Shell#writable_real?(file) -> bool (29300.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#writable_real?...

Shell#finish_all_jobs (29200.0)

@todo

@todo

Shell#identical? (29200.0)

@todo

@todo

絞り込み条件を変える

Shell#link(old, new) -> 0 (29200.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param old ファイル名を表す文字列を指定します。

@param new ファイル名を表す文字列を指定します。

@see File.link...

Shell#split(pathname) -> [String] (29200.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param pathname パス名を表す文字列を指定します。

@see File.split...

Shell#symlink(old, new) -> 0 (29200.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param old ファイル名を表す文字列を指定します。

@param new シンボリックリンクを表す文字列を指定します。

@see File.symlink...

Shell#symlink?(file) -> bool (29200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#symlink?...

Shell#unlink(path) -> self (29200.0)

path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。

...path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。

@param path 削除したいパスを指定します。

@see File.unlink, Dir.unlink...

絞り込み条件を変える

Shell#world_writable? (29200.0)

@todo

@todo

Shell.debug_output_exclusive_unlock { ... } -> Mutex | nil (29200.0)

@todo

...@todo

@see Mutex#exclusive_unlock...

Shell::ProcessController.wait_to_finish_all_process_controllers -> () (27300.0)

@todo

@todo
<< 1 2 3 ... > >>