About 580,000 results
Open links in new tab
  1. shell - How can I get the size of a file in a bash script? - Unix ...

    Jul 13, 2011 · How can I get the size of a file in a bash script? How do I assign this to a bash variable so I can use it later?

  2. Finding all large files in the root filesystem

    Try: find / -xdev -type f -size +100M It lists all files that has size bigger than 100M. If you want to know about directory, you can try ncdu. If you aren't running Linux, you may need to use -size …

  3. How to make netcat use an existing HTTP proxy

    Note: I'm using RHEL 5.3 version of netcat that has the following options: $ nc --help nc: invalid option -- - usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port] [-s source_ip_address] [ …

  4. How to move a file without preserving permissions

    The problem is I want to be able to see errors when moving a file, but not see errors with permissions problem. In other words - I care if the file is not fully transmitted, but don't want to …

  5. convert a hex string to binary and send with netcat

    Note disproportion with title. -l parameter for netcat does mean to listen. It does not send given data, but listen to incoming connection and after connection it will send given data. To send …

  6. How do I get the size of a directory on the command line?

    Feb 20, 2015 · 1) Strictly speaking, you can't. Linux has directories, not folders. 2) There's a difference between the size of a directory (which is a special file holding inodes that point to …

  7. bash - Is there a one-liner that allows me to create a directory and ...

    I find myself repeating a lot of: mkdir longtitleproject cd longtitleproject Is there a way of doing it in one line without repeating the directory name? I'm on bash here.

  8. How to force ssh client to use only password auth?

    This does not seem to work anymore, at least not in my case. ssh client was blindly trying unrelated private keys to authenticate to a newly installed server and keep in being rejected …

  9. How to Execute multiple command using nohup

    I need to execute multiple commands using nohup. Each command should be executed after the previous command. I used this command as an example: nohup wget $url ...

  10. What is the local6 (and all other local#) facilities in syslog?

    General info The facilities local0 to local7 are "custom" unused facilities that syslog provides for the user. If a developer create an application and wants to make it log to syslog, or if you want …