Author Topic: Execute code from terminal  (Read 1144 times)

0 Members and 1 Guest are viewing this topic.

Offline aim_high

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Execute code from terminal
« on: October 10, 2019, 07:51:09 pm »
Hi guys/girls(if any) I was hoping someone could tell me how i can execute code through the terminal as i can't quite get the info. i need.
Every time i  try to run try to run the code it comes back permission denied. I've tried the 'chmod' command but that doesn't seem to work either.
Really appreciate the help, I've been stuck on this for days. >:( >:(

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18257
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Execute code from terminal
« Reply #1 on: October 10, 2019, 09:56:13 pm »
What command are you trying to run ?

Have you tried prefixing the command with "sudo", as in:
Code: [Select]
sudo mycommand
then entering your password when prompted ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal