Find the answer to your Linux question:
Page 14 of 645 FirstFirst ... 4 10 11 12 13 14 15 16 17 18 24 64 114 514 ... LastLast
Threads 261 to 280 of 12890

Forum: Programming / Scripting

Request help with C/C++, Perl, PHP, Python, Ruby, Bash Scripts, or other Linux programming/scripting related issues

  1. [SOLVED] Problem with quotes in bash script

    I'm making a bash script, which reads variables, and then I use the variables in other commands. I input a text which is store in $text (lets say...

    Started by Sebtee, 02-16-2016
    • Replies: 0
    • Views: 654
    02-16-2016 Go to last post
  2. 'source'ing a script from within a script

    Hello, I am trying to following the directions from Toradex's OpenEmbedded (core) as well as the u-boot and kernel parts all from one script to...

    Started by PeterVE, 02-12-2016
    • Replies: 8
    • Views: 2,218
    02-15-2016 Go to last post
  3. Sum and alternative of regular expressions

    Hi I have a question if it is possible to get command as short as possible. find $PLACE -iname "*.qm" | grep -ioe "_qm\|__qm" | sed...

    Started by marcin82, 02-14-2016
    • Replies: 4
    • Views: 988
    02-15-2016 Go to last post
  4. Question cat /proc/swaps: Calculate kilobytes into megabytes

    I read on a webpage (that I cannot recall) that the output of cat /proc/swaps ( or swapon -s ) is in Kilobytes. Now, I want that info converted...

    Started by Rava, 02-12-2016
    2 Pages
    1 2
    • Replies: 13
    • Views: 2,637
    02-13-2016 Go to last post
  5. /bin/cat: Argument list too long

    Greetings, I have a command that looks like the following: cat /someDir/alotOFFiles/* | grep something | sed something > saveResult.log I am...

    Started by bishop2001, 02-09-2016
    • Replies: 3
    • Views: 3,338
    02-10-2016 Go to last post
  6. Unhappy Vi script

    hi everyone, Im new on scripting and i need some help :) Can anyone please check the script below? I extract the total of sms failured with...

    Started by nuela, 02-09-2016
    • Replies: 1
    • Views: 705
    02-09-2016 Go to last post
  7. realloc

    Hi there! I have seen some examples of realloc. Most of them use two pointers, the first one to be passed as a parameter to realloc an the second...

    Started by jesusitoLinux, 02-04-2016
    • Replies: 3
    • Views: 909
    02-07-2016 Go to last post
  8. Question Adding multiple users and setting vnc passwords?

    I can add users using the following commands without specifying a group # useradd USER1 # passwd USER1 password: ****** Retype password:...

    Started by emacsx, 02-04-2016
    • Replies: 2
    • Views: 748
    02-07-2016 Go to last post
  9. Question How to start vnc server for specific users on specific day?

    I have an issue that there are total of 40 users for which I have to start vnc server, but only first 20 should get access on Monday and only the...

    Started by emacsx, 02-04-2016
    • Replies: 1
    • Views: 563
    02-07-2016 Go to last post
  10. Importing file based of user input.

    import importlib var1 = raw_input("Type the name of the file you want to import: ") importlib.import_module(var1) print x print y print z

    Started by YomenT, 02-04-2016
    • Replies: 6
    • Views: 1,431
    02-06-2016 Go to last post

    Hello all you guys out there. I just want to post this Python script I wrote just as an example for those trying to learn Python, like myself. ...

    Started by YomenT, 01-28-2016
    • Replies: 5
    • Views: 1,262
    02-06-2016 Go to last post
  12. BASH Process Substitution

    Hello all! :) I'm having a little bit of trouble wrapping my head around certain aspects of process substitution in BASH. My question...

    Started by parricc, 02-04-2016
    • Replies: 1
    • Views: 569
    02-04-2016 Go to last post
  13. sed with special character

    Hey I have crontab consult content in file "tmptareas6" without comments using grep. #script crontab -l > tmptareas5 grep "^"...

    Started by kestrelol, 01-29-2016
    • Replies: 3
    • Views: 1,079
    01-29-2016 Go to last post
  14. bash add value array loop

    Greetings i have a loop as follows: declare -a Array var=1 cat ./some_file | while read line do some_command_where_a_value_is_returned...

    Started by bishop2001, 01-27-2016
    • Replies: 2
    • Views: 1,028
    01-27-2016 Go to last post
  15. Convert binary file into ascii with C

    I have run a code written bu other person.Result of the code is binary file m_6.I want to convert it to ascii.I have the C code that generated this...

    Started by MPejic, 01-27-2016
    • Replies: 2
    • Views: 722
    01-27-2016 Go to last post
  16. bash output format

    Greetings i have a file which contains the following Something 01 average max min 123 215 0 Something 02 average max min 1 10 5

    Started by bishop2001, 01-26-2016
    • Replies: 4
    • Views: 1,152
    01-26-2016 Go to last post
  17. min max average awk scientific notation

    Greetings i was able to get the average, max and min values for a list of numbers using the following which works great. awk...

    Started by bishop2001, 01-26-2016
    • Replies: 2
    • Views: 1,304
    01-26-2016 Go to last post
  18. min max average bash

    Greetings im trying to get the average, max and min of a list of numbers although im seeing something strange. For very example i have the following...

    Started by bishop2001, 01-22-2016
    • Replies: 1
    • Views: 1,168
    01-22-2016 Go to last post
  19. CPIO backup - using incorrect syntax corrupts file - any fix for this?

    Hi thanks for looking, **BASH** I have a backup, call it test.cpio I have tried to pull this data back by using cpio -i > ../test.cpio

    Started by graym463, 01-18-2016
    • Replies: 1
    • Views: 586
    01-21-2016 Go to last post
  20. Cannot append data to file using EOF

    Hi guys, hopefully this is a quick one. I believe that the below command should append whatever output is typed after the command is executed...

    Started by SPT_tree, 01-21-2016
    • Replies: 1
    • Views: 512
    01-21-2016 Go to last post

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 150 views
Hot thread with unread posts
More than 15 replies or 150 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts