• Important: We recently upgraded our forum software - please let us know if you run into any issues.

Search results

  1. samuel tarcin

    ubuntu and raspbian!

    Welcome to the nicest forum in the internet
  2. samuel tarcin

    Opened File Accessor

    There are a lot different ways to a process which is using given file. But fuser command can be used to list users who is using give n files. Fuser /home/john/test.txt will list processes wich opened test.txt file . for more details: https://www.poftut.com/use-fuser-match-user-process/
  3. samuel tarcin

    File Permission of The Sh Files

    Best way is using find command with the -exec option where you can use chmod. $ find /my/bashfiles/ -type d -name *.c -exec chmod 770 {} \; read below: https://www.poftut.com/set-permission-folders-subfolders-linux/
  4. samuel tarcin

    Change your file manager

    Hi,CptCharis Install another filemanager and choose it as standart application for files.
  5. samuel tarcin

    Bash User Input

    Hi, You can use read command in bash where input will be set into a bash variable. Read -p "What is your age" age in this example the user input value will be set into age. Referance: https://www.poftut.com/prompt-input-bash/
  6. samuel tarcin

    SCP Escape path

    You can use thre backslash or \\\ while specifying the path. scp my.cfg [email protected]:/home/samuel/test\\\ 2/ referance :https://www.poftut.com/linux-scp-command-usage-with-examples/
  7. samuel tarcin

    How can I find suid files In Linux?

    You can use following command which can be used to list suid enabled files. $ find / -perm /u=s reference: https://www.poftut.com/linux-find-command-with-examples/
  8. samuel tarcin

    Exclude unwanted string from Linux grep

    There are different ways to exclude and grep given a text file or input stream. I generally prefer the most basic one where use two grep where the first one is for exclude with -v option and pipe to second one where I grep for my string. grep -v 'able' config.txt | grep 'system' For more...
  9. samuel tarcin

    How Can I Define Multiline String In Python

    Well. You can use triple quotes in order to define multi line string like sss='''This is a string''' For more information look https://www.poftut.com/python-string-variable-type/
  10. samuel tarcin

    List Linux KVM VM IP Address ?

    First I want to conguraluce you because using Linux KVM is very technical issue. #!/bin/bash VMNAME=$1 for mac in `sudo virsh domiflist $VMNAME |grep -o -E "([0-9a-f]{2}:){5}([0-9a-f]{2})"` ; do arp -e | grep $mac | grep -o -P "^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}" ; done For more information...
  11. samuel tarcin

    Pip ffi.h Gcc Error ?

    There may be different causes for this issue but installing libffi development library will solve your problem. sudo apt install libffi-dev for Ubuntu. For others look followin link https://www.poftut.com/pip-ffi-h-gcc-error/
  12. samuel tarcin

    How can I add Linux SSH keys ?

    Hi, Well. There are different ways to accomplish that but you can use following command. ssh-copy-id [email protected] Reference https://www.poftut.com/how-to-setup-ssh-keys/