Горе выхода с кодом выхода 13

Вы можете отделить его от вашего текущего процесса с помощью nohup и &

if [ $1 = "groovy" ] then cd Works/Groovy/groovy-1.8.6/bin nohup ./groovyConsole & fi

. Это приведет к тому, что команда groovyConsole работает до тех пор, пока вы ее не убьете. Это не закрывает окно терминала, хотя вы покупаете так, как это ...

sh Starter.sh groovy && exit
1
задан 13 April 2017 в 15:23

1 ответ

Это действительно сработало для меня.

В некоторых последних версиях Linux вам нужно установить утилиты ntfs-3g. Попробуйте sudo apt-get install ntfs-3g или загрузите с http://www.tuxera.com/community/ntfs-3g-download/. ntfs-3g включает ntfsprogs.

ntfsprogs is a suite of NTFS utilities based around a shared library. The tools are available for free and come with full source code.

mkntfs: Create an NTFS volume on a partition
ntfscat: Print a file on the standard output
ntfsclone: Efficiently backup/restore a volume at the sector level
ntfscluster: Given a cluster, or sector, find the file
ntfsfix: Forces Windows to check NTFS at boot time
ntfsinfo: Dump a file’s attributes, completely
ntfslabel: Display or set a volume’s label
ntfslib: Move all the common code into a shared library
ntfsls: List directory contents
ntfsresize: Resize an NTFS volume
ntfsundelete: Find files that have been deleted and recover them
ntfswipe: Write zeros over the unused parts of the disk
ntfsdefrag: Defragment files, directories and the MFT
ntfsck: Perform consistancy checks on a volume
nttools: Command-line tools to view/change an offline NTFS volume, e.g. ntfscp, ntfsgrep, ntfstouch, ntfsrm, ntfsrmdir, ntfsmkdir
ntfsdiskedit: Walk the tree of NTFS ondisk structures (and alter them)

Be careful with these utilities, they might damage the filesystem, or your hard disk !

(Источник: http://www.tuxera.com/community/ntfs-3g-download/ )

Установив ntfs-3g (sudo apt-get install ntfs-3g), вы должны выполнить следующие команды в терминале:

sudo ntfsfix /dev/partitionName

После этой команды вы должны ожидать следующий вывод:

~$ sudo ntfsfix /dev/sdb3
Mounting volume... FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 0...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdb3 was processed successfully.

После этого шага вы должны иметь доступ к вашему внешнему диску, как обычно, монтировать или использовать nautilus для доступа к вашим файлам.

35
ответ дан 25 May 2018 в 06:52

Другие вопросы по тегам:

Похожие вопросы: