519件ヒット
[1-100件を表示]
(0.118秒)
種類
- インスタンスメソッド (444)
- 特異メソッド (75)
ライブラリ
- shell (519)
キーワード
- [] (6)
-
alias
_ command (6) - append (6)
- atime (6)
- basename (6)
- blockdev? (6)
- cat (6)
- cd (6)
- chardev? (6)
- chdir (6)
-
check
_ point (6) - chmod (6)
- chown (6)
- ctime (6)
- cwd (6)
- debug (12)
- debug? (12)
-
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ synchronize (6) -
debug
_ output _ unlock (6) -
def
_ system _ command (6) -
default
_ record _ separator (6) - delete (6)
- dir (6)
-
dir
_ stack (6) - directory? (6)
- dirname (6)
- dirs (6)
- echo (6)
- executable? (6)
-
executable
_ real? (6) - exist? (6)
- exists? (6)
- file? (6)
-
find
_ system _ command (6) -
finish
_ all _ jobs (6) - foreach (6)
- ftype (6)
- getwd (6)
- glob (6)
- grpowned? (6)
- identical? (6)
-
install
_ system _ commands (6) - join (6)
- kill (6)
- link (6)
- lstat (6)
- mkdir (6)
- mtime (6)
- new (6)
- notify (12)
- open (6)
- owned? (6)
- pipe? (6)
- popdir (6)
- pushd (6)
- pushdir (6)
- pwd (6)
- readable? (6)
-
readable
_ real? (6) - readlink (6)
-
record
_ separator (6) - rm (6)
- rmdir (6)
- setgid? (6)
- setuid? (6)
- size (6)
- size? (6)
- socket? (6)
- split (6)
- stat (6)
- sticky? (6)
- symlink (6)
- symlink? (6)
- tee (6)
- test (6)
-
unalias
_ command (6) - unlink (6)
- utime (6)
-
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - zero? (6)
検索結果
先頭5件
-
Shell
# utime(atime , mtime , *filename) -> Integer (6301.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起......算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
# atime(filename) -> Time (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime... -
Shell
# ctime(filename) -> Time (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.ctime... -
Shell
# file?(file) -> bool (6201.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#file?... -
Shell
# join(*item) -> String (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param item 連結したいディレクトリ名やファイル名を文字列で与えます。
@see File.join... -
Shell
# mtime(filename) -> Time (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.mtime... -
Shell
# readlink(path) -> String (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink... -
Shell
. alias _ command(alias , command , *opts) { . . . } -> self (6201.0) -
コマンドの別名(エイリアス)を作成します。 コマンドが無い場合は、Shell.def_system_command などであらかじめ作成します.
...コマンドの別名(エイリアス)を作成します。
コマンドが無い場合は、Shell.def_system_command などであらかじめ作成します.
@param alias エイリアスの名前を文字列で指定します.
@param command コマンド名を文字列で指定します.
@param......ンを指定します.
使用例: 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) -> () (6201.0) -
commandのaliasを削除します.
...commandのaliasを削除します.
@param alias 削除したいエイリアスの名前を文字列で指定します。
@raise NameError alias で指定したコマンドが無い場合に発生します。
使用例: ls -la | sort -k 5 のような例。
require 'shell'
Shell.def_system_co......mmand("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... -
Shell
# check _ point (6101.0) -
@todo
@todo -
Shell
# dir _ stack -> [String] (6101.0) -
@todo
@todo -
Shell
# directory?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
# dirname(filename) -> String (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.dirname... -
Shell
# dirs -> [String] (6101.0) -
@todo
@todo -
Shell
# exist?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#exist? FileTest.#exists?... -
Shell
# exists?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#exist? FileTest.#exists?... -
Shell
# find _ system _ command(command) (6101.0) -
@todo
@todo